Try it in your browserpreview Source

For LoopLuau✎

Numeric for loop.

Pending review

For LoopBodyCompleted1FirstIndex10Last1Step
  • the language itself, so it works in Roblox and in Lune

Inputs

  • in:execution
  • First:number= 1
  • Last:number= 10
  • Step:number= 1

Outputs

  • Body:execution
  • Completed:execution
  • Index:number

What it compiles to

Script StartFor LoopBodyCompleted1FirstIndex3Last1StepPrintValue
The graph this output was compiled from.
luau
for i = 1, 3 do
	print(i)
end

Not reviewed yet