So, as you can tell by the code it's trying to change the mouse curser. However, studio says it's unable to change the curser.
The code is running on a local script in a Gui.
Code:
mhid = false
mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key)
key = string.lower(key)
if string.byte(key) == 113 then
if not mhid then
mhid = true
mouse.Icon = "http://www.roblox.com/asset/?id=20686724"
elseif mhid then
mhid = false
mouse.Icon = ""
end
end
end)
Output: Cannot set Icon of a PlayerMouse

5 comments
Players can unequip a tool using hockeys, even if the backpack CoreGui is disabled.
No they can't? If you want to test that then go here: http://www.roblox.com/Realms-place?id=142405423
Alright, even though this is disappointing news, i appreciate the help. Thank you.
@Articulating: Even if they can unequip it, then just have something checking to see if it isn't selected, and when it isn't, just reselect.
Nice answer