# script.Parent.Equipped:Connect(function() equipped = true local _, yRot, xRot = camera.CFrame:toEulerAnglesXYZ() xAngle = math.deg(yRot) yAngle = math.deg(xRot) -- rest of code end)