Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Model = script.Parent
- local Humanoid = Model.Humanoid
- local Torso = Model.Torso
- local WalkAnim = Humanoid:LoadAnimation(Humanoid.WalkAnim)
- while true do
- wait(math.random(1,6))
- WalkAnim:Play()
- Humanoid:MoveTo(Torso.Position + Vector3.new(math.random(-16, 16), 0, math.random(-16, 16)))
- Humanoid.MoveToFinished:Connect(function()
- WalkAnim:Stop()
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement