Ok so i tried to make a gun that shoots a part and does damage. I made a script that makes the part damage only other players, not the one who shot it, but it doesn't work and no one gets damaged. How can i fix this?

3 comments

0

If I were you I'd look into ray casting rather than shooting a part. https://developer.roblox.com/en-us/articles/Raycasting

0

Alvinblox does a good 10 minute tutorial on how to make a gun using Raycasting. If you prefer to watch a video.

0

Could you please tell me how to make a damage whitelist for the part? Im making this game just for fun, i dont really care about making a good gun