There are a few ways to get the true ending in Persona 5 Royal. The easiest way is to complete the game with all Social Links maxed out. Another way is to complete the game with all Personas summoned. The last way is to complete the game with a perfect score.