You can write your topic however you want, but you need to answer these questions:
-
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.
-
What is the issue?
Roblox Studio:
Roblox:
- 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.