How to add an enemy that will chase you for an fps horror game

Im making an fps horror game and i cant get an enemy that will chase me, i would really like your help.

Hi @X_THR33 and welcome!

You can give my Basic enemy AI a try.

You could also add easing to the speed function so that there is some acceleration / deceleration for a more natural movement:
https://spicyyoghurt.com/tools/easing-functions