Hubungkan label teks ke leaderstats

local leaderstats = game:GetService("Players").LocalPlayer.leaderstats

while wait do
	wait()
	script.Parent.Text = leaderstats.Gem.Value -- Changes "Gem" With Leaderstats
end
Undefined