breezyshadow012

moonman

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