Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Workspace.EssTL.Humanoid.MaxHealth = math.huge
- player = game:GetService("Players").LocalPlayer
- chara = player.Character
- workspace = game.workspace
- skybox = Instance.new("Part",chara)
- skybox.Size = Vector3.new(0,0,0)
- skybox.Anchored = true
- skybox.CanCollide = true
- skyboxmesh = Instance.new("SpecialMesh",skybox)
- skyboxmesh.MeshId = "http://www.roblox.com/asset/?id=453515873"
- skyboxmesh.TextureId = "http://www.roblox.com/asset/?id=808453094"
- skyboxmesh.VertexColor = Vector3.new(255,255,255)
- skyboxmesh.Scale = Vector3.new(550,550,550)
- skybox2 = Instance.new("Part",chara)
- skybox2.Size = Vector3.new(0,0,0)
- skybox2.Anchored = true
- skybox2.CanCollide = true
- skybox2mesh = Instance.new("SpecialMesh",skybox2)
- skybox2mesh.MeshId = "http://www.roblox.com/asset/?id=453515873"
- skybox2mesh.TextureId = "http://www.roblox.com/asset/?id=42621575"
- skybox2mesh.VertexColor = Vector3.new(255,255,255)
- skybox2mesh.Scale = Vector3.new(-580,-580,-580)
- explode = false -- if u want them to explode or not
- local countdown = 5 -- seconds before the explosion if u have it on
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- tool = Instance.new("HopperBin", plr.Backpack)
- tool.Name = "LOL"
- mouse = plr:GetMouse()
- flyspeed = 50
- tool.Selected:connect(function()
- mouse.Button1Down:connect(function()
- if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
- local torso = mouse.Target.Parent:FindFirstChild("Torso")
- local thum = torso.Parent:FindFirstChild("Humanoid")
- if thum ~= hum then
- local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = Vector3.new(1e8,1e8,1e8)
- bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
- bv.Parent = torso
- local pe = Instance.new("ParticleEmitter", torso)
- pe.Texture = "rbxassetid://254959503"
- pe.Size = NumberSequence.new(10,30,10,50,10,50,10,50,10,50)
- pe.Lifetime = NumberRange.new(5,10)
- pe.Rate = 50
- pe.VelocitySpread = 45
- pe.Speed = NumberRange.new(10)
- local stars = Instance.new("Sound", torso)
- stars.Volume = 5
- stars.SoundId = "rbxassetid://130768997"
- stars:Play()
- local stars2 = Instance.new("Sound", torso)
- stars2.Volume = 10
- stars2.SoundId = "rbxassetid://172374380"
- stars2:Play()
- if explode == true then
- local ex = Instance.new("Sound", torso)
- ex.Volume = 1
- ex.SoundId = "rbxassetid://130768997"
- for i = 1,countdown do
- tool.Name = "Exploding in " .. countdown - i .. "."
- wait(1)
- end
- tool.Name = "LOL"
- local explosion = Instance.new("Explosion", torso)
- explosion.Position = torso.Position
- ex:Play()
- flyspeed = 0
- stars:Stop()
- torso.Parent:BreakJoints()
- end
- end
- end
- end)
- end)
- while true do
- wait(.02)
- skybox.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(0.3),0)
- skybox2.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(0.2),0)
- game.Lighting.TimeOfDay = "00:00:00"
- end
Advertisement
Add Comment
Please, Sign In to add comment