View difference between Paste ID: hB7Y3D6K and MjwYgr8K
SHOW: | | - or go back to the newest paste.
1
on rightclick with blaze rod:
2
	name of tool of player contains "&7Magia &b(Trovões)":
3
		set {_espera} to difference between {1231235.Delay::%player%} and now
4
		if {_espera} is less than 1 real minute:
5
			send "&cEspere para usar esse treco louco"
6
			stop
7
		play raw sound "fireworks.blast_far1" at player with pitch 1 volume 10
8
		strike lightning at the targeted block
9
		set {1231235.Delay::%player%} to now
10
on rightclick with blaze rod:
11
	name of tool of player contains "&7Magia &a(Teleporte)":
12
		set {_espera} to difference between {1231234.Delay::%player%} and now
13
		if {_espera} is less than 1 real minute:
14
			send "&cEspere para usar esse treco louco"
15-
		set fly mode of player to false
15+
			stop
16
		play raw sound "fireworks.blast_far1" at player with pitch 1 volume 10
17
		teleport player to clicked block
18
		set {1231234.Delay::%player%} to now
19
on rightclick with blaze rod:
20
	name of tool of player contains "&7Magia &c(Voar)":
21
		set {_espera} to difference between {123123.Delay::%player%} and now
22
		if {_espera} is less than 1 real minute:
23
			send "&cEspere para usar esse treco louco"
24
			stop
25
		play raw sound "fireworks.blast_far1" at player with pitch 1 volume 10
26
		set fly mode of player to true
27
		send "&a[Test]&c Agora você pode voar !"
28
		wait 30 seconds
29
		set fly mode of player to false
30
                set {123123.Delay::%player%} to now