Tyrix Dice

A realistic dice rolling script for FiveM with physics-based animations and multiple color options.

Features

  • Realistic Physics - Dice bounce and tumble naturally before settling

  • Multiple Colors - White, black, and red dice available

  • Roll 1-3 Dice - Flexible dice count per roll

  • 3D Text Display - Results shown above dice after settling

  • Proximity-Based - Only nearby players see dice and notifications

  • Server-Authoritative - Roll results determined server-side (anti-cheat)

  • Command or Item Mode - Use /dice command or inventory items

  • Multi-Framework - Auto-detects ox_inventory, QBCore, ESX, or standalone

  • ox_lib Integration - Optional text UI prompts

Quick Start

  1. Download and extract to your resources folder

  2. Add the following to your server.cfg:

server.cfg
ensure tyrix_dice

3. Restart your server 4. Use `/dice` to roll!

No additional configuration required - works out of the box!

Dependencies

Dependency
Required
Purpose

ox_lib

Optional

Text UI prompts for pickup keybind

Framework Support

The script automatically detects your framework:

Framework
Player Name Source

ESX

Character first/last name

QBCore

Character first/last name

Standalone

Steam/FiveM display name

No configuration needed - just install and go!

Support

For issues or feature requests, contact Tyrix.