-- Main script execution

game.Players.PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Folder")
	leaderstats.Name = "leaderstats"

	local points = Instance.new("IntValue")
	points.Name = "Points"
	points.Parent = leaderstats

	local survival = Instance.new("IntValue")
	survival.Name = "Survival"
	survival.Parent = leaderstats

	leaderstats.Parent = player
end)

dayNightCycle()
