--- FUNCTIONS ---


frame:WaitForChild("Paper").MouseEnter:Connect(function()
	connection = frame.Paper.MouseLeave:Connect(function()
		connection:Disconnect()
		tween:Create(frame.Paper, TweenInfo.new(1), {Position = UDim2.new(0.5,0,2,0)}):Play()
		tween:Create(frame.Paper, TweenInfo.new(1), {BackgroundTransparency = 1}):Play()
		tween:Create(frame.Paper, TweenInfo.new(1), {ImageTransparency = 1}):Play()
		
		task.wait(1)
		frame.Paper:ClearAllChildren()
	end)
end)

