How to I print a player's money balance?
Hello, I am having trouble with a Server Script that I am doing, it is a Regular script
and I keep getting an error like, "leaderstats is not a valid member of Player". It would be appreciated if you would be able
to find the error, and by the way, do not recommend the Scripting Helper's discord.
1 | game.Players.PlayerAdded:Connect( function (Plr) |
2 | print (Plr.Name.. " has empty data!" ) |
3 | print (Plr.Name.. " Has loaded in!" ) |
4 | print (Plr.Name.. "'s balance is $" ..Plr.leaderstats.Cash.Value) |