If they gain independence they will have to re-enter the EU, this is what no Scottish politician campaigning for independence wants to talk about, and to do this they will need consent from every existing member state.
Rangers can trade in England. They can sell tickets, and TV rights, if anyone actually wants to watch them. There is no right that states any EU football club can play in any other EU football league.