I have recently been working on a projectile gun for a game. However, I have ran into some complications, which I wish to hopefully solve through this post.
Moving the bullet: Most tutorials say to use something like BodyVelocity, and I found that it was deprecated. I checked Instance.Velocity, and that was also deprecated. What is the current method for moving objects?
How does one handle actual collisions of projectiles and objects? My main issue is that I do not wish for an exploiter to simply change the script in the bullets, if they can even do that. Do I use BasePart.Touched for collisions, or is there a better method?
Lastly, how do I make it seem smooth? I hear that you should use FireAllClients to handle physics, but I cannot understand how that works. Won’t that cause an event that causes damage to fire multiple times because of how many clients there would be?