Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - print("i just Learned To Move Some Humanoids So :D")
 - wait(0.9)
 - local PATROL_DELAY = 2
 - local zombie = game.Workspace.Zombie
 - local humanoid = zombie.Humanoid
 - local nextDestinationObject = pointA
 - while wait(PATROL_DELAY) do
 - humanoid:MoveTo(nextDestinationObject.PrimaryPart.Position)
 - humanoid.MoveToFinished:Wait()
 - if nextDestinationObject == pointA then
 - nextDestinationObject = pointB
 - else
 - nextDestinationObject = pointA
 - end
 - end
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment