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

Scripting my npcs that attack each other all the time?

Asked by 8 years ago
Edited 8 years ago

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

Log in to vote
0
Answered by 8 years ago

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.

0
thanks savagedragon_slayer 4 — 8y
0
i hope you don't mind i sent you a friend request on roblox because i need a little more advice savagedragon_slayer 4 — 8y
Ad

Answer this question