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

How do you make mouse's icon smaller ?

So this is a script when player equips gets an icon. But this icon is fitting its whole screen. lol how do i make it like a normal mouse icon ? not very small but normal size. i just don't know how to resize icons

local Tool = script.Parent;

enabled = true
function onButton1Down(mouse)
	if not enabled then
		return
	end
	
	enabled = false
	mouse.Icon = "http://www.roblox.com/asset/?id=121173757"

	wait(5)
	mouse.Icon = "http://www.roblox.com/asset/?id=121173757"
	enabled = true

end

function onEquippedLocal(mouse)
	script.Parent.Handle.Equip:Play()
	if mouse == nil then
		print("Mouse not found")
		return 
	end
	mouse.Icon = "http://www.roblox.com/asset/?id=121173757"
	mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end


Tool.Equipped:connect(onEquippedLocal)

thank youuu!

1 answer

✓ Accepted answer

The mouse icon's size is dependent on the image's screen resolution. You can fix this issue by re-sizing the image in some kind of image editor program (i.e, paint.net, windows paint, etc.)

1 comment

0

okay, thanks

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