How to get an accurate consistent timestamp on server and client for boss hitboxes

I’m trying to make hit detection for my boss accurate. You can see it here:

If I use os.time() it’s one second of theoretical accuracy, plus or minus some error I assume. Is there a better module for this?

Are you implying you want to synchronize a time value between server and client? For example, tick() that returns the same value on both? If so, you can use workspace:GetServerTimeNow() on both & it should run pretty well

1 Like