Help me pls bruh im desprate af bruh

Hello i would like to know why is my script doing this and anyway possible to fix this
Screenshot 2025-12-15 211634
Its supposed to replace the other cursor with the larger one
heres the script

-- LocalScript inside ScreenGui

local player = game.Players.LocalPlayer
local userInput = game:GetService("UserInputService")
local imagelabel = script.Parent

-- Make sure ImageLabel is centered
imagelabel.AnchorPoint = Vector2.new(0.5, 0.5)

-- Wait for PlayerGui to exist
local playerGui = player:WaitForChild("PlayerGui")

-- Hide the default mouse
userInput.MouseIconEnabled = false

-- Track mouse movement
local mouse = player:GetMouse()
mouse.Move:Connect(function()
	imagelabel.Position = UDim2.new(0, mouse.X, 0, mouse.Y)
end)

Why don’t you just change the Mouse with the Mouse.Icon property instead?

3 Likes

Why don’t you just change the Mouse with the Mouse.Icon property instead?

damn i dont even know that exist

1 Like

If you do want the other way instead, you can set the mouse icon to something invisible!

1 Like

or just use UserInputService.MouseIconEnabled

bro i already done it in the script

oh i didnt see that LOL

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.