llGetAndResetTime
function ll.GetAndResetTime(): numberReturns 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.
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetAndResetTime