You have to beat the elite four and have the national pokedex(have at least 60 pokemon). then go to celio on island one and talk to him. after that go to mt.ember and deafeat the two rocket guys. go through the door and walk around until you find a ruby. go back and give it to celio and he'll give you a rainbow pass to go to 4,5,6, and 7 islands.