Sorry I know it is against the rules to ask for scripts, but I would have no clue where to even start on this one,
How would I get the player’s time/timezone. I have seen this in the game below and I was wondering how they did this. If anyone knows how or can provide me with a script it would be much appreciated
The following is copied from another post:
You have to do this based on time values. The easiest way is probably for the client to send its os.time() value to the server and for the server to compare that with its own os.time() value, dividing that by 3600, and rounding it to the nearest timezone hour offset from UTC+0. Keep in mind this will always be an estimate because you cannot know whether the time settings of the client’s device are entirely correct.
Devforum Post
1 Like