View difference between Paste ID: gHBp9KNc and uqvciQHr
SHOW: | | - or go back to the newest paste.
1
local player = game.Players.LocalPlayer
2
repeat wait() until player.Character.Humanoid
3
local humanoid = player.Character.Humanoid
4
local mouse = player:GetMouse()
5
local once = true
6
local enabled = true
7
8
9
mouse.KeyDown:connect(function(key)
10
	if not enabled then return end
11
	enabled = false
12-
	if key == "q" then
12+
	if key == "w" then
13
		if once == true then
14
			once = false
15
			local anim = Instance.new("Animation")
16-
            anim.AnimationId = "http://www.roblox.com/asset/?id=(animation's Id)"
16+
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
17
			local PlayAnim = humanoid:LoadAnimation(anim)
18
			PlayAnim:Play()
19
			wait(1)
20-
		else
20+
21-
			once = true
21+
22-
			local anim2 = Instance.new("Animation")
22+
23-
            anim2.AnimationId = "http://www.roblox.com/asset/?id=(animation's Id)"
23+
24-
			local playAnim = humanoid:LoadAnimation(anim2)
24+
	if key == "s" then
25-
			playAnim:Play()
25+
26
			once = false
27-
		end
27+
28-
	end
28+
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
29-
	wait(0.1)
29+
30-
	enabled = true
30+
31-
end)
31+
32
33
mouse.KeyDown:connect(function(key)
34
	if not enabled then return end
35
	enabled = false
36
	if key == "a" then
37
		if once == true then
38
			once = false
39
			local anim = Instance.new("Animation")
40
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
41
			local PlayAnim = humanoid:LoadAnimation(anim)
42
			PlayAnim:Play()
43
			wait(1)
44
45
mouse.KeyDown:connect(function(key)
46
	if not enabled then return end
47
	enabled = false
48
	if key == "d" then
49
		if once == true then
50
			once = false
51
			local anim = Instance.new("Animation")
52
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768067010"
53
			local PlayAnim = humanoid:LoadAnimation(anim)
54
			PlayAnim:Play()
55
			wait(1)
56
57
mouse.KeyDown:connect(function(key)
58
	if not enabled then return end
59
	enabled = false
60
	if key == "Spacebar" then
61
		if once == true then
62
			once = false
63
			local anim = Instance.new("Animation")
64
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768041997"
65
			local PlayAnim = humanoid:LoadAnimation(anim)
66
			PlayAnim:Play()
67
			wait(1)
68
69
mouse.KeyDown:connect(function(key)
70
	if not enabled then return end
71
	enabled = false
72
	if key == "Shift" then
73
		if once == true then
74
			once = false
75
			local anim = Instance.new("Animation")
76
            anim.AnimationId = "http://www.roblox.com/asset/?id=2768041997"
77
			local PlayAnim = humanoid:LoadAnimation(anim)
78
			PlayAnim:Play()
79
			wait(1)
80
----[Speed and Jump Power]----
81
game.Workspace.filipaogamer345.Humanoid.WalkSpeed = 60
82
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100