Dice Script | Interactive Dice Roll System!

Preview: YouTube

Tebex: Buy for 8.99€ + VAT

Config
_4p = {
    Framework = "esx", -- Framework you are using (esx, qbcore or custom) (qbcore not tested, no quarantee it will work)

    DiceRollingTime = 4, -- Length of the game in seconds

    useSetting = {
        command = true,
        commandName = "dice", -- Command name to start the game
        commandHotkey = "L", -- Hotkey to start the game

        item = true,
        itemName = "dice", -- Item name to start the game
    },

    -- server color html/index.css line: [--theme-color: 255, 0, 92; /*IN RGB CODE NOT HEX CODE*/]#

    lang = "de", -- Language of the script (en, de, fr, es, it, nl, pl)
}

_4p.notify = function(message, source)
    if IsDuplicityVersion() then
        TriggerClientEvent("esx:showNotification", source, message)
    else
        ESX.ShowNotification(message)
    end
end


_4p.language = {
    ["en"] = {
        ["game_running"] = "You are already playing a game",
        ["dice_end"] = "The Dice is showing %s",
        ["rolling_text"] = "%s is rolling the dice!",
    }, 
    ["de"] = {
        ["game_running"] = "Du spielst bereits ein Spiel",
        ["dice_end"] = "Der Würfel zeigt %s",
        ["rolling_text"] = "%s Würfelt!",
    }, 
    ["fr"] = {
        ["game_running"] = "Vous jouez déjà à un jeu",
        ["dice_end"] = "Le dé montre %s",
        ["rolling_text"] = "%s lance le dé!",
    }, 
    ["es"] = {
        ["game_running"] = "Ya estás jugando un juego",
        ["dice_end"] = "El dado muestra %s",
        ["rolling_text"] = "%s está lanzando el dado!",
    }, 
    ["it"] = {
        ["game_running"] = "Stai già giocando a un gioco",
        ["dice_end"] = "Il dado mostra %s",
        ["rolling_text"] = "%s sta lanciando il dado!",
    }, 
    ["nl"] = {
        ["game_running"] = "Je speelt al een spel",
        ["dice_end"] = "De dobbelsteen toont %s",
        ["rolling_text"] = "%s gooit de dobbelsteen!",
    }, 
    ["pl"] = {
        ["game_running"] = "Już grasz w grę",
        ["dice_end"] = "Kostka pokazuje %s",
        ["rolling_text"] = "%s rzuca kostką!",
    }, 
}

NOW WITH QBCORE SUPPORT!

If you’re experiencing any issues, don’t worry! We’ve got you covered. Simply open a ticket in our Discord, and our team will work hard to assist you.

Discover our simple yet fun FiveM Dice Roll Script:

:game_die: Key Features:

  • 🡂 Easy-to-use dice rolling command/item: Players can roll a number to make decisions quickly.
  • 🡂 Add excitement and randomness: Perfect for resolving disputes or making group decisions.
  • 🡂 Flexible uses: Incorporate it into various roleplay scenarios to enhance player interaction.
  • 🡂 Simple setup: Easy to configure and integrate into any FiveM server.
  • 🡂 No more endless debates: Just roll the dice and let chance decide! Ideal for casual players and serious roleplay servers alike.
  • 🡂 Personalize: Change the theme color to match your server’s style.

Make decision-making more fun and spontaneous with our Dice Roll Script! :game_die:


Other Cool Scripts:

4p-fishing: click
4p-crafting: click
4p-repairkit: click
4p-pausemenu: click

Code is accessible No
Subscription-based No
Lines (approximately) 400
Requirements es_extended
Support Yes
4 Likes

nice design, can i change the color in the config?

3 Likes

of course

4 Likes

:sob::sob::sob::sob::sob::sob::sob:

2 Likes

what is it

4 Likes