Ok so, os.time, i want a script to run every 24h (a webhook that triggers every 24h so it doesn’t flood) but I only figured out how to do it with playeradded, how do i make the server do it
Well you would need a server that runs continuely for 24 hours?
Also this would be 24 hours
wait(86400)
or check the time with os.time?
What do you have in mind for this function?
I answered the same question in another thread:
It’s not exactly the same (since that question was per-player) but your answer is a simplification of that.
Instead of “on player added” just run when the script starts and loop back to the start when you’re done.
1 Like