新版一级雪球菜单


显创建一个计分板
/scoreboard players add cd dummy (可以在聊天框输入,也可以在命令方块输入)
还要弄一个常加载区域
/tickingarea add circle ~~~ 4 (尽量在命令方块输入,循环 无条件 保持开启)
一.
execute as @a[scores={cd=1..},rxm=88] at @s positioned ~~~ run scoreboard players set @s cd 0
低头清楚自身cd分数(循环 无条件 保持开启)
2.execute as @a[scores={cd=1..},rxm=88] at @s positioned ~~~ run titleraw @s actionbar {"rawtext":[{"text":"§l§b菜单已关闭"}]}
提示(连锁 无条件 保持开启)
二.
/replaceitem entity @a slot.hotbar 7 destroy egg 2 0 {"minecraft:item_look":{"mode":"lock_in_slot"}}
给每个人鸡蛋 (循环 无条件 保持开启)
execute as @e[type=egg] at @s positioned ~~~ run scoreboard players add @p[r=1] cd 1
给丢一次鸡蛋的人给自己的cd加一分 (连锁 无条件 保持开启)
kill @e[type=egg]
清楚丢出去的鸡蛋实体 (连锁 无条件 保持开启)
三.
1.execute as @a[scores={cd=1}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭请自制菜单
§l§c改 创 造
§l§e改生存
§l§e改冒险
§l§e回主城
§l§e去商店
§l§e内容1
§l§e内容2
§l§e内容3
这个内容可以自己加 (循环 无条件 保持开启)
你也可以继续往后加
2.execute as @a[scores={cd=1},tag=创造,rx=-88] at @s positioned ~~~ run gamemode 1
(连锁 无条件 保持开启)
3.execute as @a[scores={cd=1},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戏模式更改成功!!!
(连锁 无条件 保持开启)
4.execute as @a[scores={cd=1},tag=!创造,rx=-88] at @s positioned ~~~ run title @s actionbar §l§c您没用此权限!!!
(连锁 无条件 保持开启)
5.execute as @a[scores={cd=1},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(连锁 无条件 保持开启)
四.execute as @a[scores={cd=2}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭请自制菜单
§l§e改创造
§l§c改 生 存
§l§e改冒险
§l§e回主城
§l§e去商店
§l§e内容1
§l§e内容2
§l§e内容3
(循环 无条件 保持开启)
2.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run gamemode 0
(连锁 无条件 保持开启)
3.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戏模式更改成功!!!
(连锁 无条件 保持开启)
4.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(连锁 无条件 保持开启)
五.
1.execute as @a[scores={cd=3}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭请自制菜单
§l§e改创造
§l§e改生存
§l§c改 冒 险
§l§e回主城
§l§e去商店
§l§e内容1
§l§e内容2
§l§e内容3
(循环 无条件 保持开启)
2.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run gamemode 2
(连锁 无条件 保持开启)
3.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戏模式更改成功!!!
(连锁 无条件 保持开启)
4.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(连锁 无条件 保持开启)
六.
1.execute as @a[scores={cd=4}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭请自制菜单
§l§e改创造
§l§e改生存
§l§e改冒险
§l§c回 主 城
§l§e去商店
§l§e内容1
§l§e内容2
§l§e内容3
(循环 无条件 保持开启)
2.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run tp 坐标
(连锁 无条件 保持开启)
3.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b传送成功!!!
(连锁 无条件 保持开启)
4.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(连锁 无条件 保持开启)
七.
1.execute as @a[scores={cd=5}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭请自制菜单
§l§e改创造
§l§e改生存
§l§e改冒险
§l§e回主城
§l§c去 商 店
§l§e内容1
§l§e内容2
§l§e内容3
(循环 无条件 保持开启)
2.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run tp 坐标
(连锁 无条件 保持开启)
3.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b传送成功!!!
(连锁 无条件 保持开启)
4.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(连锁 无条件 保持开启)
指令如果有问题加一下Q群:264505422
作者QQ号:3062363528
自创
游戏名:恭请111
副游戏账号名:共青111