An easy way to get to 7,777 HP is in the battle against Emerald Weapon; Emerald Weapon's Aire Tam Storm deals 1,111 damage per equipped Materia; a character with 9,999 HP needs to take 2,222 damage to get to 7,777, which is achieved from Aire Tam Storm by equipping two Materia on said character.