I have 3000 lines of code in my pawn is that fine ?

I have 3k+ lines of code in my pawn, despite having separate component for AI,Ability .
code on the pawn is mainly for character movement and referencing, is this fine or should i refactor ?

There is nothing wrong with that, from a technical or performance standpoint - unless your code is not performant.

If you are having a difficult time keeping organized in it, I guess you could refactor, but you aren’t going to suffer anything negative as is.

The Pawn, Actor and UObject classes from which your pawn inherits have A LOT more than that. Don’t worry about amount of code, worry about the quality.