Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How come "Points" do not show up in leaderstats?

I thought that copying "Dice Rolls" code but with "Points" would work, instead only "Dice Rolls" shows up in the game.

game.Players.PlayerAdded:Connect(function(plr)
	local stats = Instance.new("Folder")
	stats.Name = "leaderstats"
	stats.Parent = plr
	
	local DR = Instance.new("IntValue")
	DR.Name = "Dice Rolls"
	DR.Parent = stats
	
	local DP = Instance.new("IntValue")
	DP.Name = "Points"
	DP.Parent = plr
end)

1 answer

✓ Accepted answer

On your line 12,

DP.Parent = plr

DP should go into your stats folder

DP.Parent = stats

1 comment

0

oh

This discussion is preserved as it was. New answers, comments, and votes are closed.