How do i turn players into units by a single projectile

someone tell me to do it