Skip to main content

GetTimer

Description​

Returns the game’s timer value, which increments in milliseconds since the game started. Useful for measuring elapsed time when Wait is not suitable.

function GetTimer() --[[ ... ]] end

Parameters​

None.

Return Values​

  • time: number - Milliseconds passed since the game started.

Example​

None.