Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("1 Key and 2 Animations made by filipaogamer345")
- local player = game.Players.LocalPlayer
- repeat wait() until player.Character.Humanoid
- local humanoid = player.Character.Humanoid
- local mouse = player:GetMouse()
- local once = true
- local enabled = true
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "q" then --- Change the Key you want
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2729062050" --- Change the animation ID Here
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- else
- once = true
- local anim2 = Instance.new("Animation")
- anim2.AnimationId = "http://www.roblox.com/asset/?id=2729062050" --- Change the animation ID Here
- local playAnim = humanoid:LoadAnimation(anim2)
- playAnim:Play()
- wait(1)
- end
- end
- wait(0.1)
- enabled = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement