I’m in need of help with setting up a part to be on the player’s shoulder. I don’t really know anything about CFrame but I still tried and I’m somewhat close to how I want it to be.
I don’t really know what I’m doing with this CFrame stuff since I just started trying to learn this, I’d appreciate it if someone could walk and explain me through this. Thank you!
you can clone the log and set it up as before then you create an offset cframe this moves the log 0.5 studs up from the arm’s center and rotates it 90 degrees around the y axis then you can use weld instead of weld constaintst since it’s easier positining you set weld part0 to rightupperarm and part1 to the log ( as long it’s r15) then u set the weld c0 to our offset
local logClone = log:Clone()
log:Destroy()
logClone.CanCollide = false
logClone.Parent = workspace
-- Adjust these values to fine-tune the position
local offsetX = 0.2 -- Move outward from the arm
local offsetY = 0.5 -- Move up the arm
local offsetZ = 0 -- Adjust forward/backward
local rotationX = math.rad(90) -- Rotate to be vertical
local rotationY = math.rad(0) -- Adjust if needed
local rotationZ = math.rad(0) -- Adjust if needed
local offset = CFrame.new(offsetX, offsetY, offsetZ)
* CFrame.Angles(rotationX, rotationY, rotationZ)
local weld = Instance.new("Weld")
weld.Part0 = character.RightUpperArm
weld.Part1 = logClone
weld.C0 = offset
weld.Parent = logClone