#tp menu

1 messages · Page 1 of 1 (latest)

abstract bolt
#

I don’t understand that

#

I‘ve deleted all my scripts that I‘ve tried

#
    new ActionFormData()
        .title(``)
        .body(`Where Would You Like To Go§b ${player.name}§f?`)
        .button(`Spawn`, "textures/ui/icon_recipe_item")
        .button(`Pvp Mine`, `textures/items/diamond_sword`)
        .button(`Boss`, `textures/ui/bad_omen_effect`)
        .button(`Boss`, `textures/ui/bad_omen_effect`)
        .button(`Boss`, `textures/ui/bad_omen_effect`)
        .button(`Main Menu`, "textures/ui/refresh_light")
        .show(player)
        .then(result => {
            if (result.selection === 0) overworld.runCommandAsync(`tp @p[name="${player.name}", 74 141.00 212`) && player.runCommandAsync(`tag @s add cannotAttack`)
            if (result.selection === 1) overworld.runCommandAsync(`tp @p[name="${player.name}", 74.49 141.00 212.49`) && player.runCommandAsync(`tag @s remove cannotAttack`) && player.runCommandAsync(`tag @s add pvp`)
            if (result.selection === 2) overworld.runCommandAsync(`tp @p[name="${player.name}", 74.49 141.00 212.49`) && player.runCommandAsync(`tag @s remove cannotAttack`) && player.runCommandAsync(`tag @s add pvp`)
            if (result.selection === 3) Home(player);

        });
};```
#

And how does a tp menu to a player work?