local door = createMarker( 390.7548828125, 173.8486328125, 1007.3828125, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
function removes ( v ) 
    if getElementType ( v ) == 'player' then 
        local theTeam = getPlayerTeam ( team1 ) 
            if theTeam then 
            setPlayerTeam ( v, nil,nil ) 
        end 
    end 
end 
addEventHandler ( "onMarkerHit",door, removes,false )