Advertisement
Guest User

VE3n

a guest
Nov 22nd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. local Player = game.Players.LocalPlayerw
  2. local Character = workspace:WaitForChild(Player.Name)
  3. local Humanoid = Character:WaitForChild('Humanoid')
  4. local UserInputServive = game:GetService("UserInputService")
  5.  
  6. local AnimationId = "rbxassetid://4434060701"
  7. local Key = 'LeftShift'
  8.  
  9. UserInputServive.InputBegan:Connect(function(Input, IsTyping)
  10. if IsTyping then return end
  11. local Animation = Instance.new("Animation")
  12. Animation.AnimationId = AnimationId
  13. local LoadAnimation = Humanoid:LoadAnimation(Animation)
  14. LoadAnimation:Play()
  15. wait(1)
  16. Animation:Stop()
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement