bell = script.Parent function clickit() bell.ClickDetector:Destroy() wait(20) Instance.new("ClickDetector", bell) end bell.ClickDetector.MouseClick:connect(clickit)
This should make it so after you click the bell it removes the click detector for 20 seconds and puts a new one. It works the first time but after that I doesn't remove it.
Instead of removing the ClickDetector, you can access the MaxActivationDistance property. So:
bell = script.Parent activated = false function clickit() if activiated == false then activated = true -- I recommend setting a debounce in-case a player or more clicks it multiple times. bell.ClickDetector.MaxActiviationDistance = 0 wait(20) bell.ClickDetector.MaxActiviationDistance = 32 -- The default distance I believe activated = false end end bell.ClickDetector.MouseClick:connect(clickit)