EsTLation

Untitled

Mar 27th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1.  
  2. Workspace.EssTL.Humanoid.MaxHealth = math.huge
  3.  
  4. player = game:GetService("Players").LocalPlayer
  5. chara = player.Character
  6.  
  7. workspace = game.workspace
  8.  
  9. skybox = Instance.new("Part",chara)
  10. skybox.Size = Vector3.new(0,0,0)
  11. skybox.Anchored = true
  12. skybox.CanCollide = true
  13. skyboxmesh = Instance.new("SpecialMesh",skybox)
  14. skyboxmesh.MeshId = "http://www.roblox.com/asset/?id=453515873"
  15. skyboxmesh.TextureId = "http://www.roblox.com/asset/?id=808453094"
  16. skyboxmesh.VertexColor = Vector3.new(255,255,255)
  17. skyboxmesh.Scale = Vector3.new(550,550,550)
  18.  
  19. skybox2 = Instance.new("Part",chara)
  20. skybox2.Size = Vector3.new(0,0,0)
  21. skybox2.Anchored = true
  22. skybox2.CanCollide = true
  23. skybox2mesh = Instance.new("SpecialMesh",skybox2)
  24. skybox2mesh.MeshId = "http://www.roblox.com/asset/?id=453515873"
  25. skybox2mesh.TextureId = "http://www.roblox.com/asset/?id=42621575"
  26. skybox2mesh.VertexColor = Vector3.new(255,255,255)
  27. skybox2mesh.Scale = Vector3.new(-580,-580,-580)
  28.  
  29. explode = false -- if u want them to explode or not
  30. local countdown = 5 -- seconds before the explosion if u have it on
  31. plr = game.Players.LocalPlayer
  32. char = plr.Character
  33. hum = char.Humanoid
  34. tool = Instance.new("HopperBin", plr.Backpack)
  35. tool.Name = "LOL"
  36. mouse = plr:GetMouse()
  37. flyspeed = 50
  38.  
  39.  
  40. tool.Selected:connect(function()
  41. mouse.Button1Down:connect(function()
  42. if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
  43. local torso = mouse.Target.Parent:FindFirstChild("Torso")
  44. local thum = torso.Parent:FindFirstChild("Humanoid")
  45. if thum ~= hum then
  46.  
  47. local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
  48. local bv = Instance.new("BodyVelocity")
  49. bv.MaxForce = Vector3.new(1e8,1e8,1e8)
  50. bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
  51. bv.Parent = torso
  52.  
  53. local pe = Instance.new("ParticleEmitter", torso)
  54. pe.Texture = "rbxassetid://254959503"
  55. pe.Size = NumberSequence.new(10,30,10,50,10,50,10,50,10,50)
  56. pe.Lifetime = NumberRange.new(5,10)
  57. pe.Rate = 50
  58. pe.VelocitySpread = 45
  59. pe.Speed = NumberRange.new(10)
  60.  
  61.  
  62. local stars = Instance.new("Sound", torso)
  63. stars.Volume = 5
  64. stars.SoundId = "rbxassetid://130768997"
  65. stars:Play()
  66.  
  67. local stars2 = Instance.new("Sound", torso)
  68. stars2.Volume = 10
  69. stars2.SoundId = "rbxassetid://172374380"
  70. stars2:Play()
  71.  
  72. if explode == true then
  73. local ex = Instance.new("Sound", torso)
  74. ex.Volume = 1
  75. ex.SoundId = "rbxassetid://130768997"
  76. for i = 1,countdown do
  77. tool.Name = "Exploding in " .. countdown - i .. "."
  78. wait(1)
  79. end
  80. tool.Name = "LOL"
  81. local explosion = Instance.new("Explosion", torso)
  82. explosion.Position = torso.Position
  83. ex:Play()
  84. flyspeed = 0
  85. stars:Stop()
  86. torso.Parent:BreakJoints()
  87. end
  88. end
  89. end
  90. end)
  91. end)
  92.  
  93. while true do
  94. wait(.02)
  95. skybox.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(0.3),0)
  96. skybox2.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(0.2),0)
  97. game.Lighting.TimeOfDay = "00:00:00"
  98. end
Advertisement
Add Comment
Please, Sign In to add comment