So i got a localscript in a textbutton (the textbutton is located in GUI -> Frame), when i press on the button in Roblox Studio it changes but when i go in-game via the website and press on the button it won't change?
Value name = P
plr = game.Players.LocalPlayer
function onClicked()
plr.P.Value = 5
end
script.Parent.MouseButton1Down:connect(onClicked)

1 comment
ty