Ummm? What is the bug?
Error: 17:42:52.670 - This Mouse is no longer active 17:42:52.672 - Stack Begin 17:42:52.673 - Script 'Players.Player1.Backpack.Pistol.Gun_Script', Line 361 17:42:52.675 - Stack End
Line 361:
Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
All
Camera.Changed:connect(function() if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then Mouse.TargetFilter = workspace Character.Torso.Neck.C1 = CFrame.new() Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0) end end)
This Mouse is no longer active
usually happens when you are using a HopperBin, if you are, you need to use tools. Otherwise, why not update it by RenderStepped? It won't error if you do it right, and it will also update correctly for what I think you are trying to go for.