Advertisement
Sungmingamerpro13

MoveNPC(NPCName, Location)

Feb 14th, 2023
1,172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.18 KB | None | 0 0
  1. function MoveNPC(NPCName, Location)
  2.     local NPC = game.Workspace[NPCName]
  3.     NPC.Humanoid:MoveTo(Location.Position)
  4.     NPC.Humanoid.MoveToFinished:Wait()
  5. end
  6.  
  7. MoveNPC()
  8.  
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement