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?
COMMUNITY QUESTION
I tried to make a damage whitelist, but it doesn't work. how do i fix this?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
If I were you I'd look into ray casting rather than shooting a part. https://developer.roblox.com/en-us/articles/Raycasting
Alvinblox does a good 10 minute tutorial on how to make a gun using Raycasting. If you prefer to watch a video.
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