local player = game.Players.LocalPlayer
local Character = player.Character
local Humanoid = Character:WaitForChild("Humanoid")
local Blurdeadfind = game.Lighting:FindFirstChild("Blurdead")
local ColorDead = game.Lighting:FindFirstChild("ColorDead")
if Blurdeadfind and ColorDead then
game:GetService("TweenService"):Create(Blurdeadfind,TweenInfo.new(1,Enum.EasingStyle.Linear),{Size = 0}):Play()
game:GetService("TweenService"):Create(ColorDead,TweenInfo.new(1,Enum.EasingStyle.Linear),{Brightness = 0}):Play()
wait(2)
Blurdeadfind:Destroy()
ColorDead:Destroy()
else
end
Humanoid.Died:Connect(function()
local cam = game.Workspace.CurrentCamera
cam:ClearAllChildren()
local BlurDead = Instance.new("BlurEffect",game.Lighting)
local ColorCorr = Instance.new("ColorCorrectionEffect",game.Lighting)
ColorCorr.Name = "ColorDead"
BlurDead.Size = 0
game:GetService("TweenService"):Create(BlurDead,TweenInfo.new(1,Enum.EasingStyle.Linear),{Size = 56}):Play()
game:GetService("TweenService"):Create(ColorCorr,TweenInfo.new(2,Enum.EasingStyle.Linear),{Brightness = -1}):Play()
BlurDead.Name = "Blurdead"
end)
This is for those who are searching for this and are sent here ;P
1 comment
well if you figured out how to blur all the players, just put the same script into a LOCAL script so It only does it for each individual player when they die.