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
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