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

Way to make enemy NPC's go back to spawn point when losing agro?

Asked by 6 years ago

I think the title says it all, but I am creating a game where there is rooms, with tele's on each end (Can only move left/right). When you grab agro from the enemy's, but then exit through a tele, all of the enemy's that were agro'd are now waiting on the tele for you to come back through.

I am trying to get them to either go back to where they spawn, but i don't believe they save their spawn point anywhere, or randomly move to somewhere in the middle of the map after losing agro.

0
Save the spawn-point of them, then when the distance of the player is over 50 studs make them lose agro gmatchOnRoblox 103 — 6y
0
But is there a way to do this without having to go through each NPC XxpooponmyfacexX 9 — 6y

Answer this question