I'm making a game, you are supposed to kill the zombies and roleplay and stuff like that.. I don't know how to make a gun.. So i added a random gun in my game. Is there a way i can make the gun kill npc's and not the players?
You need to make a way to make a diffrince between the npc's and the zombies. You can for example rename the Humanoid to something like Zombie. Then when the bullet hits make it check if the name is just "Humanoid" or "Zombie". You can do this using FindFirstChild