Skip to content

llGetAndResetTime

function ll.GetAndResetTime(): number

Returns the script time in seconds and then resets the script timer to zero.

Gets the time in seconds since starting and resets the time to zero.

Add example usage here showing SLua/Luau syntax with ll.GetAndResetTime().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.