#Table Error

7 messages · Page 1 of 1 (latest)

jaunty dragon
#

Let me explain my problem...

#

I'm creating a system that detects when (specific) objects (parts) have been touched by a player & then things happen.

#

To do this, I use :

  • buttonValue Module :
local buttonValue = {
    Button1 = {
        ["COST"] = {
            leaderstats = {
                Stars = 100,
                
                GIVE = {
                    leaderstats = {
                        Multipliers = 1,
                    },
                },
            },
        },
    },
    Button2 = {
        ["COST"] = {
            leaderstats = {
                Stars = 850,
                
                GIVE = {
                    leaderstats = {
                        Multipliers = 5,
                    },
                },
            },
        },
    },
}

return buttonValue```
#

nvm

#

I think i find how to fix it

#

let me try

timid geyser
#

😔