Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local part = game.Workspace.Part
- local animation = game.Workspace.Animation
- animation.AnimationId = "http://roblox.com/Asset?ID=467504759"
- local Pressed = false
- part.Touched:Connect(function()
- if not Pressed then
- Pressed = true
- local animationTrack = game.Workspace.NPC.Humanoid:LoadAnimation(animation)
- animationTrack:Play()
- wait(4)
- Pressed = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement