Advertisement
lol123iloi

Untitled

Apr 10th, 2021
3,850
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. local Model = script.Parent
  2. local Humanoid = Model.Humanoid
  3. local Torso = Model.Torso
  4. local WalkAnim = Humanoid:LoadAnimation(Humanoid.WalkAnim)
  5.  
  6. while true do
  7.     wait(math.random(1,6))
  8.     WalkAnim:Play()
  9.     Humanoid:MoveTo(Torso.Position + Vector3.new(math.random(-16, 16), 0, math.random(-16, 16)))
  10.     Humanoid.MoveToFinished:Connect(function()
  11.         WalkAnim:Stop()
  12.     end)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement