roblox-discord-presence
roblox-discord-presence copied to clipboard
fix inaccurate elapsed time
while its true tick may be a little bit inaccurate it has a higher resolution then os.time

os.time is accurate but lacks in precision where tick is precise but lacks in accuracy
so it just depends if the plugin needs accuracy or precision
it doesn't matter that it lacks "precision" or "accuracy"
the plugin incorrectly sets the elapsed time, fix for it is to set the os.time() or tick() on boot of the plugin (an attribute of the script) and that'd be used to get the start time.
The inaccuracy i was referencing was that tick does not or atleast did not at the time obey timezone offsets, os.time did. i do not know if this is or was a roblox glitch but my fix did fix it.
oh wait you were talking about obeying timezone offsets, yeah os.time is always the same on all servers and tick is client specific