FANDOM


This article is a stub. You can help the Roblox Wikia by expanding it.
Not to be confused with Timed items.

Timers are used internally by Roblox to time various things within the Wait() function of the Lua script (and various other coding). The Wait() function's 1 number equals to one second.

How it works

A Timer is an internal function that monitors the movement or rotation of a brick, while ticking a certain amount of time. When the specified time has been reached, the Lua script will then jump past the Wait() function, and onto another part of the script. For example, a script may have a wheel moving forward for four seconds, then turn left. Using the Wait() function, the script is able to monitor the time the wheel is moving. Once the script reaches the four second requirement of the function, it will bypass the Wait() function as it becomes true (as the four seconds have been reached).

Community content is available under CC-BY-SA unless otherwise noted.