Advertisement
Guest User

Roblox Create Animation

a guest
Nov 12th, 2019
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. script.Parent.Equipped:Connect(function(Mouse)
  2. Mouse.Button1Down:Connect(function()
  3. animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Animation)
  4. animation:Play()
  5. end)
  6. end)
  7.  
  8. script.Parent.Unequipped:Connect(function()
  9. animation:Play()
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement