View difference between Paste ID: c7e0aAet and TTUm26ha
SHOW: | | - or go back to the newest paste.
1
player=game:GetService("Players").LocalPlayer
2
char=player.Character
3
mouse=player:GetMouse()
4
dances = Instance.new("Sound", char.head)
5
dances.SoundId = "http://www.roblox.com/asset/?id=131121468"
6
dances.Volume = 1
7
dances.Looped = true
8
local dances2 = false
9
dancc = Instance.new("Sound", char.head)
10
dancc.SoundId = "http://www.roblox.com/asset/?id=167082542"
11
dancc.Volume = 1
12
dancc.Looped = true
13
local danccc = false
14
15
dances3 = Instance.new("Sound", char.head)
16
dances3.SoundId = "http://www.roblox.com/asset/?id=145279664"
17
dances3.Volume = 1
18
dances3.Looped = true
19
local dances4 = false
20
dances5 = Instance.new("Sound", char.head)
21
dances5.SoundId = "http://www.roblox.com/asset/?id=149281165"
22
dances5.Volume = 1
23
dances5.Looped = true
24
local dances6 = false
25
cat1 = Instance.new("Sound", char.head)
26
cat1.SoundId = "http://www.roblox.com/asset/?id=154664102"
27
cat1.Volume = 1
28
cat1.Looped = true
29
local cat2 = false
30
local dance = Instance.new("Animation", char)
31
dance.AnimationId = "rbxassetid://168156427"
32
dance.Name = "dance"
33
local dancee = Instance.new("Animation", char)
34
dancee.AnimationId = "rbxassetid://149359445"
35
dancee.Name = "dancee"
36
local danc = Instance.new("Animation", char)
37
danc.AnimationId = "rbxassetid://144431365"
38
danc.Name = "danc"
39
local cat = Instance.new("Animation", char)
40
cat.AnimationId = "rbxassetid://165729986"
41
cat.Name = "cat"
42
local shuffle = Instance.new("Animation", char)
43
shuffle.AnimationId = "rbxassetid://168156427"
44
shuffle.Name = "shuffle"
45
local hop = Instance.new("Animation", char)
46
hop.AnimationId = "rbxassetid://149359445"
47
hop.Name = "hop"
48
mouse.KeyDown:connect(function(key) local key=key:lower()
49
if key=="f" then
50
local vCharacter = char
51
local hum = vCharacter:findFirstChild("Humanoid")
52
blah = hum:LoadAnimation(char.dance)
53
blah:Play()
54
end
55
end)
56
mouse.KeyUp:connect(function(key) local key=key:lower()
57
if key=="f" then
58
blah:Stop()
59
end
60
end)
61
mouse.KeyDown:connect(function(key) local key=key:lower()
62
if key=="f" then
63
dances2 = true
64
dances:Play()
65
end
66
end)
67
mouse.KeyUp:connect(function(key) local key=key:lower()
68
if key=="f" then
69
dances2 = false
70
dances:Stop()
71
end
72
end)
73
mouse.KeyDown:connect(function(key) local key=key:lower()
74
if key=="r" then
75
char.Animate.Disabled = true
76
local vCharacter = char
77
local hum = vCharacter:findFirstChild("Humanoid")
78
blah2 = hum:LoadAnimation(char.dancee)
79
blah2:Play()
80
end
81
end)
82
mouse.KeyUp:connect(function(key) local key=key:lower()
83
if key=="r" then
84
char.Animate.Disabled = false
85
blah2:Stop()
86
end
87
end)
88
mouse.KeyDown:connect(function(key) local key=key:lower()
89
if key=="r" then
90
dances4 = true
91
dances3:Play()
92
end
93
end)
94
mouse.KeyUp:connect(function(key) local key=key:lower()
95
if key=="r" then
96
dances4 = false
97
dances3:Stop()
98
end
99
end)
100
mouse.KeyDown:connect(function(key) local key=key:lower()
101
if key=="g" then
102
local vCharacter = char
103
local hum = vCharacter:findFirstChild("Humanoid")
104
blah3 = hum:LoadAnimation(char.danc)
105
blah3:Play()
106
end
107
end)
108
mouse.KeyUp:connect(function(key) local key=key:lower()
109
if key=="g" then
110
blah3:Stop()
111
end
112
end)
113
mouse.KeyDown:connect(function(key) local key=key:lower()
114
if key=="g" then
115
dances6 = true
116
dances5:Play()
117
end
118
end)
119
mouse.KeyUp:connect(function(key) local key=key:lower()
120
if key=="g" then
121
dances6 = false
122
dances5:Stop()
123
end
124
end)
125
mouse.KeyDown:connect(function(key) local key=key:lower()
126
if key=="c" then
127
local vCharacter = char
128
local hum = vCharacter:findFirstChild("Humanoid")
129
blah4 = hum:LoadAnimation(char.cat)
130
blah4:Play()
131
end
132
end)
133
mouse.KeyUp:connect(function(key) local key=key:lower()
134
if key=="c" then
135
blah4:Stop()
136
end
137
end)
138
mouse.KeyDown:connect(function(key) local key=key:lower()
139
if key=="c" then
140
cat2 = true
141
cat1:Play()
142
end
143
end)
144
mouse.KeyUp:connect(function(key) local key=key:lower()
145
if key=="c" then
146
cat2 = false
147
cat1:Stop()
148
end
149
end)
150
mouse.KeyDown:connect(function(key) local key=key:lower()
151
if key=="h" then
152
local vCharacter = char
153
local hum = vCharacter:findFirstChild("Humanoid")
154
shufflee = hum:LoadAnimation(char.shuffle)
155
shufflee:Play()
156
wait(13)
157
hoppin = hum:LoadAnimation(char.hop)
158
hoppin:Play()
159
end
160
end)
161
mouse.KeyUp:connect(function(key) local key=key:lower()
162
if key=="h" then
163
shufflee:Stop()
164
hoppin:Stop()
165
end
166
end)
167
mouse.KeyUp:connect(function(key) local key=key:lower()
168
if key=="h" then
169
hoppin:Stop()
170
end
171
end)
172
mouse.KeyDown:connect(function(key) local key=key:lower()
173
if key=="h" then
174
shuffle2 = true
175
dancc:Play()
176
end
177
end)
178
mouse.KeyUp:connect(function(key) local key=key:lower()
179
if key=="h" then
180
danccc = false
181
dancc:Stop()
182
end
183
end)