How do I make the players arm move up and down only using tools like a flashlight for an example

I want to know how to make those hand movement tools but only using tools I also want other players to see the movement I cant find any solution so I’m hoping somebody can help me on this. Would be much appreciated