I'm trying to make a button when you click on it, the self destruct script enables.
This is what I made.
game.Workspace.Insdestruct.ClickDetector.MouseClick:connect(onClicked)
function onClicked()
workspace.Check1.Disabled = true
workspace.Check2.Disabled = true
workspace.Check3.Disabled = true
workspace.DelTemp.Disabled = true
workspace.InstantMelt.Disabled = false
end
Yes there is a clickdetector included.
When I click it, it doesn't do anything?
Can someone help me?
