So I have my ClickDetectorEvent.
clickdetector.MouseClick:Connect(function() end
It doesn't matter what other script I have inside of the function but how would I make it not clickable once I click it?
✓ ANSWER ACCEPTED
[Solved] How to make a block not clickable after I click it?
1 answer
✓ Accepted answer
Just simply put this in the script and you can only click a part once:
function onClicked()
wait()
script.Parent.ClickDetector:Destroy()
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Put "clickdetector:Destroy()" at whateverpart you want to delete it in, it should work