This is for anybody that doesnt know how to get the mesh or texture ID if any accessory inside of a roblox script in game (Not in the command bar)
- Insert a server script where ever you want.
- copy/paste this and modify it
local mesh = game:GetService("InsertService"):LoadAsset(18148771343) -- Change to your ID
local meshID = mesh:FindFirstChildOfClass("Accessory").Handle.SpecialMesh.MeshId
local textureID = mesh:FindFirstChildOfClass("Accessory").Handle.SpecialMesh.TextureId
if meshID and textureID then
print(meshID) -- Optional
print(textureID) -- Optional
mesh:Destroy()
end