Dev console commands not working with my username

Hello. I am trying to use the developer console to change my leaderstats in my game. For some reason, it will only work with players whose usernames don’t begin with a number.
Something like this works: game.Player.Builderman.leaderstats.Money.Value = 100
But something like this doesn’t: game.Player.089roblox1.Money.Value = 100

If you know how to fix this, please help. Thanks :slight_smile:

Do this

game.Players["089roblox1"].leaderstats.Money.Value = 100

You can’t say a name starting with numbers in script without using [""] or :FindForChild()

1 Like

Thank you. That works. I tried something like that earlier but forgot to include the . before leaderstats.