Skip to content

Sandbox

Scripts run in a restricted Lua environment with only safe functionality available.

Available Libraries

Only these standard libraries are loaded:

  • math — math functions
  • string — string manipulation
  • table — table operations
  • coroutine — coroutine control

Blocked Functions

Scripts cannot access: File system, network, and all OS functionality are completely unavailable.

Timeout Protection

Scripts that run for more than 5 seconds without yielding (via coroutine.yield() or helper functions like sleep()) are forcibly terminated.

Always use sleep() or other yielding helpers in loops to avoid hitting the timeout.