Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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
0
Do you get an error output? blacksmiley0 19 — 6y
0
Is this in a LocalScript? instaclasher56 35 — 6y
0
Are you trying to add money? 4D_X 118 — 6y
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 AswormeDorijan111 531 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago

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.

0
You're right, here's a little reward. BTW i figured it out bout' 7 months ago :) AswormeDorijan111 531 — 6y
Ad

Answer this question