Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Please Tell Me Why this wont show the text as *5 my leaderstat?

ok = game.Players:WaitForChild('leaderstats')
okv = ok:WaitForChild('Yeets')
if okv then
script.Parent.Text = okv.Value *5
end

2 comments

0

Is it fixed?

0

If so please accept my answer

1 answer

✓ Accepted answer

Your problem is on line 1. you are looking for leaderstats in the Players and not the LocalPlayer just change the first line to say:

local ok = game.Players.LocalPlayer:WaitForChild('leaderstats')

1 comment

0

How did I get four upvotes on this answer?

This discussion is preserved as it was. New answers, comments, and votes are closed.