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

Correct Money Number wont appear like I progammed, whats the point?

So basically this script worked only one time and now it won't work, I tried it 5 times.

while true do
	script.Parent.Text = game.Players.LocalPlayer.leaderstats.Money.Value
	wait(0.1)
end

4 comments

0

Do you get an error output?

0

Is this in a LocalScript?

0

Are you trying to add money?

0

No I do not get error output, script is not in LocalScript and I'm not trying to add money... Money is already added as leaderstats.Money

1 answer

✓ Accepted answer

So, uh... I assume you already have this figured out, but for others who don't know...

LocalPlayer is read-only and can only be called from a LocalScript.

1 comment

0

You're right, here's a little reward. BTW i figured it out bout' 7 months ago :)

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