I've been messing around with making projectile shooting things and I noticed that when you use ~~~~~~~~~~~~~~~~~ local targetPos = humanoid.TargetPoint local lookAt = (targetPos - character.Head.Position).unit projectile.Position = character.Head.Position projectile.Velocity = lookat * 300
If the script is in a hopperbin the projectile won't go in the correct direction, but when I use a tool it does. Is there any way to get around this? Also, is there a way to tell what vertical angle that a player is looking at (I don't know a better way to phrase that, sorry)? If you need me to explain the question better just say so. Thanks for any help :)

1 comment
Are you using a LocalScript?