How to Make An AI Enemy SideScroller? (Pixel Game)

Does anyone know how to make an AI Enemy in a side scroller Pixel Game to roam around then attack the player when the player makes a noise. The Monster is suppose to be blind monster that and only attacks when theirs noise.

If you’re using Pawns, look no further than:

https://www.youtube.com/results?search_query=ue5+pawn+noise