game.Players.PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Folder", player)
	leaderstats.Name = "leaderstats"
	local points = Instance.new("IntValue", leaderstats)
	points.Name = "Points"
    points.Value = 4
end)

5 comments

0

Is it a local script?

0

Is it a local script?

0

no

0

The game version means accessing the game from the site. I already published and saved it, and yet it does not change

0

Try putting it in ServerScriptService