Droidekas are actually very limited. They can’t melee, crouch, or jump into vehicles unlike your standard trooper. It’s annoying but that is the only way to survive as a Droideka. You have to use their speed. Run away and live to fight another day! Lol