This script inside a block makes things go blurry when stepped on, but idk how to turn it off after stepping on again!
local part = script.Parent
local function onPartTouched(otherPart)
local partParent = otherPart.Parent
local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
if humanoid then
game.Lighting.Blur.Size = 56
end
end
part.Touched:Connect(onPartTouched)
local function onPartTouchedagain(otherPart)
local partParent = otherPart.Parent
local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
if humanoid then
game.Lighting.Blur.Size = 0
end
end
part.Touchedagain:Connect(onPartTouchedagain)
(yes i purposuely made the second part super bad to get u to fix lol)

3 comments
Yay it work! also u forgot to add then after line 8 and another end but i got that in! (also u need extra = for line 8 too)
sorry
nah it fine, just giving extra script knowlege lol