Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you use 'os'? [closed]

Asked by
IcyEvil 260 Moderation Voter
8 years ago

Not because I need to use it, Im just curious on what it is meant to be used for.

os

Locked by Sublimus, Prioxis, and koolkid8099

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
3
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
8 years ago

The keyword os is part of the usable function os.time() on Roblox. Os is part of the Operating System Library of Lua. However for security reasons the only available function of the Library is os.time() which is more commonly recommended function over tick().

0
Actually tick() is more commonly used because it returns the client's time*. os.time() returns some random server's time*. *time refers to seconds since epoch (Jan 1st, 1970). 0xDEADC0DE 310 — 8y
Ad