I'm trying to make it to where a players leaderstats are listed on their arm, this is my code so far:
local plr = game:GetService("Players").LocalPlayer
while true do
wait(0.2)
plr.Humanoid.Parent["Right Arm"].SurfaceGui.TextLabel.Text = plr.leaderstats.Time.Value
end
I don't know what I did wrong, can anyone help?

5 comments
Is this in a local script or a serverscript
You first have to define plr
@JustinWe12 It's a local script in StarterCharacterScripts
@JustenWe12 forgot to include that part I'll edit it, but player is defined.
If you want other players to see the leaderstats, you need to change the Text in a server script using remote events.