Trying to implement custom tool / player's arm moving with camera

  1. What do you want to achieve?

I want a custom tool which doesn’t go off of roblox tools or a tool instance.

I have achieved this, though I have one small problem.

  1. What is the issue?

Since my tool is a custom tool, it doesn’t work like roblox tools. Let me show you my issue.

When my player looks too far up, I want my player’s arm to rotate upwards, also rotating my tool upwards so it points at the exact spot of the player’s mouse.

I’m using a flashlight model, and I want the player to be able to point anywhere, even the ceiling, and this current mechanism/tool is limiting that flexibility.

  1. What solutions have you tried so far?

I’ve looked on the DevForum, DevHub, YouTube. I can’t find anything useful.