Recently, I decided to make a game with one of my friends, and as I was coding, I came across an idea that I wanted to use in my game: A VIP system, such as the one in world//zero where when you pay “x” amount of robux, you earn vip for 1 or 2 days.
I attempted to do that along side a daily rewards system, but , being the fairly new coder myself, I easily got overwhelmed by all the numbers and times involved.
I followed ( to an extent) a tutorial on daily rewards and attempted to edit it in order to have a vip count down as well but it just isnt working out for me.
I’m getting no errors, and its printing my stats, but for simplicities sake, I tried to set the daily reward timer to 1 minute in order to earn jewels at a faster rate, but even after waiting one minute in studio, I got nothing.
Here is the pastebin to my code since it is pretty lengthy, I added some notes inside as well. any help given would be a huge help because currently I’m so lost
Im not too good with the math aspect of os.time() so that could be one of my errors.