UGameplayStatics is not a class or namespace name error?!

Yup, This is why I was asking about including relevant classes. You are inheriting from Actor. GameplayStatics is included in Pawn.cpp and since Character Inherits from Pawn, it has access to it.