I made a script that works but it delays a little and it's just makes my game too bugged. The script is suppose to disable clickdetector after clicking ONCE. But people are able to click it more than once before disabling. Does anyone know a solution?
You should use a debounce, a debounce will help you make it so the code won't run more than once upon clicking the click detector it works like so:
local debounce = true --CD is your click detector CD.MouseClick:Connect(function()) if debounce == true then debounce = false --code here--- end)