OrigintalRightC0=RightShoulder.C0
Character.ChildAdded:Connect(function(thing)
if thing:IsA("Tool") and thing~=CurrentTool then
OriginalAimCFrame=thing:FindFirstChild("AimPart").CFrame
CurrentTool=thing
AimOffseter= CurrentCamera.CFrame:ToObjectSpace(OriginalAimCFrame)
end
end)
if IsAim then
RightShoulder.C0=RightShoulder.C0:Lerp(Offseter, 0.2)
else
RightShoulder.C0=RightShoulder.C0:Lerp(OriginalRightC0, 0.2)
end
i’m trying to make an fps aiming system, trying to make the AimOffseter work
How can i make Aimoffseter work properly, basically i have aimpart which is welded to the right arm, and when i aim, i want the right arm to go to aimoffset relative to currentcamera, so the right arm brings the gun to the head so the player can aim and look down the sights. But when I do it it does this:
