Custom mouse cursor Not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? The only thing I want to achieve is for the mouse script to work, because in Roblox Studio it works, while I enter the real game and it doesn’t work.

  2. What is the issue?
    Roblox Studio:

Roblox:

  1. What solutions have you tried so far? I have looked for many solutions and it didn’t work for me.

I just need help solving the mouse problem.

I have 2 scripts.

-- local Mouse = game.Players.LocalPlayer:GetMouse()

Mouse.Icon = "rbxassetid://12646691384"

------------------------------------------------------------------------------------

-- local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local originalIcon = "rbxassetid://12646691384" -- Reemplaza "ID_DEL_ASSET" con el ID de asset del diseño del mouse que deseas utilizar

-- Función para restablecer el diseño del mouse
local function resetMouseIcon()
	Mouse.Icon = originalIcon
end

-- Configurar el diseño del mouse al inicio
Mouse.Icon = originalIcon

-- Restablecer el diseño del mouse cuando el menú de pausa se cierra
game:GetService("GuiService").MenuOpened:Connect(function()
	local isMenuOpen = game:GetService("GuiService"):GetMenuIsOpen()
	if not isMenuOpen then
		resetMouseIcon()
	end
end)

I don’t ask you to write the complete script or anything. I’m just asking for help to solve my problem. Thank you.

I’ve experienced this myself before. One of the ways I resolved it was to re-upload the image on the account/group you’re uploading the game to

1 Like

The problem is that I grabbed the image from the store, so is that the problem?

It would be a problem, in which case I would recommend using an image made by yourself, or that is publicly available and not copywrited.

1 Like