Hello all! This may be a simple thing but i couldk not find any information.
I have a leaderstats with a IntValue. The value are showing, but not the name of the stat.
My code is this (on a script):
local leaderstats = Instance.new("Folder", player) leaderstats.Name = "leaderstats" local Ld = Instance.new("IntValue", leaderstats) Ld.Name = "Gold" Ld.Value = 10
As you can see in the image, the value is shown but not the name “gold”. I’ve tried with a StringValue but no success. Im trying to make a leaderstats with a StringValue and a IntValue.
[EDIT: the code is working fine. Actually i’ve just discovered that this happens only when you’re the first on the server, or using Play on studio. When you collapse the leaderstats, it starts to show the name]
Thank you all!