This is the script:
local gui = script.Parent.Parent.night_GUI:Clone()
function click()
gui.Parent = game.Players.LocalPlayer.PlayerGui
wait(1)
script.Disabled = true
wait(60)
script.Disabled = false
end
script.Parent.ClickDetector.MouseClick:connect(onClick)
I've went through and checked it, but still same Console Error: ClickDetector is not a valid member of ClickDetector Remember, this is not a LocalScript. any help please? Thanks!

1 comment
Where did you place the script? And is it a LocalScript or a Script now?