Try it in your browserpreview Source

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 EachBodyCompletedTableKeyValue
  • 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 StartLuau ExpressionscoresCodeFor EachBodyCompletedTableKeyValuePrintValue
The graph this output was compiled from.
luau
for key, value in pairs(scores) do
	print(value)
end

Not reviewed yet