Copy and paste this list of variables into the top of your script. The picture below explains what each variable means if you want to test out your own values, but the example values are in the steps!
local stand =
local purchased =
local button =
local income =
local income_delay =
local cost =
This variable will tell Roblox where to find the lemonade stand (the one we hid inside the ServerStorage closest.) It will also tell Roblox to clone the lemonade stand for us.
local stand = game.ServerStorage.LemonadeStand:Clone()
This variable will tell Roblox where to find the button object. The button object is currently holding the script, which means it's the parent of the script.
This is how many seconds it will take for the lemonade stand to sell lemonade and earn you money. In the example, every 5 seconds, the lemonade stand would eventually use up some of your lemons and give you 10 coins.