1 | function touch() |
2 | game.Workspace.Lightning.Blur:remove() |
3 | end |
4 |
5 | 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.1 | -- script inside part |
2 | script.Parent.Touched:Connect( function () |
3 | game.Lighting.Blur:Destroy() |
4 | end ) |
1 | function touch() |
2 | game.Lighting.Blur:remove() |
3 | end |
4 |
5 | script.Parent.Touched:connect(touch) |