--[[PROVAVELMENTE, VOCÊ TENHA ERRADO NA VERIFICAÇÃO DAS ABAS, MANDE O CÓDIGO DA PRIMEIRA ABA POR FAVOR MANO.]--
painel = false
aba = "nil"
function Botao2 (_,state)
if painel == true and aba == "aba2" then
if state == "down" then
if isCursorOnElement ( screenW * 0.8042, screenH * 0.3333, screenW * 0.9344, screenH * 0.3907 ) then
triggerServerEvent("ficarInvisivel", localPlayer)
aba = "nil"
painel = false
end
end
end
end
addEventHandler ("onClientClick", root, Botao2 )