Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = workspace --so the death function will work. :D
- wait(1)
- game.Lighting.Ambient = Color3.new(1,0,0)
- local s = Instance.new("Sky",game.Lighting)
- local p = game.Players.LocalPlayer
- 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=17865063"
- in2.RotSpeed = NumberRange.new(-100,100)
- in2.Transparency = NumberSequence.new(0,0.75)
- in2.Size = NumberSequence.new(5)
- in2.Speed = NumberRange.new(0.4)
- in2.Lifetime = NumberRange.new(0.15,0.25)
- in2.SpreadAngle = Vector2.new(0,0)
- in2.Rotation = NumberRange.new(2,5)
- s1.PlaybackSpeed = 1
- 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
- function kill(hit)
- if debounce == false then
- debounce = true
- local h = hit.Parent:FindFirstChild("Humanoid")
- if (h~=nil) then
- local psi = Instance.new("Sound",hit)
- local pe = Instance.new("Explosion",hit) --psi attack effects
- pe.Position = hit.Position
- pe.BlastRadius = 0
- pe.BlastPressure = 0
- psi.SoundId = "rbxassetid://382344118"
- psi.Volume = 5
- psi:Play()
- hit.Velocity = Vector3.new(50,50,50)
- h.Sit = true
- h.Health = h.Health - 75.4
- end
- end
- wait(0.5)
- debounce = false
- 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 = "5:47: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 = "0: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.new(1,0,0)
- if 1796 > p.Character.Humanoid.Health then
- game.Lighting.TimeOfDay = "5:47:00"
- s.SkyboxBk = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=74013458"
- s.MoonTextureId = ""
- s.SunTextureId = ""
- s1.PlaybackSpeed = 0.950
- end
- if 501 > p.Character.Humanoid.Health then
- game.Lighting.TimeOfDay = "5:47:00"
- s.SkyboxBk = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=74013458"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=74013458"
- 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 = "21: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 = 50
- p.Character.Humanoid.MaxHealth = 2500
- p.Character.Humanoid.Health = 2500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement