Hello. I am new to roblox game development and I am trying to make a game similar to Doom. How do I write a script that will make it so an npc can attack the player with a gun?