View difference between Paste ID: BRb6dnq3 and GTNFJnG5
SHOW: | | - or go back to the newest paste.
1-
command /setminerar [<text>]:
1+
command /setminerar [<number>]:
2
	permission: batata.admin
3
	trigger:
4-
		if arg 1 is "1":
4+
		if arg 1 is set:
5-
			set {minerar.1} to location of player
5+
			set {minerar.%arg 1%} to location of player
6-
			send "&aMinerar 1 marcado"
6+
7-
		if arg 1 is "2":
7+
8-
			set {minerar.2} to location of player
8+
9-
			send "&aMinerar 2 marcado"
9+
10-
		if arg 1 is "3":
10+
11-
			set {minerar.3} to location of player
11+
12-
			send "&aMinerar 3 marcado"
12+
13-
		if arg 1 is "4":
13+
14-
			set {minerar.4} to location of player
14+
15-
			send "&aMinerar 4 marcado"
15+
16-
		if arg 1 is "5":
16+
17-
			set {minerar.5} to location of player
17+
18-
			send "&aMinerar 5 marcado"
18+
19-
			
19+
20
			wait 5 seconds
21
			teleport player to {minerar.3}
22
			send "&aTeleportado"
23
		change of 20%:
24
			send "&2Aguarde &a5 segundos"
25
			wait 5 seconds
26
			teleport player to {minerar.4}
27
			send "&aTeleportado"
28
		change of 20%:
29
			send "&2Aguarde &a5 segundos"
30
			wait 5 seconds
31
			teleport player to {minerar.5}
32
			send "&aTeleportado"
33
		else:
34
			send "&2Aguarde &a5 segundos"
35
			wait 5 seconds
36
			teleport player to {minerar.1}
37
			send "&aTeleportado"