Referencing Confusion

I made a leaderstat with a cash value and I don’t know how to reference the it, can someone help?

1 Like

game:GetService('Players').player.leaderstats.Cash

1 Like

Can you provide the script that makes the leaderstat value please.

1 Like

image
how would I reference the value to do something with it

1 Like
local CashValue = player.leaderstats.Cash.Value
print(CashValue)

Is it posable to reference it in a different script or is that not a thing?

1 Like

Yes, all you need is the player object value.