How Can I Make a Tool That Has an Animation Move With A Player’s Head?

Hello everyone!
I’m trying to make the flashlight in my game move with the player’s camera when they are in first person mode. I’m using an animation for when the player is holding the flashlight, which keeps it in one place which makes it extremely hard to see when you aren’t looking directly in front of your character. I’m using the flashlight from Doors as an inspiration, as it moves along with the camera, but your player still has a custom holding animation different from the default arm in front of your character.

robloxapp-20231026-1845422.wmv (599.1 KB)
This is what I’m aiming to accomplish.

I’m fairly new to game development as a whole. I’ve tried researching for hours trying to find something that works, but everything I tried either just makes the arm go inside of the player or doesn’t work at all.

Any help would be greatly appreciated!

1 Like