button = script.Parent
player = game.Players.LocalPlayer
button.MouseButton1Click:connect(function()
if button.Text == "Not ready" then
button.Text = "Ready"
player.ready.Value = true
elseif button.Text == "Ready" then
button.Text = "Not ready"
player.ready.Value = false
end
end)
- Localscript inside a button in startergui
- Works fine in studio play, not in local/real servers
- It changes the text, but not the value
rip

2 comments
Is FE enabled?
yup