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


local function UpdateButton ()
	if Skin.Quantity.Value == 0 then
		Button.Visible = false
	else
		Button.Visible = true
	end
end

local function QuantityTextUpdate ()
	QuantityText.Text = Skin.Quantity.Value
end

Skin.Quantity.Changed:Connect(UpdateButton)
Skin.Quantity.Changed:Connect(QuantityTextUpdate)

QuantityTextUpdate()
UpdateButton()

Button.Activated:Connect(function()
	
	InformationText.Text = LocalInformationText.Value
	InformationCaseText.Text = LocalCaseInformationText.Value
	InformationImage.Image = Image.Image
	
end)
