Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I tried to make a damage whitelist, but it doesn't work. how do i fix this?

Asked by 3 years ago

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?

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

Answer this question