backupRoswaal has moved to roswaal.app. These pages are a backup copy.Go to roswaal.app

For EachLuau✎

Generic for over a table (pairs). Key name and Value name in the Inspector decide what the two loop variables are called in the generated Luau; left blank they are key and value. Key type and Value type annotate them, and type their pins.

Pending review

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

Inputs

  • in:execution
  • Table:tablemust be wired

Outputs

  • Body:execution
  • Completed:execution
  • Key:any
  • Value:any

What it compiles to

Script StartƒxLuau ExpressionscoresFor EachBodyTableCompletedKeyValuePrintValue
The graph this output was compiled from.
luau
for key, value in pairs(scores) do
	print(value)
end

Not reviewed yet