‹ All natives
Namespace: EVENT
API set: server
Language: Luau Improve
stop
on("stop", function() end)
The script is about to stop.
The server then removes the script's zones, bound buckets and entities by itself.
Notes#
- Not called if the script was stopped for running too long three times.
- No
wait here: the script is closed right after.