This script provides an advanced FPS Boost menu for FiveM, allowing players to optimize their game performance dynamically. The menu offers different levels of optimization, from Ultra Low to High FPS Boost, and also includes an Ultra Graphics mode to restore high-quality settings.
✅ Multiple FPS Boost Levels: Choose from Ultra Low, Medium, and High optimizations.
✅ Ultra Graphics Mode: Restore the best possible graphics settings.
✅ Reset Option: Easily revert to default settings.
✅ Entity Optimization: Removes unnecessary entities at a distance for better performance.
✅ Culling batching: Processes entities in batches to reduce FPS spikes while applying profiles.
✅ Profile persistence (KVP): Automatically restores the last selected profile on resource start (configurable).
✅ Premium NUI: Modern in-game UI (HTML) with tabs and search for timecycles.
✅ IT/EN UI: Built-in translations for both NUI and ox_lib menu (configurable).
✅ Config-driven: UI mode, command, keybind, locale, culling presets and batching are controlled via config.lua.
- Download from the relases & Extract the resource into your
resourcesfolder. - Ensure Dependencies:
ox_lib(Required) → Download Here
- Add to
server.cfg:ensure Fpsboost-Menu - Start FiveM and use your configured command (default:
/fps) to open the menu.
/<Config.CommandName>(default:/fps) → Opens the FPS Boost Menu (NUI/ox/both depending on config)fpsboost:openMenu(Event) → Opens the menu programmatically
Edit config.lua:
Config.UiMode:nui/ox/bothConfig.Locale:it/en/auto(uses convarlocale, with optional saved override from the NUI)Config.CommandName: command to open the menu (default:fps)Config.EnableKeybind+Config.Keybind: optional key mapping (default key:F7)Config.SaveProfileKvp+Config.ProfileKvpKey: save/restore last profileConfig.Culling.enabled+Config.Culling.aggressive: enable/disable and aggressiveness of entity handlingConfig.CullingProfiles: per-profile distances/alpha (ultra_low / medium / high)Config.CullingBatch: batching settings (maxPerTick,tickWaitMs)Config.VersionCheck: version check on start (prints ASCII in server console when outdated)
- Aggressive culling may cause side effects on some servers/maps depending on entity usage. If you notice issues, set
Config.Culling.aggressive = falseor disable culling entirely.

