Client's uses the server's player controller (UE5)

yeah the ability (attack) is likely a bad reference

with the Input Action check where you add the InputMappingContext to the Input Subsystem