DarkScripter123

Dance Script

Mar 14th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. --Made by robloxmantom and edited by ruhlar 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=157977934"
  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=145999367"
  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=149736881"
  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=163407140"
  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=144635805"
  33. cat1.Volume = 1
  34. cat1.Looped = true
  35. local cat2 = false
  36.  
  37. local dance = Instance.new("Animation", char)
  38. dance.AnimationId = "rbxassetid://147842537"
  39. dance.Name = "dance"
  40.  
  41. local dancee = Instance.new("Animation", char)
  42. dancee.AnimationId = "rbxassetid://159995060"
  43. dancee.Name = "dancee"
  44.  
  45. local danc = Instance.new("Animation", char)
  46. danc.AnimationId = "rbxassetid://144431365"
  47. danc.Name = "danc"
  48.  
  49. local cat = Instance.new("Animation", char)
  50. cat.AnimationId = "rbxassetid://165729986"
  51. cat.Name = "cat"
  52.  
  53. local shuffle = Instance.new("Animation", char)
  54. shuffle.AnimationId = "rbxassetid://159993794"
  55. shuffle.Name = "shuffle"
  56.  
  57. local hop = Instance.new("Animation", char)
  58. hop.AnimationId = "rbxassetid://132931825"
  59. hop.Name = "hop"
  60.  
  61. mouse.KeyDown:connect(function(key) local key=key:lower()
  62. if key=="f" then
  63. local vCharacter = char
  64. local hum = vCharacter:findFirstChild("Humanoid")
  65. blah = hum:LoadAnimation(char.dance)
  66. blah:Play()
  67. end
  68. end)
  69. mouse.KeyUp:connect(function(key) local key=key:lower()
  70. if key=="z" then
  71. blah:Stop()
  72. end
  73. end)
  74. mouse.KeyDown:connect(function(key) local key=key:lower()
  75. if key=="f" then
  76. dances2 = true
  77. dances:Play()
  78. end
  79. end)
  80. mouse.KeyUp:connect(function(key) local key=key:lower()
  81. if key=="f" then
  82. dances2 = false
  83. dances:Stop()
  84. end
  85. end)
  86.  
  87. mouse.KeyDown:connect(function(key) local key=key:lower()
  88. if key=="r" then
  89. char.Animate.Disabled = true
  90. local vCharacter = char
  91. local hum = vCharacter:findFirstChild("Humanoid")
  92. blah2 = hum:LoadAnimation(char.dancee)
  93. blah2:Play()
  94. end
  95. end)
  96. mouse.KeyUp:connect(function(key) local key=key:lower()
  97. if key=="x" then
  98. char.Animate.Disabled = false
  99. blah2:Stop()
  100. end
  101. end)
  102. mouse.KeyDown:connect(function(key) local key=key:lower()
  103. if key=="r" then
  104. dances4 = true
  105. dances3:Play()
  106. end
  107. end)
  108. mouse.KeyUp:connect(function(key) local key=key:lower()
  109. if key=="c" then
  110. dances4 = false
  111. dances3:Stop()
  112. end
  113. end)
  114.  
  115. mouse.KeyDown:connect(function(key) local key=key:lower()
  116. if key=="g" then
  117. local vCharacter = char
  118. local hum = vCharacter:findFirstChild("Humanoid")
  119. blah3 = hum:LoadAnimation(char.danc)
  120. blah3:Play()
  121. end
  122. end)
  123. mouse.KeyUp:connect(function(key) local key=key:lower()
  124. if key=="v" then
  125. blah3:Stop()
  126. end
  127. end)
  128. mouse.KeyDown:connect(function(key) local key=key:lower()
  129. if key=="g" then
  130. dances6 = true
  131. dances5:Play()
  132. end
  133. end)
  134. mouse.KeyUp:connect(function(key) local key=key:lower()
  135. if key=="g" then
  136. dances6 = false
  137. dances5:Stop()
  138. end
  139. end)
  140.  
  141. mouse.KeyDown:connect(function(key) local key=key:lower()
  142. if key=="c" then
  143. local vCharacter = char
  144. local hum = vCharacter:findFirstChild("Humanoid")
  145. blah4 = hum:LoadAnimation(char.cat)
  146. blah4:Play()
  147. end
  148. end)
  149. mouse.KeyUp:connect(function(key) local key=key:lower()
  150. if key=="c" then
  151. blah4:Stop()
  152. end
  153. end)
  154. mouse.KeyDown:connect(function(key) local key=key:lower()
  155. if key=="c" then
  156. cat2 = true
  157. cat1:Play()
  158. end
  159. end)
  160. mouse.KeyUp:connect(function(key) local key=key:lower()
  161. if key=="c" then
  162. cat2 = false
  163. cat1:Stop()
  164. end
  165. end)
  166.  
  167. mouse.KeyDown:connect(function(key) local key=key:lower()
  168. if key=="h" then
  169. local vCharacter = char
  170. local hum = vCharacter:findFirstChild("Humanoid")
  171. shufflee = hum:LoadAnimation(char.shuffle)
  172. shufflee:Play()
  173. wait(13)
  174. hoppin = hum:LoadAnimation(char.hop)
  175. hoppin:Play()
  176. end
  177. end)
  178. mouse.KeyUp:connect(function(key) local key=key:lower()
  179. if key=="h" then
  180. shufflee:Stop()
  181. hoppin:Stop()
  182. end
  183. end)
  184. mouse.KeyUp:connect(function(key) local key=key:lower()
  185. if key=="h" then
  186. hoppin:Stop()
  187. end
  188. end)
  189. mouse.KeyDown:connect(function(key) local key=key:lower()
  190. if key=="h" then
  191. shuffle2 = true
  192. dancc:Play()
  193. end
  194. end)
  195. mouse.KeyUp:connect(function(key) local key=key:lower()
  196. if key=="h" then
  197. danccc = false
  198. dancc:Stop()
  199. end
  200. end)
  201. --Made by robloxmantom and edited by ruhlar don't remove--
Add Comment
Please, Sign In to add comment