How do you make a screen button gui thing that make so, for example, if you click it and you have a hunger script, it will raise your hunger? (Not just a normal button on the ground, it stays on your screen, right side of screen, and wherever you move your view, its on the screen with you.)
Note: I know how to insert a screen button, but how do you make so it effects your hunger, and raises your hunger when clicked?

4 comments
It didn't work, but was i supposed to make a gui button? Please reply and tell me all the details. Also, am i supposed to put it in startergui? I am new at scripting so i don't know.
yes you need to do all that you asked.
Ok, but i tried to enter a gui button, by going on workspace and clicking insert basic object but it wasn't there :(
right click on StarterGui, mouse over "insert basic object" and click ScreenGui, then right click on the ScreenGui, mouse over "insert basic object" and click TextButton, then right click on the TextButton, mouse over "insert basic object" and click Script and put the script i gave you it the script you inserted.