Skip to content
RPScripts

FiveM Minigames

Scratchcard

Scratchcard (LuckGame)

  • ESX

Description

Scratchcard (LuckGame) is a small FiveM lottery script for ESX. Players use a scratchcard item and scratch the card open in an on-screen UI; matching symbols win a cash prize. The code is open, so it can be ported to other frameworks.

Features

  • Scratch the card with your mouse in a browser (NUI) interface.
  • Fully configurable: currency symbol, the symbols on the card and the list of cash prizes.
  • Adding more symbols to the list changes the chance of getting a prize.
  • Optional Discord logs via webhook.
  • Works with ESX (can be ported to other frameworks).
  • Open source, including the UI source files, so you can edit the code.

Requirements

  • ESX with an item called scratchcard in your database

How to Install

  • Drop the script folder into your resources folder and name it scratchcard.
  • Make additions to config.lua, if needed (prizes, symbols, Discord webhook).
  • Add ensure scratchcard into your server.cfg.

Details

Frameworks
ESX
File size
997.2 kB
Updated
Sep 27, 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 Chezza Scratchcard

Checked: the one resource of this download.

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

Scratchcard (LuckGame)

$13.99€12.99£10.99A$20.99R$71.99CHF 11.99¥2,220

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