What do you want to achieve: Fix the Fe Gun Kit Aim bug where the crosshair dot does not align with the aimpoint. (note: this only occurs in the most recent version as far as im aware)
What is the issue?: When you align the aimpoint to the gun’s ironsight perfectly, the crosshair dot where the bullet is supposed to go is not aligned with the aimpoint part.
What solutions have you tried so far?: Researched the bug from other devforums post without any solution found as of yet.
As you can see in the image, the aimpoint part is aligned perfectly,
but when you aim its not aligned with the crosshair dot (where the bullet goes)
if Fake:FindFirstChild(“FakeCamera”) then
if (Camera.Focus.p-Camera.CoordinateFrame.p).magnitude <= 1 then
local NewCamCF = Fake.FakeCamera.CFrame:ToObjectSpace(Fake.PrimaryPart.CFrame)
if OldCamCF then
–Camera.CFrame = Camera.CFrame * NewCamCF:ToObjectSpace(NewCamCF)
local _, _, z = NewCamCF:ToOrientation()
local x, y, _ = NewCamCF:ToObjectSpace(OldCamCF):ToEulerAnglesXYZ()
Camera.CFrame = Camera.CFrame * CFrame.Angles(x, y, -z)
–If “FakeCamera” Motor6D parents outside viewmodel’s PrimaryPart (HumanoidRootPart), consider changing the line below.
CFAngles = CFrame.fromEulerAnglesXYZ(Fake.PrimaryPart.FakeCamera.Transform:ToEulerAnglesXYZ()) or CFrame.new()
end
OldCamCF = NewCamCF
–else
–Camera.CFrame = Camera.CFrame
end
end
Lines 508-523. Delete this and you’ll be fine.
I had this issue too and it drove me insane.