Hi! I am trying to make a system: If a player is in-game for 20 minuets straight, they get free HD Vip admin, once they leave the game the time resets, so next time they join they will need to wait 20 mins again to unlock free vip admin.
There’s probably function inside of HD Admin to rank up so you just have to experiment, but for the timer part you can use os.clock. It’s pretty self explanatory just subtract current time with past time until it reaches 20 min.