New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

how to add Stat values to loacl player?

Asked by 3 months 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
3 months 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 — 3mo
Ad

Answer this question