George148

Testy

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