Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayerw
- local Character = workspace:WaitForChild(Player.Name)
- local Humanoid = Character:WaitForChild('Humanoid')
- local UserInputServive = game:GetService("UserInputService")
- local AnimationId = "rbxassetid://4434060701"
- local Key = 'LeftShift'
- UserInputServive.InputBegan:Connect(function(Input, IsTyping)
- if IsTyping then return end
- local Animation = Instance.new("Animation")
- Animation.AnimationId = AnimationId
- local LoadAnimation = Humanoid:LoadAnimation(Animation)
- LoadAnimation:Play()
- wait(1)
- Animation:Stop()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement