--[[
	Fires when the local player's MouseButton1 interacts with the
	`ExitButton` GUI. Sets `Interacting` BoolValue to false.
	Returns: None
]]
-- 
function hide()
	MainFrame.Visible = false
	InteractionButton.Visible = false
	InteractionBillboard.Enabled = true
	
	-- Unfreeze the player
	humanoid.WalkSpeed = prevWalkSpeed or humanoid.WalkSpeed
	humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, true)
end

function show()
	MainFrame.Visible = true
	InteractionButton.Visible = false
	InteractionBillboard.Enabled = false
	
	-- Freeze the player
	prevWalkSpeed = humanoid.WalkSpeed
	humanoid.WalkSpeed = 0
	humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
end

