ذا الكود الصحيح
local Team = "Team Name"
bindKey("F2","down", function ( )
if getPlayerTeam(localPlayer) then
if getTeamName( getPlayerTeam(localPlayer) ) == Team then
guiSetVisible( WindowName, not guiGetVisible(WindowName) )
showCursor( guiGetVisible(WindowName) )
else
outputChatBox("This Command Just For ["..Team.."] Team !", 255, 0, 0)
end
else
outputChatBox("You Are Not in Team !", 255, 0, 0)
end
end )