Advertisement
joshuajps123

Untitled

Jun 13th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. iz = (game.Players.XTheShowcaserX.Name)
  2.  
  3. is = (game.Players.XTheShowcaserX.Character)
  4.  
  5.  
  6. for i,v in pairs(is:GetChildren()) do
  7. if v.ClassName == 'Hat' then
  8. v:Destroy()
  9. end
  10. end
  11.  
  12. for i,v in pairs(is:GetChildren()) do
  13. if v.ClassName == 'Shirt' then
  14. v:Destroy()
  15. end
  16. end
  17.  
  18. for i,v in pairs(is:GetChildren()) do
  19. if v.ClassName == 'Pants' then
  20. v:Destroy()
  21. end
  22. end
  23.  
  24.  
  25. wait()
  26.  
  27. hat1 = Instance.new('Hat')
  28. hat1.Parent = game.Players[iz].Character
  29.  
  30. handle = Instance.new('Part')
  31. handle.Name = 'Handle'
  32. handle.Parent = hat1
  33.  
  34. handlemesh = Instance.new('SpecialMesh')
  35. handlemesh.MeshType = 'FileMesh'
  36. handlemesh.MeshId = 'http://www.roblox.com/asset/?id=23265118'
  37. handlemesh.TextureId = 'rbxassetid://252864626'
  38. handlemesh.Parent = handle
  39.  
  40. hat2 = Instance.new('Hat')
  41. hat2.Parent = game.Players[iz].Character
  42.  
  43. shirt = Instance.new('Shirt')
  44. shirt.Parent = is
  45. shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=274490358'
  46.  
  47. shirt = Instance.new('Pants')
  48. shirt.Parent = is
  49. shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=274490617'
  50.  
  51. sound = Instance.new('Sound')
  52. sound.SoundId = 'http://www.roblox.com/asset/?id=476296898'
  53. sound.Looped = true
  54. sound.Parent = is.Torso
  55.  
  56. local player = game.Players.LocalPlayer
  57. repeat wait() until player.Character.Humanoid
  58. local humanoid = player.Character.Humanoid
  59. local mouse = player:GetMouse()
  60.  
  61. local anim = Instance.new("Animation")
  62. anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359"
  63.  
  64. mouse.KeyDown:connect(function(key)
  65. if key == "z" then
  66. local anim = Instance.new("Animation")
  67. anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359"
  68. sound:Play()
  69. local playAnim = humanoid:LoadAnimation(anim)
  70. playAnim:Play()
  71. end
  72. end)
  73.  
  74. mouse.KeyDown:connect(function(key)
  75. if key == "x" then
  76. sound:Stop()
  77. local playAnim = humanoid:LoadAnimation(anim)
  78. anim.AnimationId = "http://www.roblox.com/Asset?ID=0"
  79. playAnim:Play()
  80. playAnim:Stop()
  81. print('Dance is stopped')
  82.  
  83. end
  84. end)
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. iz = (game.Players.LocalPlayer.Name)
  92.  
  93. is = (game.Players.LocalPlayer.Character)
  94.  
  95. is.Head.Transparency = 1
  96.  
  97. for i,v in pairs(is:GetChildren()) do
  98. if v.ClassName == 'Hat' then
  99. v:Destroy()
  100. end
  101. end
  102.  
  103. for i,v in pairs(is:GetChildren()) do
  104. if v.ClassName == 'Shirt' then
  105. v:Destroy()
  106. end
  107. end
  108.  
  109. for i,v in pairs(is:GetChildren()) do
  110. if v.ClassName == 'Pants' then
  111. v:Destroy()
  112. end
  113. end
  114.  
  115.  
  116. wait()
  117.  
  118. hat1 = Instance.new('Hat')
  119. hat1.Parent = game.Players[iz].Character
  120.  
  121. handle = Instance.new('Part')
  122. handle.Name = 'Handle'
  123. handle.Parent = hat1
  124.  
  125. handlemesh = Instance.new('SpecialMesh')
  126. handlemesh.MeshType = 'FileMesh'
  127. handlemesh.MeshId = 'http://www.roblox.com/asset/?id=23265118'
  128. handlemesh.TextureId = 'rbxassetid://252864626'
  129. handlemesh.Parent = handle
  130.  
  131. hat2 = Instance.new('Hat')
  132. hat2.Parent = game.Players[iz].Character
  133.  
  134. shirt = Instance.new('Shirt')
  135. shirt.Parent = is
  136. shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=274490358'
  137.  
  138. shirt = Instance.new('Pants')
  139. shirt.Parent = is
  140. shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=274490617'
  141.  
  142. sound = Instance.new('Sound')
  143. sound.SoundId = 'https://www.roblox.com/library/185128704/biggie-smalls-hypnotize'
  144. sound.Looped = true
  145. sound.Parent = is.Torso
  146.  
  147. local player = game.Players.LocalPlayer
  148. repeat wait() until player.Character.Humanoid
  149. local humanoid = player.Character.Humanoid
  150. local mouse = player:GetMouse()
  151.  
  152. local anim = Instance.new("Animation")
  153. anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359"
  154.  
  155.  
  156. local msg = Instance.new("Hint")
  157. msg.Parent = game.Workspace
  158. msg.Text = "Click 'z' to get started."
  159. is.Humanoid.WalkSpeed = 0
  160.  
  161. mouse.KeyDown:connect(function(key)
  162. if key == "z" then
  163. sound:Play()
  164. msg:Destroy()
  165. is.Humanoid.WalkSpeed = 30
  166. is.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=252557606'
  167. end
  168. end)
  169.  
  170. function onTouch(part)
  171. local humanoid = part.Parent:findFirstChild("Humanoid")
  172. sound1 = Instance.new('Sound')
  173. sound1.SoundId = 'http://www.roblox.com/asset/?id=160432334'
  174. sound1.Looped = false
  175. sound1.Parent = is.Torso
  176. sound1:Play()
  177.  
  178. sound2 = Instance.new('Sound')
  179. sound2.SoundId = 'http://www.roblox.com/asset/?id=170040190'
  180. sound2.Looped = false
  181. sound2.Parent = is.Torso
  182. sound2:Play()
  183. if (humanoid ~=nil) then
  184. humanoid.Health = 0
  185. end
  186. end
  187.  
  188. is.Torso.Touched:connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement