- 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


TitleUntitled Paste
TypeDenizen Script
Date2016/01/09 07:40:31 UTC-08:00
ByGuest
Other
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
2700
ZItemsWorld:
  type: World
  events:
    on player right clicks with ZItemsMagicCompass:
    - if !<player.flag[MagicCompassCooldown]> {
        - if <player.xp.level> >= 1 {
            - experience take level 1
        } else {
            - take ZItemsMagicCompass
        }
        - playsound <player> zombie_unfect
        - wait 2s
        - teleport <player> <player.bed_spawn>
        - flag player MagicCompassCooldown duration:12s
    } else {
      - narrate "The mirror is still cooling down!"
    }
    on player right clicks with ZItemsGrapplingHook:
    - if !<player.flag[GrapplingHookCooldown] &&     <player.location.cursor_on.ignore[i@water|i@lava].distance[<player.location>]> < 15 {
      - flag player GrapplingHookCooldown duration:3s
      - flag player GrapplingHookTarget:<player.location.cursor_on.ignore[i@water|i@lava]>
      - fly <player> controller:<player> origin:<player.location> destination:<player.flag[GrapplingHookTarget]> speed:0.8 rotationthreshold:360
      #Break flight after 3s
      - wait 3s
      - fly cancel <player> controller:<player>
      }



RawRaw



Pastes made: 78226