Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Scripting my npcs that attack each other all the time?

Hello, I have created some NPCs in my Roblox game but for some reason the keep attacking each other instead of of the players in the game. if any of you can could you help me script my npcs to attack only the players

1 answer

✓ Accepted answer

This is really simple. I'm guessing that the npc's will follow and hurt "Humanoid", correct? Then the humanoid in the npc's should be called something like "NPCHuman" -- Not only would you stop them from hurting one another, but you can then script what happens if a player hits a npc separately from if a player hits a player. Again, you gave us no real information. I simply answered with the information given.

2 comments

0

thanks

0

i hope you don't mind i sent you a friend request on roblox because i need a little more advice

This discussion is preserved as it was. New answers, comments, and votes are closed.