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

No Cursor Script?

I was recently wondering how in lets say Amnesia games on ROBLOX when they hold the lantern or something they only have a dot instead of the cursor on your screen, how do they do that does anyone know the whole script? or explanation??

2 answers

✓ Accepted answer

Mouse object has 'Icon' property. For some reason you cannot change it when you claim the mouse with

localPlayer:GetMouse()

method, so you must use a tool in order to change it. This is the sample script for tool, that would set your cursor to invisible:

script.Parent.Equipped:connect(function(mouse)
mouse.Icon = "rbxasset://textures/Blank.png"
end)

Make that as local script and place it inside of tool.

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