Advertisement
iam41566

Dance

Aug 30th, 2014
2,508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. --Made by matteo101man don't remove--
  2. player=game:GetService("Players").LocalPlayer
  3. char=player.Character
  4. mouse=player:GetMouse()
  5.  
  6. dances = Instance.new("Sound", char.head)
  7. dances.SoundId = "http://www.roblox.com/asset/?id=143959455"
  8. dances.Volume = 1
  9. dances.Looped = true
  10. local dances2 = false
  11.  
  12. dancc = Instance.new("Sound", char.head)
  13. dancc.SoundId = "http://www.roblox.com/asset/?id=142435409"
  14. dancc.Volume = 1
  15. dancc.Looped = true
  16. local danccc = false
  17.  
  18.  
  19. dances3 = Instance.new("Sound", char.head)
  20. dances3.SoundId = "http://www.roblox.com/asset/?id=131111368"
  21. dances3.Volume = 1
  22. dances3.Looped = true
  23. local dances4 = false
  24.  
  25. dances5 = Instance.new("Sound", char.head)
  26. dances5.SoundId = "http://www.roblox.com/asset/?id=155319906"
  27. dances5.Volume = 1
  28. dances5.Looped = true
  29. local dances6 = false
  30.  
  31. cat1 = Instance.new("Sound", char.head)
  32. cat1.SoundId = "http://www.roblox.com/asset/?id=151710009"
  33. cat1.Volume = 1
  34. cat1.Looped = true
  35. local cat2 = false
  36.  
  37. local dance = Instance.new("Animation", char)
  38. dance.AnimationId = "rbxassetid://161627787"
  39. dance.Name = "dance"
  40.  
  41. local dancee = Instance.new("Animation", char)
  42. dancee.AnimationId = "rbxassetid://161624225"
  43. dancee.Name = "dancee"
  44.  
  45. local danc = Instance.new("Animation", char)
  46. danc.AnimationId = "rbxassetid://161558750"
  47. danc.Name = "danc"
  48.  
  49. local cat = Instance.new("Animation", char)
  50. cat.AnimationId = "rbxassetid://161002674"
  51. cat.Name = "cat"
  52.  
  53. local shuffle = Instance.new("Animation", char)
  54. shuffle.AnimationId = "rbxassetid://160999126"
  55. shuffle.Name = "shuffle"
  56.  
  57. mouse.KeyDown:connect(function(key) local key=key:lower()
  58. if key=="f" then
  59. local vCharacter = char
  60. local hum = vCharacter:findFirstChild("Humanoid")
  61. blah = hum:LoadAnimation(char.dance)
  62. blah:Play()
  63. end
  64. end)
  65. mouse.KeyUp:connect(function(key) local key=key:lower()
  66. if key=="f" then
  67. blah:Stop()
  68. end
  69. end)
  70. mouse.KeyDown:connect(function(key) local key=key:lower()
  71. if key=="f" then
  72. dances2 = true
  73. dances:Play()
  74. end
  75. end)
  76. mouse.KeyUp:connect(function(key) local key=key:lower()
  77. if key=="f" then
  78. dances2 = false
  79. dances:Stop()
  80. end
  81. end)
  82.  
  83. mouse.KeyDown:connect(function(key) local key=key:lower()
  84. if key=="r" then
  85. char.Animate.Disabled = true
  86. local vCharacter = char
  87. local hum = vCharacter:findFirstChild("Humanoid")
  88. blah2 = hum:LoadAnimation(char.dancee)
  89. blah2:Play()
  90. end
  91. end)
  92. mouse.KeyUp:connect(function(key) local key=key:lower()
  93. if key=="r" then
  94. char.Animate.Disabled = false
  95. blah2:Stop()
  96. end
  97. end)
  98. mouse.KeyDown:connect(function(key) local key=key:lower()
  99. if key=="r" then
  100. dances4 = true
  101. dances3:Play()
  102. end
  103. end)
  104. mouse.KeyUp:connect(function(key) local key=key:lower()
  105. if key=="r" then
  106. dances4 = false
  107. dances3:Stop()
  108. end
  109. end)
  110.  
  111. mouse.KeyDown:connect(function(key) local key=key:lower()
  112. if key=="g" then
  113. local vCharacter = char
  114. local hum = vCharacter:findFirstChild("Humanoid")
  115. blah3 = hum:LoadAnimation(char.danc)
  116. blah3:Play()
  117. end
  118. end)
  119. mouse.KeyUp:connect(function(key) local key=key:lower()
  120. if key=="g" then
  121. blah3:Stop()
  122. end
  123. end)
  124. mouse.KeyDown:connect(function(key) local key=key:lower()
  125. if key=="g" then
  126. dances6 = true
  127. dances5:Play()
  128. end
  129. end)
  130. mouse.KeyUp:connect(function(key) local key=key:lower()
  131. if key=="g" then
  132. dances6 = false
  133. dances5:Stop()
  134. end
  135. end)
  136.  
  137. mouse.KeyDown:connect(function(key) local key=key:lower()
  138. if key=="c" then
  139. local vCharacter = char
  140. local hum = vCharacter:findFirstChild("Humanoid")
  141. blah4 = hum:LoadAnimation(char.cat)
  142. blah4:Play()
  143. end
  144. end)
  145. mouse.KeyUp:connect(function(key) local key=key:lower()
  146. if key=="c" then
  147. blah4:Stop()
  148. end
  149. end)
  150. mouse.KeyDown:connect(function(key) local key=key:lower()
  151. if key=="c" then
  152. cat2 = true
  153. cat1:Play()
  154. end
  155. end)
  156. mouse.KeyUp:connect(function(key) local key=key:lower()
  157. if key=="c" then
  158. cat2 = false
  159. cat1:Stop()
  160. end
  161. end)
  162.  
  163. mouse.KeyDown:connect(function(key) local key=key:lower()
  164. if key=="h" then
  165. local vCharacter = char
  166. local hum = vCharacter:findFirstChild("Humanoid")
  167. shufflee = hum:LoadAnimation(char.shuffle)
  168. shufflee:Play()
  169. wait(13)
  170. hoppin = hum:LoadAnimation(char.hop)
  171. hoppin:Play()
  172. end
  173. end)
  174. mouse.KeyUp:connect(function(key) local key=key:lower()
  175. if key=="h" then
  176. shufflee:Stop()
  177. hoppin:Stop()
  178. end
  179. end)
  180. mouse.KeyUp:connect(function(key) local key=key:lower()
  181. if key=="h" then
  182. hoppin:Stop()
  183. end
  184. end)
  185. mouse.KeyDown:connect(function(key) local key=key:lower()
  186. if key=="h" then
  187. shuffle2 = true
  188. dancc:Play()
  189. end
  190. end)
  191. mouse.KeyUp:connect(function(key) local key=key:lower()
  192. if key=="h" then
  193. danccc = false
  194. dancc:Stop()
  195. end
  196. end)
  197. --Made by matteo101man don't remove--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement