----- Script: -----


Button.Activated:Connect(function()

	----- Script: -----

	InformationData.Case.Value = CaseData.Case.Value
	InformationImage.Image = Image.Image
	InformationVariables.CommunPorcentage.Text = CaseData.CommunPorcentage.Value
	InformationVariables.UncommunPorcentage.Text = CaseData.UncommunPorcentage.Value
	InformationVariables.RarePorcentage.Text = CaseData.RarePorcentage.Value
	InformationVariables.LegendaryPorcentage.Text = CaseData.LegendaryPorcentage.Value
	
end)

local function UpdateQuantityText ()
	
	Variables.QuantityText.Text = Package.Value
	if Package.Value == 0 then
		Button.Visible = false
	else
		Button.Visible = true
	end
	
end

Package.Changed:Connect(UpdateQuantityText)

UpdateQuantityText()
