--Funçao para abrir o menu de respostas


local key = game:GetService("UserInputService")

key.InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.Q then
		if script.Parent.Tela.Visible == false then   -- Se a tela estiver invisivel 
			script.Parent.Tela.Visible = true         -- Fica visivel
			script.Parent.Tela.Mouse.Modal = true
		else                             -- Se não:
			script.Parent.Tela.Visible = false
			script.Parent.Tela.Mouse.Modal = false
		end	
	end
end)

script.Parent.MouseButton1Click:Connect(function()
	if script.Parent.Tela.Visible == false then
	script.Parent.Tela.Visible = true
	elseif script.Parent.Tela.Visible == true then
		script.Parent.Tela.Visible = false
	end
end)
