View difference between Paste ID: wDd5WJSA and 13KK5n83
SHOW: | | - or go back to the newest paste.
1
# Skript TOstentar Ostente Pacas
2
3
# Skript By TheEnderMitePvP
4
5
# Requer Skript, PermissionsEx(Recomando), Ou QualQuer Plugin De Permissions
6
7
# Não Tire Os Creditos Sem Você Ter O Minimu De Trabalho Por Isso
8
9
# Você Pode Editar Os Items Que Ele Recebera, E As Mensagens, E O Dinheiro Que Custara o Ra
10
11
12
13
14
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-Codigos#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
15
16
17
command /SerOstentador:
18
	permission: tostentar.comprar
19
	permission message: &c&l&oVocê Não Tem Permissão
20
	trigger:
21-
		make console execute command "/pex user %player% group set ostentador"
21+
		if player's balance is more than or equal to 1000000:
22-
		make console execute command "/eco take %player% 1000000"
22+
			if {o.%player%} is not set:
23-
		broadcast "&7&l[&a&l%player%&7&l] &b&l&oComprou o Rank &a&l&oOstentador &b&l&oPor &2&l$ 1000000"
23+
				remove 1000000 from player's balance
24-
		make console execute command "/pex reload"		
24+
				broadcast "&7&l[&a&l%player%&7&l] &b&l&oComprou o Rank &a&l&oOstentador &b&l&oPor &2&l$ 1000000"		
25
				set {o.%player%} to 1
26
			else:
27
				message "&c Voce ja possui esse rank"
28
		else:
29
			message "&cVoce nao tem dinheiro suficiente"		
30
	
31-
		set {_waited} to difference between {Ostentar.%player%.lastused} and now
31+
32-
		if {_waited} is less than 604800 seconds:
32+
33-
			message "&b&l&oVocê Ja Ostentou Muito Agora Espere %difference between 604800 seconds and {_waited}% Para Ostentar Novamente"
33+
34-
			stop		
34+
35-
		set {Ostentar.%player%.lastused} to now
35+
		if {o.%player%} is 1:
36-
		send "&b&l&oRecebendo Em &7&l10"
36+
			set {_waited} to difference between {Ostentar.%player%.lastused} and now
37-
		wait 1 second
37+
			if {_waited} is less than 604800 seconds:
38-
		send "&b&l&oRecebendo Em &7&l9"
38+
				message "&b&l&oVocê Ja Ostentou Muito Agora Espere %difference between 604800 seconds and {_waited}% Para Ostentar Novamente"
39-
		wait 1 second
39+
				stop		
40-
		send "&b&l&oRecebendo Em &7&l8"
40+
			set {Ostentar.%player%.lastused} to now
41-
		wait 1 second
41+
			send "&b&l&oRecebendo Em &7&l10"
42-
		send "&b&l&oRecebendo Em &7&l7"
42+
			wait 1 second
43-
		wait 1 second
43+
			send "&b&l&oRecebendo Em &7&l9"
44-
		send "&b&l&oRecebendo Em &7&l6"
44+
			wait 1 second
45-
		wait 1 second
45+
			send "&b&l&oRecebendo Em &7&l8"
46-
		send "&b&l&oRecebendo Em &7&l5"
46+
			wait 1 second
47-
		wait 1 second
47+
			send "&b&l&oRecebendo Em &7&l7"
48-
		send "&b&l&oRecebendo Em &7&l4"
48+
			wait 1 second
49-
		wait 1 second
49+
			send "&b&l&oRecebendo Em &7&l6"
50-
		send "&b&l&oRecebendo Em &7&l3"
50+
			wait 1 second
51-
		wait 1 second
51+
			send "&b&l&oRecebendo Em &7&l5"
52-
		send "&b&l&oRecebendo Em &7&l2"
52+
			wait 1 second
53-
		wait 1 second
53+
			send "&b&l&oRecebendo Em &7&l4"
54-
		send "&b&l&oRecebendo Em &7&l1"
54+
			wait 1 second
55-
		wait 1 second
55+
			send "&b&l&oRecebendo Em &7&l3"
56-
		give 256 diamond block named "&f&lO&a&ls&4&lt&7&le&e&ln&6&lt&b&la&1&lç&c&lã&9&lo" with lore "&5&lOOOOOOOOOHHH OSTENTAÇÂO FORA DO NORMAL♫♫♫♫" to the player
56+
			wait 1 second
57-
		broadcast "&6&l[&e&l%player%&6&l] &4&l>&c&l> &b&l&oEsta Ostentando Com 4 Pack De Dima&e&l, &b&l&oPara Ser Um Ostentador Compre O Rank Ostentador Dijitando /SerOstentador"
57+
			send "&b&l&oRecebendo Em &7&l2"
58
			wait 1 second
59
			send "&b&l&oRecebendo Em &7&l1"
60
			wait 1 second
61
			give 256 diamond block named "&f&lO&a&ls&4&lt&7&le&e&ln&6&lt&b&la&1&lç&c&lã&9&lo" with lore "&5&lOOOOOOOOOHHH OSTENTAÇÂO FORA DO NORMAL♫♫♫♫" to the player
62-
		send "&b&l&oSkript &6&lBy &9&lTheEnderMitePvP"
62+
			broadcast "&6&l[&e&l%player%&6&l] &4&l>&c&l> &b&l&oEsta Ostentando Com 4 Pack De Dima&e&l, &b&l&oPara Ser Um Ostentador Compre O Rank Ostentador Dijitando /SerOstentador"
63
		
64
		
65
command /TOstentarCreditos:
66
	trigger:
67
		send "&b&l&oSkript &6&lBy &9&lTheEnderMitePvP e &6&lGranTY"
68
		
69
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-Fim Do Codigo#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#