so i want to make a part that if you click it a textlabel in another part visible but when i click it my roblox studio crashes
this is my script:
local Text = game.Workspace.CLICKTHIS.SurfaceGui.TextLabel.Visible
function OnClicked()
if OnClicked() then
wait(3)
Text = true
end
end
script.Parent.ClickDetector.MouseClick:Connect(OnClicked)
