--functions

function coverdown()
	shutter.TextLabel.Visible = false
	shutter:TweenPosition(UDim2.new(0, 0,0.525, 0), "Out", "Sine", 1, true)
end

function coverup()
	shutter:TweenPosition(UDim2.new(0, 0,0.145, 0), "Out", "Sine", 1, true)	
	shutter.TextLabel.Visible = true
end

function menuoneappear()
	for _,v in pairs(machine.ToppingsOne:GetChildren()) do
		if v:IsA("TextButton") then
			v.Visible = true
		end
	end
	machine.ToppingsOne.Header.Visible = true
end

function menutwoappear()
	for _,v in pairs(machine.ToppingsTwo:GetChildren()) do
		if v:IsA("TextButton") then
			v.Visible = true
		end
	end
	machine.ToppingsTwo.Header.Visible = true
end

function menuonedisappear()
	for _,v in pairs(machine.ToppingsOne:GetChildren()) do
		if v:IsA("TextButton") then
			v.Visible = false
		end
	end
	machine.ToppingsOne.Header.Visible = false
end

function menutwodisappear()
	for _,v in pairs(machine.ToppingsTwo:GetChildren()) do
		if v:IsA("TextButton") then
			v.Visible = false
		end
	end
	machine.ToppingsTwo.Header.Visible = false
end