There may be other posts about this same topic, but I have tried all the solutions to no avail and searched around for an hour or so. I’m trying to move a tool to a part using Tool.Grip. I don’t understand CFrames that well for things like this, and I need some help with what I should be doing to the CFrame to get it to rotate properly and go to the part. Currently, it’s just a little off sometimes, but the rotation of my character affects the tool so sometimes it just launches into space or is just a little off.
I’ve been looking for a while and this looks like the best solution I found so far, but it still has some flaws and overall doesn’t work.
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Tool = Player.Character.Tool
local Character = Player.Character
local Target = workspace.Part
local Diff = Character.RightHand.CFrame:toObjectSpace(Target.CFrame)
Tool.Grip = Diff