RandomLuau✎
Not referentially transparent, but safe to inline: it has no observable ordering.
Pending review
- the language itself, so it works in Roblox and in Lune
- pure — no execution pins, wire it anywhere
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- Min:number=
1 - Max:number=
100
Outputs
- result:number
What it compiles to
luau
print(math.random(1, 100))
Not reviewed yet