Exemple: I want when a npc kills a player, he returns to the spawn by walking , can anybody help me?

5 comments

0

also how to make the NPC die by falling into the water

0

Scripting helpers is not a request website, please post the code you tried so we can help you

0

I am new to LUA I have no idea how to start this code, do not you understand?

0

Humanoids have a function called MoveTo which takes a Vector3. I would start there.

0

i wouldn't know where to start either.