Title | Edit of P#19288 - test |
Type | Denizen Script |
Date | 2015/08/13 07:17:22 UTC-07:00 |
By | Pigman168 |
Other | Edit of paste #19288 - click here to see edit details |
Paste |
#############################
##Hub script make by xion87## ############################# login: type: world debug: false events: on player logs in: - wait 2t - inventory clear d:<player.inventory> - wait 2t - give i@Auras slot:3 - give i@navigator slot:1 - give i@visibility slot:8 - give i@aesthetics slot:5 navigator: type: item material: 345 bound: true display name: "<yellow><bold>Navigator" navigator_effect: type: world debug: true events: on player right clicks with i@navigator: - execute as_op "cc open menu" regulation: type: item material: 403 bound: true display name: "<yellow><bold>Rules" invisibility: type: item material: SLIME_BALL bound: true no_id: true display name: "<gold>HideAllPlayers" lore: - <dark_red>Right Click to activate visibility: type: item material: MAGMA_CREAM bound: true no_id: true display name: "<gold>ShowAllPlayers" lore: - <dark_red>Right Click to activate HidePlayersEvent: type: world events: on player right clicks with i@visibility: - flag <player> hidePlayers:false - narrate "<green>Players shown!" - inventory set origin:i@invisibility slot:<context.slot> on player right clicks with i@invisibility: - flag <player> hidePlayers:true - narrate "<green>Players hidden!" - run s@hidePlayersLoop def:<player> - inventory set origin:i@visibility slot:<context.slot> hidePlayersLoop: type: task definitions: player script: - if <def[player].flag[hideEntities]> == true { - foreach <player.location.find.entities[player].within[50]> { - adjust <player> hide_entity:%value% } - wait 2s - run s@hidePlayersLoop def:<def[player]> } aesthetics: type: item material: 399 bound: true display name: "<yellow><bold>modification aesthetics <dark_gray>- <aqua>Cosmetics/Pets/Auras" aesthetics_effect: type: world debug: true events: on player right clicks with i@aesthetics: - execute as_op "cc open aesthetics" Auras: type: item material: ENDER_CHEST bound: true no_id: true display name: "<&3>Funny<dark_red>Chest <dark_gray>- <gray>Right Click !" |
Raw | Raw |