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

Script EndLuau✎

Ends the top-level flow. Optional; falling off the end is the same thing.

Pending review

Script End
  • the language itself, so it works in Roblox and in Lune
  • terminal — it ends the flow it is in

Inputs

  • in:execution

What it compiles to

Script StartPrintDoneValueScript End
The graph this output was compiled from.
luau
print("Done")

Info

Look at what is not there: Script End emits nothing. Falling off the end of a script does the same thing, so it is optional — it is worth placing only to say out loud that the flow stops here.

Not reviewed yet