function touch() game.Workspace.Lightning.Blur:remove() end script.Parent.Touched:connect (touch)
Rather than the blur effect disappearing when I touch the part, it automatically disappears as soon as i press play. Thank you in advance.
Lighting
and player's CurrentCamera
.:remove()
is deprecated, use :Destroy()
instead.-- script inside part script.Parent.Touched:Connect(function() game.Lighting.Blur:Destroy() end)
function touch() game.Lighting.Blur:remove() end script.Parent.Touched:connect(touch)