CCCPaste

Endings (MainScript)

function Good_Ending(Good)
	EndEvent:FireAllClients(Good)
	for _, player in pairs(game.Players:GetPlayers()) do
		spawn(function()
			player.AddWins.Value = player.AddWins.Value + 1
		end)
	end
end

function Bad_Ending(Bad)
	EndEvent:FireAllClients(Bad)
	for _, player in pairs(game.Players:GetPlayers()) do
		spawn(function()
			player.AddWins.Value = player.AddWins.Value + 1
		end)
	end
end