So I have this GUI, and the script is a child of it
Script:
function click()
script.Parent.Parent.Enabled = false
end
script.Parent.MouseButton1Click:Connect(click)
And yet it does not work. Clicking the button does nothing. How??
So I have this GUI, and the script is a child of it
Script:
function click()
script.Parent.Parent.Enabled = false
end
script.Parent.MouseButton1Click:Connect(click)
And yet it does not work. Clicking the button does nothing. How??
Button clicks arent passed over the client-server boundary, make it a local script.
It still refuses to work even after that.
Well if you changed it to a local script, make sure the button has the propriety “Active” enabled.