util
Small helpers that would otherwise be rewritten in every script.
Functions
6 functions. Signatures are generated from the client, so they describe the build you are running.
util.time() -> numberMilliseconds from a monotonic clock. Only differences are meaningful.
util.random(min:number, max:number) -> numberutil.lerp(a:number, b:number, t:number) -> numberutil.clamp(v:number, min:number, max:number) -> numberutil.distance(x1:number, y1:number, z1:number, x2:number, y2:number, z2:number) -> numberutil.color(r:number, g:number, b:number, [a:number]) -> numberPacks 0-255 components into the 0xAARRGGBB integer the render namespaces take.