I am sorry to say but there is no way to get all hats in multiplayer but you can level up bye racing if you dont like multiplayer dino run go to regular and the code for all hats is don8tosuar

buy Dino Run SE to have all hats