Date: 2019/12/10 12:59:29 UTC-08:00
Type: Denizen Script
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
waystone_gui:
type: inventory
title: Waystone
size: 9
slots:
- "[] [] [] [] [] [] [] [] [warp_home]"
waystone_handler:
type: world
events:
on player drags in waystone_gui:
- wait 1t
- determine cancelled
on player right clicks barrier:
- wait 1t
- inventory open d:in@waystone_gui
keystone_moving:
type: world
events:
on player clicks:
- wait 2t
- if <player.has_flag[graceperiodmoving].not>:
- flag <player> moving duration:3s
on player damages entity:
- wait 2t
- if <player.has_flag[graceperiodmoving].not>:
- flag <player> moving duration:3s
on player walks:
- wait 2t
- if <player.has_flag[graceperiodmoving].not>:
- flag <player> moving duration:3s
keystone_handler:
type: world
events:
on player right clicks with keystone_item:
- wait 1t
- if <player.has_flag[cooldownkeystone]>:
- stop
- flag <player> cooldownkeystone duration:4s
- flag <player> graceperiodmoving duration:2s
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER
- if <player.has_flag[moving]||false> == true:
- stop
- wait 1
- if <player.has_flag[moving]||false> == true:
- stop
- playsound <player> sound:ENTITY_ARROW_HIT_PLAYER pitch:10
- inventory open d:in@waystone_gui
on player walks:
- define moved:true
keystone_item:
type: item
material: diamond
display name: <reset>Keystone