Advertisement
mathmasterphil

Suit

Mar 6th, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.04 KB | None | 0 0
  1. Character = game.Players.LocalPlayer.Character
  2. Player = game.Players.LocalPlayer
  3. Mouse = Player:GetMouse()
  4.  
  5. ParentScript = Instance.new("Script",Workspace)
  6. ParentScript.Name = "WEAXSCRIPTPARENT"
  7.  
  8. Character.Parent = Instance.new("Script",ParentScript)
  9.  
  10. local Exceptions = {"Pinata", "WhiteTopHat", "SunSamurai", "Snowbird", "Robling"} -- These are the names of some of the hats that work with the player model!
  11.  
  12.  
  13. for i,v in pairs(Character:GetChildren()) do
  14.     if v:IsA("Hat") then
  15.         local remov = true
  16.         for i, V in pairs(Exceptions) do
  17.            if v.Name == V then
  18.                remov = false
  19.                break
  20.             end
  21.         end
  22.         if remov then
  23.             v:Remove()
  24.         end
  25.     end
  26.     if v:IsA("Part") then
  27.         v.Transparency = 1
  28.     end
  29. end
  30.  
  31.  
  32.  
  33. for i,v in pairs(Character.Head:GetChildren()) do
  34.     if v:IsA("Decal") then
  35.         v:Remove()
  36.     end
  37. end
  38.  
  39. local colors = {"Institutional white","Medium stone grey"}
  40. local Ecolors = {"Black", "Really red", "Dark green", "Light blue"}
  41.  
  42. BodyColor = BrickColor.new(colors[math.random(1,#colors)])
  43. EyeColor = BrickColor.new(Ecolors[math.random(1,#Ecolors)])
  44.  
  45. local BodyParts = {"Right Arm2","Left Arm2","Right Leg2","Left Leg2","Eye1","Eye2","HealCore","HealCore2","Head2","Torso2"}
  46.  
  47. if Character:FindFirstChild("Head2")~=nil then
  48.     for i,b in pairs(Character:GetChildren()) do
  49.         BodyP1 = true
  50.         for i,B in pairs(BodyParts) do
  51.             if b.Name == B then
  52.                 BodyP1=false
  53.                 break
  54.             end
  55.         end
  56.         if BodyP1 then
  57.             b:Remove()
  58.         end
  59.     end
  60. end
  61.  
  62. local Head = Instance.new("Part",Character)
  63.  
  64. Head.FormFactor = "Custom"
  65. Head.Size = Vector3.new(1.4,1.2,1.25)
  66. Head.Locked = true
  67. Head.Name = "Head2"
  68. Head.BrickColor = BodyColor
  69. Head.TopSurface = "Smooth"
  70. Head.BottomSurface = "Smooth"
  71. Head.Material = "SmoothPlastic"
  72.  
  73. local HeadWeld = Instance.new("Weld",Head)
  74. HeadWeld.Part0=Head
  75. HeadWeld.Part1=Character.Head
  76. HeadWeld.C0=CFrame.new(0,0,0)
  77.  
  78. local Eye1=Instance.new("Part",Character)
  79. Eye1.FormFactor = "Custom"
  80. Eye1.Size = Vector3.new(0.1,0.1,0.1)
  81. Eye1.TopSurface = "Smooth"
  82. Eye1.BrickColor = EyeColor
  83. Eye1.BottomSurface = "Smooth"
  84. Eye1.Material = "SmoothPlastic"
  85. Eye1.Name = "Eye1"
  86.  
  87. local Eye1Weld = Instance.new("Weld",Eye1)
  88. Eye1Weld.Part0=Eye1
  89. Eye1Weld.Part1=Head
  90. Eye1Weld.C0=CFrame.new(0.25,-0.2,0.53)
  91.  
  92. local Eye2=Instance.new("Part",Character)
  93. Eye2.FormFactor = "Custom"
  94. Eye2.Size = Vector3.new(0.1,0.1,0.1)
  95. Eye2.TopSurface = "Smooth"
  96. Eye2.BrickColor = EyeColor
  97. Eye2.BottomSurface = "Smooth"
  98. Eye2.Material = "SmoothPlastic"
  99. Eye2.Name = "Eye2"
  100.  
  101. local Eye2Weld = Instance.new("Weld",Eye2)
  102. Eye2Weld.Part0=Eye2
  103. Eye2Weld.Part1=Head
  104. Eye2Weld.C0=CFrame.new(-0.25,-0.2,0.53)
  105.  
  106.  
  107. local Torso = Instance.new("Part",Character)
  108. Torso.FormFactor = "Custom"
  109. Torso.Size = Character.Torso.Size + Vector3.new(0,0.01,0.1)
  110. Torso.TopSurface = "Smooth"
  111. Torso.BrickColor = BodyColor
  112. Torso.BottomSurface = "Smooth"
  113. Torso.Material = "SmoothPlastic"
  114. Torso.Name = "Torso2"
  115. --Torso.BrickColor = BrickColor.new("Black")
  116.  
  117. local TorsoWeld = Instance.new("Weld",Torso)
  118. TorsoWeld.Part0=Torso
  119. TorsoWeld.Part1=Character.Torso
  120. TorsoWeld.C0 = CFrame.new(0,0,0)
  121.  
  122.  
  123. local Rarm = Instance.new("Part",Character)
  124. Rarm.FormFactor = "Custom"
  125. Rarm.Size = Character["Right Arm"].Size+Vector3.new(0.05,0.05,0.1)
  126. Rarm.TopSurface = "Smooth"
  127. Rarm.BrickColor = BodyColor
  128. Rarm.BottomSurface = "Smooth"
  129. Rarm.Name = "Right Arm2"
  130. Rarm.Material = "SmoothPlastic"
  131. Rarm.CanCollide = false
  132.  
  133. local RarmWeld = Instance.new("Weld",Rarm)
  134. RarmWeld.Part0=Rarm
  135. RarmWeld.Part1=Character["Right Arm"]
  136. RarmWeld.C0=CFrame.new(0,0,0)
  137.  
  138.  
  139.  
  140. local Larm = Instance.new("Part",Character)
  141. Larm.FormFactor = "Custom"
  142. Larm.Size = Character["Left Arm"].Size+Vector3.new(0.05,0.05,0.1)
  143. Larm.TopSurface = "Smooth"
  144. Larm.BrickColor = BodyColor
  145. Larm.BottomSurface = "Smooth"
  146. Larm.Name = "Left Arm2"
  147. Larm.Material = "SmoothPlastic"
  148. Larm.CanCollide = false
  149.  
  150. local LarmWeld = Instance.new("Weld",Larm)
  151. LarmWeld.Part0=Larm
  152. LarmWeld.Part1=Character["Left Arm"]
  153. LarmWeld.C0=CFrame.new(0,0,0)
  154.  
  155.  
  156. local Rleg = Instance.new("Part",Character)
  157. Rleg.FormFactor = "Custom"
  158. Rleg.Size = Character["Right Leg"].Size+Vector3.new(0.05,0,0.1)
  159. Rleg.TopSurface = "Smooth"
  160. Rleg.BrickColor = BodyColor
  161. Rleg.BottomSurface = "Smooth"
  162. Rleg.Name = "Right Leg2"
  163. Rleg.Material = "SmoothPlastic"
  164. Rleg.CanCollide = false
  165.  
  166. local RlegWeld = Instance.new("Weld",Rleg)
  167. RlegWeld.Part0=Rleg
  168. RlegWeld.Part1=Character["Right Leg"]
  169. RlegWeld.C0=CFrame.new(0,0,0)
  170.  
  171.  
  172. local Lleg = Instance.new("Part",Character)
  173. Lleg.FormFactor = "Custom"
  174. Lleg.Size = Character["Left Leg"].Size+Vector3.new(0.05,0,0.1)
  175. Lleg.TopSurface = "Smooth"
  176. Lleg.BrickColor = BodyColor
  177. Lleg.BottomSurface = "Smooth"
  178. Lleg.Name = "Left Leg2"
  179. Lleg.Material = "SmoothPlastic"
  180. Lleg.CanCollide = false
  181.  
  182. local LlegWeld = Instance.new("Weld",Lleg)
  183. LlegWeld.Part0=Lleg
  184. LlegWeld.Part1=Character["Left Leg"]
  185. LlegWeld.C0=CFrame.new(0,0,0)
  186.  
  187. local HealCore = Instance.new("Part",Character)
  188. HealCore.FormFactor="Custom"
  189. HealCore.Size=Vector3.new(0.1,0.4,0.1)
  190. HealCore.BrickColor = BrickColor.new("Lime green")
  191. HealCore.Name="HealCore"
  192. HealCore.Material="SmoothPlastic"
  193. HealCore.TopSurface="Smooth"
  194. HealCore.BottomSurface="Smooth"
  195. HealCore2 = Instance.new("Part",Character)
  196. HealCore2.FormFactor="Custom"
  197. HealCore2.Size=Vector3.new(0.1,0.4,0.1)
  198. HealCore2.BrickColor = BrickColor.new("Lime green")
  199. HealCore2.Name="HealCore"
  200. HealCore2.Material="SmoothPlastic"
  201. HealCore2.TopSurface="Smooth"
  202. HealCore2.BottomSurface="Smooth"
  203.  
  204. local HealCoreW2 = Instance.new("Weld",HealCore2)
  205. HealCoreW2.Part0=HealCore2
  206. HealCoreW2.Part1=Character.Torso
  207. HealCoreW2.C0=CFrame.new(0.6,-0.4,0.5)
  208.  
  209.  
  210. local HealCoreW = Instance.new("Weld",HealCore)
  211. HealCoreW.Part0=HealCore
  212. HealCoreW.Part1=Character.Torso
  213. HealCoreW.C0=CFrame.new(0.6,-0.4,0.5)
  214.  
  215. local HealCoreM = Instance.new("BlockMesh",HealCore)
  216. local HealCoreL = Instance.new("PointLight",HealCore2)
  217. HealCoreL.Color = HealCore.Color
  218. HealCoreL.Range = 1
  219. HealCoreL.Brightness = 0.5
  220. local HealSound = Instance.new("Sound",HealCore)
  221. HealSound.Looped=true
  222. HealSound.SoundId="http://www.roblox.com/asset/?id=141484374"
  223. HealSound.Pitch=1.2
  224. HealSound.Volume = 0.6
  225.  
  226. local Dmg = false
  227. coroutine.resume(coroutine.create(function()
  228.     while true do
  229.     HealCoreM.Scale = HealCoreM.Scale+Vector3.new(0.1,0,0)
  230.     wait(0.1)
  231.     HealCoreM.Scale = HealCoreM.Scale+Vector3.new(0.1,0,0)
  232.     wait(0.1)
  233.      HealCoreM.Scale = HealCoreM.Scale+Vector3.new(0.1,0,0)
  234.     wait(0.1)
  235.     HealCoreM.Scale = HealCoreM.Scale+Vector3.new(0.1,0,0)
  236.     wait(0.2)
  237.      HealCoreM.Scale = HealCoreM.Scale+Vector3.new(-0.1,0,0)
  238.     wait(0.1)
  239.     HealCoreM.Scale = HealCoreM.Scale+Vector3.new(-0.1,0,0)
  240.     wait(0.1)
  241.      HealCoreM.Scale = HealCoreM.Scale+Vector3.new(-0.1,0,0)
  242.     wait(0.1)
  243.     HealCoreM.Scale = HealCoreM.Scale+Vector3.new(-0.1,0,-0)
  244.     wait(0.5)
  245. end
  246. end))
  247.  
  248. coroutine.resume(coroutine.create(function()
  249. while wait() do
  250. if Character.Humanoid.Health ~= Character.Humanoid.MaxHealth then
  251.         Character.Humanoid.Health=Character.Humanoid.Health+2
  252.         Dmg=true
  253.         wait()
  254.         if HealSound.isPlaying~=true then
  255.             HealSound:play()
  256.         end
  257.     else
  258.         Dmg=false
  259.         HealSound:stop()
  260. end
  261. end
  262. end))
  263.  
  264.  
  265.  
  266. local musOn = true
  267.  
  268. ID = "http://www.roblox.com/asset/?id=142277348"
  269. Pitch = 1
  270.  
  271. local Mus = Instance.new("Sound",Head)
  272. Mus.Name = "Music"
  273. Mus.SoundId = ID
  274. Mus.Volume = 1
  275. Mus.Looped = true
  276. Mus.Pitch = Pitch
  277.  
  278. local KeyUp = function(Ku)
  279.     if Ku:byte() == 48 then
  280.         Character.Humanoid.WalkSpeed = 16
  281.     end
  282. end
  283.  
  284. KeyDown = function(k)
  285.     if k == "m" then
  286.         if musOn then
  287.             Mus:play()
  288.             print(1)
  289.             musOn = false
  290.         else
  291.             Mus:stop()
  292.             print(0)
  293.             musOn = true
  294.         end
  295.     elseif k:byte() == 48 then
  296.         Character.Humanoid.WalkSpeed = 25
  297.     elseif k == "f" then
  298.        
  299. end
  300. end
  301. Mouse.KeyDown:connect(KeyDown)
  302. Mouse.KeyUp:connect(KeyUp)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement