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

how to add Stat values to loacl player?

Asked by 5 years ago

i need add somethinks in here https://gyazo.com/5cfa4a962e2017f04da00b18897652b8 this need to be automatic

1 answer

Log in to vote
0
Answered by
mateyz 22
5 years ago

You'd have to put a script in the StarterPlayerScripts that'll create a folder with stats. Something like this,

local Player = game.Players.LocalPlayer

local playerStats = Instance.new("Folder", Player)
playerStats.Name = "Stats"

local Money = Instance.new("NumberValue", playerStats)
Money.Name = "Money"
0
Thank You WolfNoobkiller6874 2 — 5y
Ad

Answer this question