working flashlight - help needed

im trying to create a working flashlight thatd light an area in front of the player. how can i do so?
Continue to help post