How to prevent client to change time on their computer?

I’ve tried using os.time() on the server. However, when I go back and change my time on the computer and join in the game, the os.time() is changed based on my computer time which is not good. So, basically, I want the time to be legit. I tried print the os.time() on both server and local and it’s still the same.

1 Like

Maybe get their timezone (then you can see their time from the timezone) and see if it matches os.time()?

os.time() on the server may be the same due to testing in Roblox studio, have you tried testing it in a real server?

1 Like

Yes, I’ve tried testing on the real server like on the image below and it still does not work.
Screen Shot 2021-12-19 at 11.02.41 am

The image says Local Server by real server I mean inside an actual Roblox server outside studio.

os = operating system, it’s not possible (atleast, I think) to prevent the player from changing their operating system’s clock time.

So, basically, it should prevent fine on the real server right? Then there’s no worry, thanks a lot.

1 Like