IntValue is not a valid member of Folder "Players.plrnamehere.leaderstats"

Hello!

I’m trying to make an Admin GUI for my game and it includes a feature to set the value of Coins (they’re called RuneCoins in the game) of any player..

When you click the button to set a player’s RuneCoins value it just gives me an error saying:

RuneCoins is not a valid member of Folder “Players.playername.leaderstats”

image

However, RuneCoins is a member of that folder.
image

Here is the local script when you click the button:

and the serverscript:

1 Like

you forgot to put .Value at the end of RuneCoins. I don’t think that’s the solution to the actual error but it’s an error.

1 Like

Runecoins.value try that instead.

1 Like

Omg.

I wasn’t paying attention at what i’ve been writing!!

Thank you so so so so much! It means a lot! Without you, it would take me atleast 2 days to figure out what was wrong. Thank you!

1 Like