These Lua-based scripts run within FiveM and dynamically adjust rendering parameters such as shadows, lighting, entity visibility, and draw distances. Scripts like the fivem-fps-optimizer offer multiple preset modes—Ultra Low, Low, Medium, and Reset to Normal—allowing players to toggle between performance levels with a single command.