I know how to store the data that he should be banned but I don’t know how to ban him temporarily,
I know that you have to use os.time but I dont understand the math that I have to do to either let him stay or kick him. Like what do I store as the “BanLength” and how to I subtract the right amount of time
and how to I format it so it says “You have been banned for 1 day, 1 hour, 1 minute” when he gets kicked with :Kick(), please help me.
No matter how many times I read about os.time on the developer forum I wont understand it.
Simplified bc I’m terrible at writing.
I will use a function to ban the player with 2 parameters ban(day, hour) so
I need to convert those parameters into a format(pretty sure at least)
What time do I store when I kick the player.
How do I format the time to days, hours.
What math do I do when the banned player joins and format the new time to tell
him how much he has left.