Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 == "w" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "s" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "a" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "d" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "Spacebar" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768041997"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- mouse.KeyDown:connect(function(key)
- if not enabled then return end
- enabled = false
- if key == "Shift" then
- if once == true then
- once = false
- local anim = Instance.new("Animation")
- anim.AnimationId = "http://www.roblox.com/asset/?id=2768041997"
- local PlayAnim = humanoid:LoadAnimation(anim)
- PlayAnim:Play()
- wait(1)
- ----[Speed and Jump Power]----
- game.Workspace.filipaogamer345.Humanoid.WalkSpeed = 60
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement