Something
public text v1 · immutableif thisShip.Position:getDistance(GreenFlag.Position) < 10 then --if one of those ships is touched the flag
if thisShip.Team ~= GreenFlag.Team then --filter out one team
GreenFlagBearer = thisShip -- he's the flagbearer!
else --recovering a dropped flag
if GreenDrop == 1 then
GreenDrop = 0
GreenFlag.Position = GreenBase.Position
GreenFlagBearer = nil
end
end
end