- 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
Date2017/02/08 23:11:33 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
28
29
30
31
32
3200
Ender_call_handler:
    type: world
    events:
        on entity damaged with:ender_call:
        - flag player endertimer
        - if <player.has_flag[endercallcooldown] {
          - actionbar "<&b><&l>- Cooling Down -"
          }
        else {
          - spawn ENDERMAN <player.location>
          - wait 2t
          - flag player endercallcooldown
          - attack <context.entity.location.find.living_entities.within[10]> target:<context.entity>
          - if <player.has_flag[endertimer]> {
            - adjust <player> fake_experience:1.0|3
            }
          - wait 20t
          - if <player.has_flag[endertimer]> {
            - adjust <player> fake_experience:0.5|2
            }
          - wait 20t
          - if <player.has_flag[endertimer]> {
            - adjust <player> fake_experience:0.0|1
            }
          - wait 20t
          - if <player.has_flag[endertimer]> {
            - adjust <player> fake_experience:0.0|0
            }
          - flag player endertimer:!
          - flag player endercallcooldown:!
        }



RawRaw



Pastes made: 62529