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

why does the script didnt change the leaderstats?>

Asked by 5 years ago

im sorry im new to scripting but why the script below didnt change the player's leaderstats? i put it in a localscript

game.Players.LocalPlayer.leaderstats.Points.Value = 100
0
Location? User#19524 175 — 5y
0
If this is being done within the client, it will only change that value within the client. To change a leaderstats value you will need a script within either the Workspace or the SSS. IntensifiedFailure 20 — 5y
0
the localscript is put in the workspace A_nsonn 4 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

This would have to be in "ServerScriptService" or Workspace and be in a normal script. Localscripts don't go and or do not belong in SSS.

Ad

Answer this question