How would I make an entity look at the player?
You can use the following API method:
which one would make it so it looks at the player?
You will have to reference the player entity in your script and pass its position the lookAt method.
Try studying the manual to learn more about scripting works:
You can find some more information about the lookAt function in the topic below.