Why is this part not moving correctly? (RunService + CFrame)

Hi, I basically need to move this ‘magma ball’ using the CFrame of my character’s right hand. It’s for an ability (It’s still not complete and the code is not that different to noodles hehe)


video link: newGame - Roblox Studio 2023-10-17 19-52-15.mp4 - Google Drive

Since this forum doesn’t let me post videos I’ll share a drive with the issue + some printings of the CFrames to let u know that the magma ball should be following the character’s hand.

I tried using RunService stored in a variable to disconnect it later, but is it the best aproach? does it have a clear improvement or fix? or should I try to weld it to the hand instead of using the run service :?

This is my first post btw, and I’m kinda new to scripting, pls be nice :slight_smile: )

Can it be related to the character’s animation?

Probably something to do with the animation I imagine, but maybe you could just attach the ball instead? (or turn it into a tool/accessory) it might allow it to stay on the hand better rather than “following” the hand too.

I’ll definetly try that. I’m now thinking that it can also be related to my other script (local)… that locks the HumanoidRootPart to the X and Z axis of my camera, why am i so dumb :tired_face:
Thanks for the quick answer tho

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.