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

Is it possible to hide the stats in leaderstats?

Asked by 4 years ago

is it really possible to do it though?

        local leaderstats = Instance.new("Folder", player)
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local bucks = Instance.new("IntValue")
    bucks.Name = "Bucks"
    bucks.Value = 10
    bucks.Parent = leaderstats
0
name it anything other than leaderstats, like Leaderstats Daemonophobiaa 37 — 4y

1 answer

Log in to vote
0
Answered by
sheepposu 561 Moderation Voter
4 years ago

You can rewrite your code to

local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"

local bucks = Instance.new("IntValue", leaderstats)
bucks.Name = "Bucks"
bucks.Value = 10

Also, if you don't want the stats up on the leaderboard, just don't put them into the leaderboard folder. Make a new folder and put it in there like this

local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"

local stats = Instance.new("Folder", player)
stats.Name = 'Stats'

local bucks = Instance.new("IntValue", stats)
bucks.Name = "Bucks"
bucks.Value = 10
Ad

Answer this question