Try it in your browserpreview 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