Not valid member error

So I start scripting recently and this error happened

image

But I didn’t see anything wrong

image

image

You have to write the Tix in all capital letters in player.leaderstats.Tix.Value like this:
player.leaderstats.TIX.Value
Or set IntValue’s name to “Tix” instead of “TIX”.

2 Likes