It will not work. The medall will not save in hub. You need to check "Require authentication for live games" and put a hubpassword and use this "SetMedal(medal, player, hub=world.hub, hub_password=world.hub_password)"