Advertisement
Chxp

Dance2

Jul 29th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 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. Sm = "Smooth"
  6. Smp = "SmoothPlastic"
  7. head = char.Head
  8.  
  9. dances = Instance.new("Sound", char.head)
  10. dances.SoundId = "http://www.roblox.com/asset/?id=146390426"
  11. dances.Volume = 1
  12. dances.Looped = true
  13. local dances2 = false
  14.  
  15. dancc = Instance.new("Sound", char.head)
  16. dancc.SoundId = "http://www.roblox.com/asset/?id=155058696"
  17. dancc.Volume = 1
  18. dancc.Looped = true
  19. local danccc = false
  20.  
  21.  
  22. dances3 = Instance.new("Sound", char.head)
  23. dances3.SoundId = "http://www.roblox.com/asset/?id=131522815"
  24. dances3.Volume = 1
  25. dances3.Looped = true
  26. local dances4 = false
  27.  
  28. dances5 = Instance.new("Sound", char.head)
  29. dances5.SoundId = "http://www.roblox.com/asset/?id=142494304"
  30. dances5.Volume = 1
  31. dances5.Looped = true
  32. local dances6 = false
  33.  
  34. cat1 = Instance.new("Sound", char.head)
  35. cat1.SoundId = "http://www.roblox.com/asset/?id=156435576"
  36. cat1.Volume = 1
  37. cat1.Looped = true
  38. local cat2 = false
  39.  
  40. local dance = Instance.new("Animation", char)
  41. dance.AnimationId = "http://www.roblox.com/Asset?ID=33796059"
  42. dance.Name = "dance"
  43.  
  44. local dancee = Instance.new("Animation", char)
  45. dancee.AnimationId = "rbxassetid://162501790"
  46. dancee.Name = "dancee"
  47.  
  48. local danc = Instance.new("Animation", char)
  49. danc.AnimationId = "http://www.roblox.com/Asset?ID=148175580"
  50. danc.Name = "danc"
  51.  
  52. local cat = Instance.new("Animation", char)
  53. cat.AnimationId = "rbxassetid://147527133"
  54. cat.Name = "cat"
  55.  
  56. local shuffle = Instance.new("Animation", char)
  57. shuffle.AnimationId = "rbxassetid://158584888"
  58. shuffle.Name = "shuffle"
  59.  
  60. local hop = Instance.new("Animation", char)
  61. hop.AnimationId = "rbxassetid://158583146"
  62. hop.Name = "hop"
  63.  
  64. mouse.KeyDown:connect(function(key) local key=key:lower()
  65. if key=="f" then
  66. local vCharacter = char
  67. local hum = vCharacter:findFirstChild("Humanoid")
  68. blah = hum:LoadAnimation(char.dance)
  69. blah:Play()
  70. local hat = Instance.new("Part",head)
  71. hat.Size = Vector3.new(2,0.8,2)
  72. hat.Locked = true
  73. hat.Material = Smp
  74. hat.TopSurface = Sm
  75. hat.BottomSurface = Sm
  76. hat.Name = "Fedora"
  77. hat.Position = Vector3.new(0,-.5,0)
  78. local hatmesh = Instance.new("SpecialMesh",hat)
  79. hatmesh.MeshType="FileMesh"
  80. hatmesh.MeshId = "http://www.roblox.com/asset/?id=13640868"
  81. hatmesh.TextureId = "http://www.roblox.com/asset/?id=23738844"
  82. hatmesh.Scale = Vector3.new(1,1,1)
  83. local hatweld = Instance.new("Weld",hat)
  84. hatweld.Name = "Hatweld"
  85. hatweld.Part0 = hat
  86. hatweld.Part1 = head
  87. hatweld.C0 = CFrame.new(0,-.7,0)
  88. end
  89. end)
  90. mouse.KeyUp:connect(function(key) local key=key:lower()
  91. if key=="f" then
  92. blah:Stop()
  93. char.Head.Fedora:Remove()
  94. end
  95. end)
  96. mouse.KeyDown:connect(function(key) local key=key:lower()
  97. if key=="f" then
  98. dances2 = true
  99. dances:Play()
  100. end
  101. end)
  102. mouse.KeyUp:connect(function(key) local key=key:lower()
  103. if key=="f" then
  104. dances2 = false
  105. dances:Stop()
  106. end
  107. end)
  108.  
  109. mouse.KeyDown:connect(function(key) local key=key:lower()
  110. if key=="r" then
  111. char.Animate.Disabled = true
  112. local vCharacter = char
  113. local hum = vCharacter:findFirstChild("Humanoid")
  114. blah2 = hum:LoadAnimation(char.dancee)
  115. blah2:Play()
  116. local hat = Instance.new("Part",head)
  117. hat.Size = Vector3.new(2,1,1)
  118. hat.Locked = true
  119. hat.Material = Smp
  120. hat.TopSurface = Sm
  121. hat.BottomSurface = Sm
  122. hat.Name = "Rhat"
  123. hat.Position = Vector3.new(0,-.5,0)
  124. local hatmesh = Instance.new("SpecialMesh",hat)
  125. hatmesh.MeshType="FileMesh"
  126. hatmesh.MeshId = "http://www.roblox.com/asset/?id=10517316"
  127. hatmesh.TextureId = "http://www.roblox.com/asset/?id=10642323"
  128. hatmesh.Scale = Vector3.new(1,1,1)
  129. local hatweld = Instance.new("Weld",hat)
  130. hatweld.Name = "Hatweld"
  131. hatweld.Part0 = hat
  132. hatweld.Part1 = head
  133. hatweld.C0 = CFrame.new(0,-.5,0)
  134. end
  135. end)
  136. mouse.KeyUp:connect(function(key) local key=key:lower()
  137. if key=="r" then
  138. char.Animate.Disabled = false
  139. blah2:Stop()
  140. char.Head.Rhat:Remove()
  141. end
  142. end)
  143. mouse.KeyDown:connect(function(key) local key=key:lower()
  144. if key=="r" then
  145. dances4 = true
  146. dances3:Play()
  147. end
  148. end)
  149. mouse.KeyUp:connect(function(key) local key=key:lower()
  150. if key=="r" then
  151. dances4 = false
  152. dances3:Stop()
  153. end
  154. end)
  155.  
  156. mouse.KeyDown:connect(function(key) local key=key:lower()
  157. if key=="g" then
  158. local vCharacter = char
  159. local hum = vCharacter:findFirstChild("Humanoid")
  160. blah3 = hum:LoadAnimation(char.danc)
  161. blah3:Play()
  162. end
  163. end)
  164. mouse.KeyUp:connect(function(key) local key=key:lower()
  165. if key=="g" then
  166. blah3:Stop()
  167. end
  168. end)
  169. mouse.KeyDown:connect(function(key) local key=key:lower()
  170. if key=="g" then
  171. dances6 = true
  172. dances5:Play()
  173. end
  174. end)
  175. mouse.KeyUp:connect(function(key) local key=key:lower()
  176. if key=="g" then
  177. dances6 = false
  178. dances5:Stop()
  179. end
  180. end)
  181.  
  182. mouse.KeyDown:connect(function(key) local key=key:lower()
  183. if key=="c" then
  184. local vCharacter = char
  185. local hum = vCharacter:findFirstChild("Humanoid")
  186. blah4 = hum:LoadAnimation(char.cat)
  187. blah4:Play()
  188. end
  189. end)
  190. mouse.KeyUp:connect(function(key) local key=key:lower()
  191. if key=="c" then
  192. blah4:Stop()
  193. end
  194. end)
  195. mouse.KeyDown:connect(function(key) local key=key:lower()
  196. if key=="c" then
  197. cat2 = true
  198. cat1:Play()
  199. end
  200. end)
  201. mouse.KeyUp:connect(function(key) local key=key:lower()
  202. if key=="c" then
  203. cat2 = false
  204. cat1:Stop()
  205. end
  206. end)
  207.  
  208. mouse.KeyDown:connect(function(key) local key=key:lower()
  209. if key=="h" then
  210. local vCharacter = char
  211. local hum = vCharacter:findFirstChild("Humanoid")
  212. shufflee = hum:LoadAnimation(char.shuffle)
  213. shufflee:Play()
  214. wait(13)
  215. hoppin = hum:LoadAnimation(char.hop)
  216. hoppin:Play()
  217. end
  218. end)
  219. mouse.KeyUp:connect(function(key) local key=key:lower()
  220. if key=="h" then
  221. shufflee:Stop()
  222. hoppin:Stop()
  223. end
  224. end)
  225. mouse.KeyUp:connect(function(key) local key=key:lower()
  226. if key=="h" then
  227. hoppin:Stop()
  228. end
  229. end)
  230. mouse.KeyDown:connect(function(key) local key=key:lower()
  231. if key=="h" then
  232. shuffle2 = true
  233. dancc:Play()
  234. end
  235. end)
  236. mouse.KeyUp:connect(function(key) local key=key:lower()
  237. if key=="h" then
  238. danccc = false
  239. dancc:Stop()
  240. end
  241. end)
  242. --Made by matteo101man don't remove--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement