canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Set VariableLuau✎

Assigns a script variable. The output passes the value through, so a Set can sit mid-chain.

Pending review

Set VariableValue
  • the language itself, so it works in Roblox and in Lune

Inputs

  • in:execution
  • Value:anymust be wired

Outputs

  • then:execution
  • value:any

What it compiles to

Script StartSet Variablescore10Value
The graph this output was compiled from.
luau
local score: number = 0

score = 10

Not reviewed yet