Use a local script. These scripts can only change things on the client(The player) if you want to make a gui button change something on the server you would have to use a remote event and a script too. Try watching some of alvinblox’s Tutorials on YouTube.