-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwand.sk
75 lines (53 loc) · 2.09 KB
/
wand.sk
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
command /basicwand:
trigger:
set the player's level to 0
set the player's level progress to 0
set {level.%player%} to 0.9999
set the player's level progress to {level.%player%}
give player 1 of stick named "Basic Wand" with lore "Basic Wand Item"
on click with stick:
line 1 of the lore of player's tool is "Basic Wand"
if {level.%player%} is more than 0:
remove 1 of the held item from the player
set {_loc} to location at player's head
set {_loc} to the location 1.7 meters in direction of player from location of {_loc}
set {level.%player%} to {level.%player%} - 0.025
set the player's level progress to {level.%player%}
loop 50 times:
set {_loc} to the location 1.2 meter in direction of player from location of {_loc}
spawn 1 of particle fireworks Spark at {_loc}
loop all entities where [distance between {_loc} and entity input is less than 1]:
loop-entity is not player
damage loop-entity by 3 hearts
else:
message "NO"
command /basicblaster:
trigger:
player is op
give player 1 of bone named "Basic Blaster" with lore "Basic Blaster"
on rightclick with bone:
line 1 of the lore of player's tool is "Basic Blaster"
cancel event
remove 1 of the held item from the player
shoot a snowball with speed 5
spawn 10 of particle cloud at the projectile
on projectile hit:
projectile is snowball:
set {_block} to location of projectile
create a safe explosion of force 10 at {_block}
command /confetti stick:
trigger:
player is op
give player 64 of stick named "Confetti Stick" with lore "Confetti Stick"
on click with stick:
line 1 of the lore of player's tool is "Confetti Stick"
remove 1 stick named "Confetti Stick" from the player
set {_loc} to location at player's head
set {_loc} to the location 1.7 meters in direction of player from location of {_loc}
loop 10 times:
set {_loc} to the location 3 meter in direction of player from location of {_loc}
spawn 100 of particle red dust:2 offset by 1, 1, 1 at {_loc}
command /energyitem:
trigger:
player is op
give player 1 of blaze powder named "Energy Refill" with lore "Energy Refill"