You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to a 24 hour cooldown, where a player joins the game, and they can’t join the game if they rejoin the game within 24 hours
What is the issue? Include screenshots / videos if possible!
I don’t know how to script this 24 hour cooldown in a serverscript sadly.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
What you could do is log the time they left the game to a data store. Then, when they rejoin back check if 24 hrs has passed from that said time. If not kick them
You will need to use timestamps by using os.time() and saving it within a datastore and then every time they join negate their current timestamp to the one you saved when the cooldown first started (the one in the datastore) and if its over 24 then kick them.