I've got some gear in my game, that has no crosshair image (it's just the blue circle thing). How do I change the crosshair for the gear?
The crosshair for any gear you see in a game, is actually just a custom mouse.Icon
. The Icon Property of the mouse
is whatever your cursor will show up as(:
So to edit the crosshairs of a gear, simply edit the mouse's Icon.
Example;
local template = 'rbxassetid://' --The template for the icon local icon = '0000000' --The actual ID to set your icon as local default = '' --The default icon for the mouse local tool = script.Parent --The tool --When the tool is equipped script.Parent.Equipped:connect(function(mouse) --Set the icon mouse.Icon = template..icon --When the tool is unequipped script.Parent.Unequipped:connect(function() --Revert the icon mouse.Icon = template..default end) end)
(NOTE) The mouse's Icon can only be set from a localscript!
Just as an additional thing, what do you mean by a "template"?