Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make ClickDetector not show Mouse icon?

function click()

if script.Parent.BrickColor == BrickColor.new(1003) then script.Parent.BrickColor = BrickColor.new(1) else script.Parent.BrickColor = BrickColor.new(1003) end end

script.Parent.ClickDetector.MouseClick:connect(click) ClickDetector script

1 answer

✓ Accepted answer

If you are asking how to change the ClickDetector's default mouse icon, you can simply change the icon of the mouse when someone hovers over it using the MouseHoverEnter function.

local clickDetector = game.Workspace.Part.ClickDetector -- Location of ClickDetector

clickDetector.MouseHoverEnter:connect(function(player)
	player:GetMouse().Icon = "rbxasset://textures//ArrowCursor.png" -- Change this to any Icon you'd like
end)

clickDetector.MouseHoverLeave:connect(function(player)
	player:GetMouse().Icon = "rbxasset://textures\\ArrowFarCursor.png" -- Change this to any Icon you'd like
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.