How can I use a different method of making a flashlight instead of making a tool?

I want to make a flashlight but instead of making it a tool, I want to make a script where when you press for example “F” then an animation plays of the player picking up the flashlight and opening it and then pointing forward. And if you press F again, then he plays an animation of him closing it and putting it back.
I don’t know how to do that exactly though. Only thing I know is that I have to weld the flash light to the player when the player presses F but I don’t know about the animation and opening and closing the flash light.

Fire a remote event once player presses the F key. UserInputService is always available

and what about the animations?

Play the animation on client, just make sure to weld flashlight on ServerSide.

Alright I’ll see what I can do and Ill show you after I’m done.