HI I HAVE A gui In wich the player coins are shown and inside the gui i have a local script like this Local script :
local player=game.Players.LocalPlayer
local curr="Crafts"
script.Parent.Text=player.leaderstats[curr].Value
but this doesn't work it gives me leaderstats is not a valid member of Player

2 comments
thank you this worked Should i just make a while loop to the whole code to change it when their coin values have changed
no you dont have to use a while loop. if it worked, please accept the answer