Localscript Unable to :Destroy() object

it means it was already deleted

But the script is still there and the motionblur is still visible

did the blur object do some cloning or instance.new?

Instance.new(“BlurEffect”,Camera) yes

you need to update the variable each time you made a new one or add a debounce.

1 Like

So if i want to disable the motion blur script instead of destroying it i can just change property of the BlurEffect to false

will this work

yes. Its better thab creating a new one everytime you do stuff

but filtering is enabled how to access the camera

local Camera = game.Workspace.CurrentCamera

1 Like