Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --use h for it
- script.Parent = workspace --so the death function will work. :D
- local s = Instance.new("Sky",game.Lighting)
- local p = game.Players.timetodie23232223
- local s1 = Instance.new("Sound",workspace)
- local in2 = Instance.new("ParticleEmitter",p.Character.Torso)
- local debounce = false
- in2.Texture = "http://www.roblox.com/asset/?id=25777860"
- in2.RotSpeed = NumberRange.new(0,0,0)
- in2.Transparency = NumberSequence.new(0,0.75)
- in2.Size = NumberSequence.new(5)
- in2.Speed = NumberRange.new(0.4)
- in2.LightEmission = 2
- in2.LightInfluence = 0
- in2.Rate = 500
- in2.Lifetime = NumberRange.new(0.01,0.1)
- in2.SpreadAngle = Vector2.new(0,0)
- in2.Rotation = NumberRange.new(0,2)
- s1.PlaybackSpeed = 1
- s1.SoundId = "rbxassetid://2551380208"
- s1.Volume = 3
- s1.Looped = true
- s1:Play()
- game.Lighting.TimeOfDay = "6:00:00"
- s.SkyboxBk = "http://www.roblox.com/asset/?id=35463990"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=35463990"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=35463990"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=35463990"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=35463990"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=35463990"
- s.MoonTextureId = ""
- s.SunTextureId = ""
- s.StarCount = 0
- s.SunAngularSize = 0
- s.MoonAngularSize = 0
- local x = Instance.new("Sound",p.Character.Torso)
- x.SoundId = "rbxassetid://163684930"
- x.Volume = 10
- x.Looped = true
- x:Play()
- function kill(hit)
- if debounce == false then
- debounce = true
- local psi = Instance.new("Sound",hit)
- psi.SoundId = "rbxassetid://2023969411"
- psi.Volume = 10
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- local owo
- owo = h.MaxHealth / math.random(8,20)
- h:TakeDamage(owo)
- print(owo)
- game:GetService("Chat"):Chat(hit.Parent.Head, owo.." HP of damage to"..hit.Parent.Name.."!", Enum.ChatColor.Red)
- psi:Play()
- local ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Parent = h.Parent.Head
- ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 0, 1),Color3.new(1, 0, 1))
- ParticleEmitter0.Texture = "rbxassetid://144580273"
- ParticleEmitter0.Size = NumberSequence.new(0,10)
- ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter0.Rate = 25
- wait(1.5)
- ParticleEmitter0:Destroy()
- end
- debounce = false
- end
- end
- function clearvisiblity()
- local d = p.Character:GetChildren()
- p.Character.Head.face:Destroy()
- for i=1, #d do
- if (d[i].className == "Accessory") then
- d[i]:remove()
- end
- end
- end
- function death()
- s1:Destroy()
- local z = Instance.new("Sound",workspace)
- z.SoundId = "rbxassetid://141378867"
- z.Volume = 10
- z.PlaybackSpeed = 1
- z.Looped = true
- z:Play()
- game.Lighting.TimeOfDay = "6:00:00"
- game.Lighting.GlobalShadows = false
- s.SkyboxBk = "http://www.roblox.com/asset/?id=41413062"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=41413062"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=41413062"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=41413062"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=41413062"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=41413062"
- s.MoonTextureId = ""
- s.SunTextureId = ""
- wait(5)
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
- game.Lighting.GlobalShadows = false
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.FogEnd = 100
- s.StarCount = 0
- game.Lighting.TimeOfDay = "6:00:00"
- local s2 = Instance.new("Sound",workspace)
- z:Destroy()
- s2.SoundId = "rbxassetid://231107923"
- s2.Volume = 10
- s2:Play()
- end
- function hurt()
- game.Lighting.Ambient = Color3.new(0,255,0)
- local s5 = Instance.new("Sound",workspace)
- s5.SoundId = "rbxassetid://256382824"
- s5.Volume = 10
- s5:Play()
- wait(0.1)
- game.Lighting.Ambient = Color3.fromRGB(0,0,0)
- if 2800 > p.Character.Humanoid.Health then
- p.Character.Humanoid.WalkSpeed = 60
- s1.SoundId = "rbxassetid://417886890"
- s1.Volume = 3.55
- s1.Looped = true
- --s1:Play()
- s.MoonTextureId = "http://www.roblox.com/asset/?id=17865063"
- s.SunTextureId = "http://www.roblox.com/asset/?id=17865063"
- s.StarCount = 0
- s.SunAngularSize = 60
- s.MoonAngularSize = 60
- end
- if 2001 > p.Character.Humanoid.Health then
- game.Lighting.TimeOfDay = "6:00:00"
- p.Character.Humanoid.WalkSpeed = 40
- s.SkyboxBk = "http://www.roblox.com/asset/?id=29625151"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=29625151"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=29625151"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=29625151"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=29625151"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=29625151"
- s.MoonTextureId = ""
- s.SunTextureId = ""
- s1.SoundId = "rbxassetid://417886890"
- s1.Volume = 3.55
- s1.Looped = true
- s1:Play()
- end
- if 501 > p.Character.Humanoid.Health then
- game.Lighting.TimeOfDay = "6:00:00"
- p.Character.Humanoid.WalkSpeed = 20
- s.SkyboxBk = "http://www.roblox.com/asset/?id=37453694"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=37453694"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=37453694"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=37453694"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=37453694"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=37453694"
- s.MoonTextureId = ""
- s.SunTextureId = ""
- s1.PlaybackSpeed = 1.015
- s1.SoundId = "rbxassetid://1254343621"
- end
- end
- p1 = p.Character
- p1.Torso.Touched:connect(kill)
- p1.Humanoid.HealthChanged:connect(hurt)
- p1.Humanoid.Died:connect(death)
- clearvisiblity()
- p1.Health:Destroy()
- game.Lighting.TimeOfDay = "6:00:00"
- p1.Head.Transparency = 1
- p1.Torso.Transparency = 1
- p1["Right Leg"].Transparency = 1
- p1["Right Arm"].Transparency = 1
- p1["Left Arm"].Transparency = 1
- p1["Left Leg"].Transparency = 1
- p.Character.Humanoid.JumpPower = 100
- p.Character.Humanoid.WalkSpeed = 80
- p.Character.Humanoid.MaxHealth = 3205
- p.Character.Humanoid.Health = 3205
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement