I was trying to do a GUI like in a simulator, the ones where it shows how many coins you have. Here is my script:
local cashHolder = game.StarterGui.StatGUI.Points
local Lplayer = game.Players.LocalPlayer
local leaderstats = Lplayer.leaderstats.Points
while true then do
local cashHolder.Text = Lplayer.leaderstats
wait(0.5)
end
Can someone please tell me why it is not working? Thank you!

3 comments
But wouldn't it be "Lplayer.leaderstats.Points.Value" ?
It still doesn't work
Try this one I made a mistake while typing