As requested in another threat, here is a potentiel flashlight system for your game in the zipped project folder. You are free to copy/paste edit and do whatever with it.
It involves adding an additional player stat flashlightpower, then topping it off with batteries and slowly draining when you hit "F" to turn on the flashlight. It should be good to go, with the script replacing batteries if the player tries to spam click the item etc.
It is a barebone project, and pretty much just contain the flashlight part, but could possibly be useful if you are learning some of the visual scripting. This is probably of a medium to hard difficulty, not necessarily the script, but the fact that it also uses everything; playerstats, widgets, attachment points etc.