- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleEdit of P#19288 - test
TypeDenizen Script
Date2015/08/13 07:17:22 UTC-07:00
ByPigman168
OtherEdit of paste #19288 - click here to see edit details
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
10000
#############################
##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 !" 




RawRaw



Pastes made: 64327