Scooby Wiki
Main site ↗

Getting Luas

Install RDR2 Lua scripts, run them from the editor, and use the console to resolve loading errors.

Getting Luas

Choose scripts written for Scooby RDR2. You can find shared scripts in the Scooby community or get them from their author. GTA 5 and RedM scripts may need a port before they work here.

Lua folder and menu

C:\scooby\RDR2\lua
Settings → Lua Scripts → Scripts
The workspace heading is Lua Editor.

Install and run a downloaded script

  1. Download the RDR2 script and extract it if it arrives in an archive. Keep its supporting libraries, configuration, and assets.
  2. Open Settings → Lua Scripts and select Open Lua Folder. You can also paste C:\scooby\RDR2\lua into File Explorer.
  3. Place the main .lua file directly in that folder. Keep supporting files in the locations specified by the author.
  4. Open the Scripts tab and select Refresh Scripts.
  5. Select the file in Script Library, then select Run / Reload. Check the Runtime panel for its running status.
C:\scooby\RDR2\lua\
    MyRDR2Script.lua
    ScoobyRDR2Template.lua

The script list supports single .lua files and package folders. A package uses main.lua, init.lua, or its folder name as the entry point. Keep the package modules together and avoid an extra archive wrapper folder. Keep file extensions visible.

Download Frontier, the standalone RDR2 Lua GUI, or browse the current Lua API. Frontier supports Lua54 and LuaJIT hosts with API 2.1.0 or a compatible newer 2.x version.

Reload, stop, and refresh scripts

  • Run / Reload: loads the selected script and enables it.
  • Reload: restarts a script from the Runtime panel after changes.
  • Stop: disables that script. Stop All Scripts disables the running list.
  • Refresh Scripts: discovers changed files without restarting scripts that are already running. Use Reload to recreate the selected script state after editing.

Scripts start disabled when the library is initialized. Run the scripts you need from this screen; the GTA 5 auto-run checkbox is not part of this RDR2 workflow.

To remove a script, stop it, remove its main file from the Lua folder, and refresh. Keep any configuration or data files you want to reuse.

Start your own script

Use New RDR2 Script to create a starter file, or open the bundled ScoobyRDR2Template.lua with Open in Editor. In Code Editor, enable API Documentation to see RDR2 function descriptions and examples.

A script may draw its own window or expose its controls in a separate menu. Check the author's instructions if the Runtime panel says it is running but you cannot find its controls.

If the script does not work

  • Not in the list: extract the archive, keep the single script or complete package directly inside the Lua folder, clear the search, and refresh. Frontier should have lua\Frontier\main.lua.
  • Error on startup: read the message in Runtime or the Console tab. Confirm that the script supports Scooby RDR2 and your menu version.
  • Missing module or image: restore the full download and its expected supporting folders.
  • Runtime or API mismatch: read the required API/game/runtime in the error. LuaJIT uses Lua 5.1 syntax; Lua 5.4 scripts may require the Lua54 host. Refreshing alone does not stop other scripts.

Search setup instructions, troubleshooting, and account help.

Type to search · Enter to open first result · Esc to close