#A problem with an error and DataStore

1 messages · Page 1 of 1 (latest)

halcyon tulip
#

So I have this issue where backround nil even though it should have everything, so I dont know why it doesnt work?

#

Here is the RollingScript(Local Script)

#

Here is the DataStore Script(Server)

#

and also here is the module script for luckySpin because this script only doesnt work when I try to spin for lucky else for normal it does

#

LuckyChance(Module)

#
local chance = {
    ["Rare"] = {
        ["rare"] = {
            name = "rare",
            rarity = 38
        },
        ["rare2"] = {
            name = "rare2",
            rarity = 37
        },
        
        backround = Color3.fromRGB(0, 163, 195),
        textColor = Color3.fromRGB(2, 103, 147)
    },
    ["Epic"] = {
        ["epic"] = {
            name = "epic",
            rarity = 15
        },
        backround = Color3.fromRGB(182, 0, 195),
        textColor = Color3.fromRGB(110, 0, 147)
    },
    ["Legendary"] = {
        ["legendary"] = {
            name = "legendary",
            rarity = 7
        },
        backround = Color3.fromRGB(195, 179, 0),
        textColor = Color3.fromRGB(147, 115, 0)
    },
    ["Mythic"] = {
        ["mythic"] = {
            name = "mythic",
            rarity = 3
        },
        backround = Color3.fromRGB(192, 190, 195),
        textColor = Color3.fromRGB(113, 113, 113),
        gradient = game.ReplicatedStorage.Guis.MythicGradient
    }
}
return chance
halcyon tulip
#

Yall useless