Arc Handles MouseLeave issue

Ok here:

-- Returns mouse to normal (Works)
function returnToNormalMouse()
    if holding==false then
        setMouse("default")
    end
end

-- Connect function (Issue here)
script.Handles.HANDLE_ROTATION.MouseLeave:Connect(returnToNormalMouse)

This is the pcall one:

function returnToNormalMouse()
    if holding==false then
        setMouse("default")
    end
end

local success = pcall(function()
    script.Handles.HANDLE_ROTATION.MouseLeave:Connect(function(...) -- Gets variables but will not use (Thinked that it would work but it didn't help)
        returnToNormalMouse()
    end)
end)

if success==false then
    returnToNormalMouse()
end

The setMouse function works so there is really no need to provide it here, But if you do need it I can provide it anyway.

1 Like