Unable to resolve my code errors.Please Help Me!

You have to CAST the handle to the character for it to work by the looks of it.

Do some research on how to Cast actors.