Skip to content
RPScripts

FiveM Minigames

FiveM Lucky Games

Luck Games System V1 [Minigames] (ESX/QB/VRP/STANDALONE)

  • ESX
  • QBCore
  • vRP

Description

Luck Games System V1 by Legendary Team is a set of games of chance: players pay money at an NPC and play for a prize. It supports ESX, QBCore, vRP and a standalone mode.

Features

  • Four games: Lucky Number, Find Animals (memory-style pairs), Gold Collect (catch falling coins, then answer a question within 1 minute) and Winning Roulette
  • Games are opened at an NPC (default key E); you can place as many NPCs as you like and change the ped model
  • Set the price and description of every game in Config.lua
  • Rewards can be bank money, items or weapons
  • You can disable any of the games
  • Server-side sessions: the server checks that a game was started, paid and won before it gives out a reward
  • Discord webhook logs for session creation and for who won or lost a game
  • You can easily translate the graphical interface and configure the script in the Config.lua file
  • Lua code is readable (escrow-ignored) and the Vue.js source of the UI is included

Requirements

  • ESX, QBCore or vRP, or standalone mode (adapt Server/Framework_Standalone.lua for another framework)

Installation

  • Copy resources/lg_luckgames into your resources directory
  • In Config.lua set use_framework: 1 = ESX, 2 = QBCore, 3 = vRP, 4 = Standalone
  • For vRP, enable the line "@vrp/lib/utils.lua" in fxmanifest.lua
  • Adjust NPC coordinates, prices and rewards, then add ensure lg_luckgames to your server.cfg

Details

Frameworks
ESX, QBCore, vRP
File size
14.2 MB
Updated
Oct 14, 2026
How to install it

Installation

  1. Unzip the download into your server's resources folder.
  2. Add these lines to server.cfg, in this order:
    ensure lg_luckgames
  3. Some files are Cfx escrow-protected (.fxap). Keep them unchanged.

Checked: 1 resource. Not checked: escrow-protected code in 1 resource.

From a static check of the files by the RPScripts Lab. It is not a test that your server starts.

Can't find the exact script? Generate it.

Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.

Try the FiveM AI Script Generator