this is what i got so far
case '!gui':
const equ = player.getComponent("equippable");
const compass = new ItemStack("compass", 1);
system.run(() => {
compass.setLore([
'§d§lGui Menu§r',
'§7§o(right click)§r'
]);
equ.setEquipment(EquipmentSlot.Mainhand, compass);
});
break;```