Hey there. I don’t really have much code to show, really just
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
mouse.Icon = "rbxasset://..."
Although it shows up in studio, it doesn’t in the actual game. Can anyone help out? Maybe some adjustments I need to make with the icon image I uploaded?
Yea. So I put my mouse icon as an image I uploaded recently. When I load into studio, the icon shows up. When I load it in game, the icon doesn’t show.
So, try to publish the decal in the same place as the game owner (group or user)
Also, execute this code on command bar for the correct id:
print('The correct id is:', string.split(game.InsertService:LoadAsset(original_decal_id_here).Decal.Texture, 'id=')[2])
And use the correct id in the code:
if not game:IsLoaded() then
game.Loaded:Wait()
end
local plr = game.Players.LocalPlayer
local Mouse = plr:GetMouse()
Mouse.Icon = 'rbxassetid://correct_id_here'