This is SOO frikin‘ bad, heres the code: local coins = 0 local Level = 0 while true do print("[ CLICK ]") print("Write 'click' to press the button") local input = io.read() if input == "click" then coins = coins + 1 print("Coins: " .. coins) print("Level: " .. Level) if coins >= 10 then print("Level up!") coins = coins - 10 Level = Level +1 end end end
Code is in Description!