ZKiller

THE CORRUPTED (Not Done, ROBLOX)

Jul 25th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 KB | None | 0 0
  1. wait(1)
  2. script.Name = "The Corrupted"
  3. local d = false
  4. local flameShoot = false
  5. local char = game.Players.LocalPlayer.Character
  6. char.Humanoid.HipHeight = 1.5
  7. local mouse = game.Players.LocalPlayer:GetMouse()
  8. char.Humanoid.MaxHealth = math.huge
  9. char.Humanoid.Health = math.huge
  10. function makeBloodParticle(parent)
  11. local par = Instance.new("ParticleEmitter",parent)
  12. par.Texture = "http://www.roblox.com/asset/?id=469953941"
  13. par.RotSpeed = NumberRange.new(1)
  14. par.Acceleration = Vector3.new(0,-30,0)
  15. par.Lifetime = NumberRange.new(50)
  16. par.Rate = 999
  17. end
  18. function rig(motor,C0,C1)
  19. motor.C0 = C0
  20. motor.C1 = C1
  21. end
  22. char.Animate.Parent = nil
  23. rig(char.Torso["Right Shoulder"],CFrame.new(1.5,0,-.3)*CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(0),math.rad(30)),CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)))
  24. rig(char.Torso["Left Shoulder"],CFrame.new(-1.5,0,-.3)*CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(0),math.rad(-30)),CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)))
  25. rig(char.HumanoidRootPart["RootJoint"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-15),math.rad(0),math.rad(0)),CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)))
  26. rig(char.Torso["Right Hip"],CFrame.new(.5,-2,.3)*CFrame.fromEulerAnglesXYZ(math.rad(-15),math.rad(0),math.rad(0)),CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)))
  27. rig(char.Torso["Left Hip"],CFrame.new(-.5,-2,.3)*CFrame.fromEulerAnglesXYZ(math.rad(-15),math.rad(0),math.rad(0)),CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)))
  28. function damage(hit)
  29. local h = hit.Parent:findFirstChildOfClass("Humanoid")
  30. if h ~= nil and hit.Parent ~= char then
  31. h.Health = h.Health - 10
  32. end
  33. end
  34. function cleanHead()
  35. local things = char:GetChildren()
  36. for i=1, #things do
  37. if things[i].ClassName == "Accessory" then
  38. local t = things[i]
  39. t.Parent = nil
  40. end
  41. end
  42. char.Head:findFirstChildOfClass("Decal").Parent = nil
  43. end
  44. function cleanShirt()
  45. local things = char:GetChildren()
  46. for i=1, #things do
  47. if things[i].ClassName == "Shirt" then
  48. local t = things[i]
  49. t.Parent = nil
  50. end
  51. end
  52. end
  53. function cleanPants()
  54. local things = char:GetChildren()
  55. for i=1, #things do
  56. if things[i].ClassName == "Pants" then
  57. local t = things[i]
  58. t.Parent = nil
  59. end
  60. end
  61. end
  62. function cleanPackage()
  63. local things = char:GetChildren()
  64. for i=1, #things do
  65. if things[i].ClassName == "CharacterMesh" then
  66. local t = things[i]
  67. t.Parent = nil
  68. end
  69. end
  70. end
  71. local music = Instance.new("Sound",game.Players.LocalPlayer.Character.Head)
  72. music.Name = "Music"
  73. music.SoundId = "rbxassetid://1753314871"
  74. music.Looped = true
  75. music:Play()
  76. local laser = Instance.new("Sound",game.Players.LocalPlayer.Character.Head)
  77. laser.SoundId = "rbxassetid://340722848"
  78. local flame = Instance.new("Sound",char.Head)
  79. flame.SoundId = "rbxassetid://1544022435"
  80. cleanHead()
  81. cleanPackage()
  82. cleanPants()
  83. cleanShirt()
  84. function laserBeam()
  85. if d == false then
  86. d = true
  87. laser:Play()
  88. local ray = Ray.new(char.Torso.CFrame.p, (mouse.Hit.p - char.Torso.CFrame.p).unit * 300)
  89. local part, position = workspace:FindPartOnRay(ray, char, false, true)
  90. local beam = Instance.new("Part", workspace)
  91. beam.BrickColor = BrickColor.new("Toothpaste")
  92. beam.Material = "Neon"
  93. beam.Transparency = 0.7
  94. beam.Anchored = true
  95. beam.Locked = true
  96. beam.CanCollide = false
  97. local distance = (char.Torso.CFrame.p - position).magnitude
  98. beam.Size = Vector3.new(2, 2, distance)
  99. beam.CFrame = CFrame.new(char.Torso.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  100. beam.Touched:connect(damage)
  101. wait(.05)
  102. beam.Transparency = beam.Transparency + .05
  103. beam.Size = beam.Size + Vector3.new(.1,.1,.1)
  104. wait(.05)
  105. beam.Transparency = beam.Transparency + .05
  106. beam.Size = beam.Size + Vector3.new(.1,.1,.1)
  107. wait(.05)
  108. beam.Transparency = beam.Transparency + .05
  109. beam.Size = beam.Size + Vector3.new(.1,.1,.1)
  110. wait(.05)
  111. beam.Transparency = beam.Transparency + .05
  112. beam.Size = beam.Size + Vector3.new(.1,.1,.1)
  113. wait(.05)
  114. beam.Transparency = beam.Transparency + .05
  115. beam.Size = beam.Size + Vector3.new(.1,.1,.1)
  116. wait(.05)
  117. d = false
  118. beam.Parent = nil
  119. end
  120. end
  121. mouse.KeyDown:connect(function(k)
  122. if k == "e" then
  123. laserBeam()
  124. end
  125. end)
  126. mouse.Button1Down:connect(function()
  127. flameShoot = true
  128. end)
  129. mouse.Button1Up:connect(function()
  130. flameShoot = false
  131. end)
  132. while wait(.1) do
  133. if flameShoot == true then
  134. local flameBall = Instance.new("Part",game.Workspace)
  135. flameBall.Locked = true
  136. flameBall.CanCollide = false
  137. flameBall.Transparency = 1
  138. flameBall.Size = Vector3.new(2,2,2)
  139. flameBall.CFrame = char["Left Arm"].CFrame - Vector3.new(0,1,0)
  140. flameBall.CFrame = CFrame.new(char["Left Arm"].Position,mouse.Hit.Position)
  141. flameBall.Velocity = flameBall.CFrame.lookVector *100
  142. local fbView = Instance.new("BillboardGui",flameBall)
  143. fbView.Adornee = flameBall
  144. fbView.Size = UDim2.new(3,0,3,0)
  145. fbView.LightInfluence = 0
  146. local fbImage = Instance.new("ImageLabel",fbView)
  147. fbImage.Size = UDim2.new(1,0,1,0)
  148. fbImage.BackgroundTransparency = 1
  149. fbImage.Image = "rbxassetid://571342640"
  150. local fbForce = Instance.new("BodyForce",flameBall)
  151. fbForce.Force = Vector3.new(0,1000,0)
  152. flameBall.Touched:connect(damage)
  153. local fs = flame:Clone()
  154. fs.Parent = flameBall
  155. fs:Play()
  156.  
  157. local flameBall2 = Instance.new("Part",game.Workspace)
  158. flameBall2.Locked = true
  159. flameBall2.CanCollide = false
  160. flameBall2.Transparency = 1
  161. flameBall2.Size = Vector3.new(2,2,2)
  162. flameBall2.CFrame = char["Right Arm"].CFrame - Vector3.new(0,1,0)
  163. flameBall2.CFrame = CFrame.new(char["Right Arm"].Position,mouse.Hit.Position)
  164. flameBall2.Velocity = flameBall2.CFrame.lookVector *100
  165. local fbView2 = Instance.new("BillboardGui",flameBall2)
  166. fbView2.Adornee = flameBall2
  167. fbView2.Size = UDim2.new(3,0,3,0)
  168. fbView2.LightInfluence = 0
  169. local fbImage2 = Instance.new("ImageLabel",fbView2)
  170. fbImage2.Size = UDim2.new(1,0,1,0)
  171. fbImage2.BackgroundTransparency = 1
  172. fbImage2.Image = "rbxassetid://571342640"
  173. local fbForce2 = Instance.new("BodyForce",flameBall2)
  174. fbForce2.Force = Vector3.new(0,1000,0)
  175. flameBall2.Touched:connect(damage)
  176. local fs2 = flame:Clone()
  177. fs2.Parent = flameBall2
  178. fs2:Play()
  179. end
  180. game.Players.LocalPlayer.Character["Head"].BrickColor = BrickColor.Random()
  181. game.Players.LocalPlayer.Character["Left Arm"].BrickColor = BrickColor.Random()
  182. game.Players.LocalPlayer.Character["Right Arm"].BrickColor = BrickColor.Random()
  183. game.Players.LocalPlayer.Character["Left Leg"].BrickColor = BrickColor.Random()
  184. game.Players.LocalPlayer.Character["Right Leg"].BrickColor = BrickColor.Random()
  185. game.Players.LocalPlayer.Character["Torso"].BrickColor = BrickColor.Random()
  186. end
Add Comment
Please, Sign In to add comment