Code: Select all

```
registerCheats(
{
name: 'buy',
message: 'buy gem shop packs',
canToggleSubcheats: true,
subcheats: [
{
name: "Calm Serenity Bundle", // edit this
fn: function (params) {
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");
bEngine.getGameAttribute("BundlesReceived").h["bun_r"]=1;
actorEvents189._customBlock_DropSomething("PremiumGem", 4600, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("EquipmentCape14", 1, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("CardPack7", 1, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("Quest81", 4, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("Quest82", 4, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("GemP30", 4, 0, 0, 2, y, 0, x, y);
return `Calm Serenity Bundle has been bought!`;
}
},
{
name: "Timeless Bundle", // edit this
fn: function (params) {
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");
bEngine.getGameAttribute("BundlesReceived").h["bun_t"]=1;
actorEvents189._customBlock_DropSomething("PremiumGem", 6400, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("EquipmentCape16", 1, 0, 0, 2, y, 0, x, y);
actorEvents189._customBlock_DropSomething("EquipmentNametag13", 1, 0, 0, 2, y, 0, x, y);
return `Timeless Bundle has been bought!`;
}
}
]
}
);
```