for a gui button, im trying to have a server remember that the button was clicked, so that when the player leaves the game, the button has the same properties as before, but I don't know where to start
try using remote events or remote functions, it's a way to let the client and server communicate with eachother, here's an article on it:
https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events