So I made a simple script that when you hover over ANY gui button, it makes a cursor follow your mouse. Heres the script: (the cursor that is supposed to show isn’t showing but the other one is)
run.RenderStepped:Connect(function()
imgToShow.Position = UDim2.fromOffset(uis:GetMouseLocation().X, uis:GetMouseLocation().Y - 1)
local ui = plrUi:GetGuiObjectsAtPosition(UDim2.fromOffset(uis:GetMouseLocation().X, uis:GetMouseLocation().Y -1 ))
for _, v in pairs(ui) do
if v:IsA('GuiButton') then
script.Parent:WaitForChild('cursor').Visible = false
script.Parent:WaitForChild('link').Visible = true
imgToShow = script.Parent:WaitForChild('link')
else
script.Parent:WaitForChild('cursor').Visible = true
script.Parent:WaitForChild('link').Visible = false
imgToShow = script.Parent:WaitForChild('cursor')
end
end
end)