Lua Executor
Learn how to use the Susano Lua Executor in FiveM, including running scripts, using Shared Scripts, and Resetting Environment for clean execution.
1: Lua Executor
Lua Executor allows you to run Lua scripts directly in FiveM. It includes a built-in editor, Shared Scripts tab where you can share scripts with others, and a Reset Environment feature for clean script execution.
!!! You must be extremely careful, as executing code you do not understand can get you banned. It is recommended to have a basic knowledge of Lua.
1.1: Executing a Script
- Paste your Lua code into the editor.
- Click Execute.
- The script will run instantly in the current session.
2: Shared Scripts
Shared Scripts allow you to save scripts and reuse them across sessions without pasting code every time. You can share codes with your friends.

2.1: Creating a Shared Script
- Open
Executor->Shared Scripts - Write Script name
- Click Upload Script
2.2: Running a Shared Script
- Select the script from the list or write Invite Code
- Click Execute
3: Reset Environment
Reset Environment clears the current Lua runtime state.
3.1: When to Use Reset Environment
- After testing multiple scripts
- When variables or functions persist unexpectedly
- Before re-running updated code
4: Common Issues
Script runs but nothing happens
- Execute the script again
- Use Reset Environment
- Rejoin the server and retry
- If nothing from above works, the issue is probably with the script.
5: Documentation
Full executor documentation and examples are available here: https://docs.susano.re/