noslenpo

Untitled

Nov 8th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. iz = (game.Players.LocalPlayer.Name)
  2.  
  3. is = (game.Players.LocalPlayer.Character)
  4.  
  5. for i,v in pairs(is:GetChildren()) do
  6. if v.ClassName == 'Hat' then
  7. v:Destroy()
  8. end
  9. end
  10.  
  11. for i,v in pairs(is:GetChildren()) do
  12. if v.ClassName == 'Shirt' then
  13. v:Destroy()
  14. end
  15. end
  16.  
  17. for i,v in pairs(is:GetChildren()) do
  18. if v.ClassName == 'Pants' then
  19. v:Destroy()
  20. end
  21. end
  22.  
  23.  
  24. wait()
  25.  
  26.  
  27. shirt = Instance.new('Shirt')
  28. shirt.Parent = is
  29. shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=438281698'
  30.  
  31. pants = Instance.new('Pants')
  32. pants.Parent = is
  33. pants.PantsTemplate = 'http://www.roblox.com/asset/?id=360479711'
  34.  
  35. sound = Instance.new('Sound')
  36. sound.SoundId = 'http://www.roblox.com/asset/?id=439559686' --476296898
  37. sound.Looped = true
  38. sound.Parent = is.Torso
  39. sound.Volume = 1
  40.  
  41. taut = Instance.new('Sound')
  42. taut.SoundId = 'http://www.roblox.com/asset/?id=439550923' --476296898
  43. taut.Looped = true
  44. taut.Parent = is.Torso
  45. taut.Volume = 0.5
  46.  
  47. local player = game.Players.LocalPlayer
  48. repeat wait() until player.Character.Humanoid
  49. local humanoid = player.Character.Humanoid
  50. local mouse = player:GetMouse()
  51.  
  52. local anim = Instance.new("Animation")
  53. anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359"
  54.  
  55.  
  56. local msg = Instance.new("Hint")
  57. msg.Parent = game.Workspace
  58. msg.Text = "Click 'z' to get started."
  59. is.Humanoid.WalkSpeed = 0
  60.  
  61. mouse.KeyDown:connect(function(key)
  62. if key == "z" then
  63. sound:Play()
  64. msg:Destroy()
  65. taut:Play()
  66. is.Humanoid.WalkSpeed = 60
  67. is.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=252557606'
  68. end
  69. end)
  70.  
  71. function onTouch(part)
  72. local humanoid = part.Parent:findFirstChild("Humanoid")
  73. sound1 = Instance.new('Sound')
  74. sound1.SoundId = 'http://www.roblox.com/asset/?id=160432334'
  75. sound1.Looped = false
  76. sound1.Parent = is.Torso
  77. sound1:Play()
  78.  
  79. sound2 = Instance.new('Sound')
  80. sound2.SoundId = 'http://www.roblox.com/asset/?id=170040190'
  81. sound2.Looped = false
  82. sound2.Parent = is.Torso
  83. sound2:Play()
  84. if (humanoid ~=nil) then
  85. humanoid.Health = 0
  86. end
  87. end
  88.  
  89. is.Torso.Touched:connect(onTouch)
  90.  
  91. while true do
  92. wait()
  93. game.Workspace[iz].Head.BrickColor = BrickColor.new('Dark orange')
  94. game.Workspace[iz]['Right Leg'].BrickColor = BrickColor.new('Dark orange')
  95. game.Workspace[iz]['Left Leg'].BrickColor = BrickColor.new('Dark orange')
  96. game.Workspace[iz]['Right Arm'].BrickColor = BrickColor.new('Dark orange')
  97. game.Workspace[iz]['Left Arm'].BrickColor = BrickColor.new('Dark orange')
  98. game.Workspace[iz].Torso.BrickColor = BrickColor.new('Dark orange')
  99. game.Workspace[iz].Head.face.Texture = 'rbxassetid://439557611'
  100. end
Add Comment
Please, Sign In to add comment