View difference between Paste ID: V6wV4VWA and eZbF1GNg
SHOW: | | - or go back to the newest paste.
1-
on projectile hit:
1+
on shoot:
2-
	projectile is arrow
2+
( ){shotgun} is true
3-
	shooter has torch
3+
( )loop entities in radius 1 of projectile:
4-
	name of shooter's tool is "TorchBow"
4+
( )( )loop-entity is a arrow
5-
	if block at location of the projectile is air:
5+
( )( )add 1 to {_random}
6-
	set the block at location of the projectile to torch
6+
( )( )if {_random} is 1:
7-
	ignite entity
7+
( )( )( )push loop-entity to the right at speed random number from 0.05 to 0.11
8-
	remove 1 torch from shooter
8+
( )( )( )push loop-entity upwards at speed random number from 0.04 to 0.10
9-
	else:
9+
( )( )if {_random} is 2:
10-
	stop
10+
( )( )( )push loop-entity to the left at speed random number from 0.04 to 0.10
11
( )( )( )push loop-entity upwards at speed random number from 0.05 to 0.11
12
( )( )if {_random} is 3:
13
( )( )( )push loop-entity forwards at speed random number from 0.05 to 0.10
14
( )( )( )push loop-entity upwards at speed random number from 0.05 to 0.10
15
( )( )if {_random} is 4:
16
( )( )( )push loop-entity backwards at speed random number from 0.04 to 0.10
17
( )( )( )push loop-entity to the left at speed random number from 0.05 to 0.11
18
( )( )( )push loop-entity upwards at speed random number from 0.04 to 0.11
19
( )( )if {_random} is 5:
20
( )( )( )push loop-entity backwards at speed random number from 0.05 to 0.11
21
( )( )( )push loop-entity to the right at speed random number from 0.04 to 0.10
22
( )( )( )push loop-entity upwards at speed random number from 0.04 to 0.11
23
( )( )if {_random} is 6:
24
( )( )( )push loop-entity forwards at speed random number from 0.05 to 0.10
25
( )( )( )push loop-entity to the left at speed random number from 0.05 to 0.10
26
( )( )( )push loop-entity upwards at speed random number from 0.05 to 0.10
27
( )( )if {_random} is 7:
28
( )( )( )push loop-entity forwards at speed random number from 0.05 to 0.10
29
( )( )( )push loop-entity to the right at speed random number from 0.05 to 0.10
30
( )( )( )push loop-entity upwards at speed random number from 0.05 to 0.10
31
on rightclick with gold hoe:
32
( )name of player's tool contains "Shotgun"
33
( )cancel event
34
( )set {shotgun} to true
35
( )loop 10 times:
36
( )( )shoot an arrow from player at speed 3
37
( )set {shotgun} to false