In this script if the Player is looking at the entity that is going to teleport for 5 seconds, then the entity will disappear and teleport somewhere else around the map.
Hi @Mason_Rocchio! You need a timer for this (you can find solutions on the forum), the dot product (to check if the player is looking to the entity) and the teleport function. I think most of the things you need, are used in the Basic enemy AI example project (like the dot product and how to get a random position in the map). Please try to start yourself with a lot of trail and error.