Question: how to change your trainer name in pokemon moon?
Answer: -> Reset the game and get access to Festival Plaza (1st Pokémon Center). -> Open the new save with PkHex, change OT's name and swap the new save's TID and SID for the old ones (original save).