View difference between Paste ID: vrYpUuaq and MU325Fvj
SHOW: | | - or go back to the newest paste.
1
command /rankup:
2
	trigger:
3
		if {rankup::%player%} is "&8[&eA&8]":
4
			if player's balance >= 100000:
5
				set {rankup::%player%} to "&8[&cB&8]"
6
				console command "pex user %player% group set b"
7-
				send "&aYou Have Ranked Up To &8[&cB&8]"
7+
				send "&aYou have ranked up to &8[&cB&8]"
8
				remove 100000 from player's balance
9
			else:
10-
				send "&cYou Need &o$100k &cTo Rankup"
10+
				send "&cYou need &o$100k &cto rankup"
11
		if {rankup::%player%} is "&8[&cB&8]":
12
			if player's balance >= 250000:
13
				set {rankup::%player%} to "&8[&aC&8]"
14
				console command "pex user %player% group set c"
15-
				send "&aYou Have Ranked Up To &8[&aC&8]"
15+
				send "&aYou have ranked up to &8[&aC&8]"
16
				remove 250000 from player's balance
17
			else:
18
				send "&cYou Need &o$250k &cTo Rankup"
19
		if {rankup::%player%} is "&8[&aC&8]":
20
			if player's balance >= 500000:
21
				set {rankup::%player%} to "&8[&5D&8]"
22
				console command "pex user %player% group set d"
23-
				send "&aYou Have Ranked Up To &8[&5D&8]"
23+
				send "&aYou have ranked up to &8[&5D&8]"
24
				remove 500000 from player's balance
25
			else:
26
				send "&cYou Need &o$500k &cTo Rankup"
27
		if {rankup::%player%} is "&8[&5D&8]":
28
			if player's balance >= 1500000:
29
				set {rankup::%player%} to "&8[&6E&8]"
30
				console command "pex user %player% group set e"
31-
				send "&aYou Have Ranked Up To &8[&6E&8]"
31+
				send "&aYou have ranked up to &8[&6E&8]"
32
				remove 1500000 from player's balance
33
			else:
34-
				send "&cYou Need &o$1.5M &cTo Rankup"
34+
				send "&cYou need &o$1.5M &cto rankup"
35
		if {rankup::%player%} is "&8[&6E&8]":
36
			if player's balance >= 5000000:
37
				set {rankup::%player%} to "&8[&9F&8]"
38
				console command "pex user %player% group set f"
39-
				send "&aYou Have Ranked Up To &8[&9F&8]"
39+
				send "&aYou have ranked up to &8[&9F&8]"
40
				remove 5000000 from player's balance
41
			else:
42-
				send "&cYou Need &o$5M &cTo Rankup"
42+
				send "&cYou need &o$5M &cto rankup"
43
		if {rankup::%player%} is "&8[&9F&8]":
44
			if player's balance >= 10000000:
45
				set {rankup::%player%} to "&8[&bG&8]"
46
				console command "pex user %player% group set g"
47-
				send "&aYou Have Ranked Up To &8[&bG&8]"
47+
				send "&aYou have ranked up to &8[&bG&8]"
48
				remove 10000000 from player's balance
49
			else:
50
				send "&cYou Need &o$10M &cTo Rankup"
51
		if {rankup::%player%} is "&8[&bG&8]":
52
			if player's balance >= 25000000:
53
				set {rankup::%player%} to "&8[&dH&8]"
54
				console command "pex user %player% group set h"
55-
				send "&aYou Have Ranked Up To &8[&dH&8]"
55+
				send "&aYou have ranked up to &8[&dH&8]"
56
				remove 25000000 from player's balance
57
			else:
58-
				send "&cYou Need &o$25M &cTo Rankup"
58+
				send "&cYou need &o$25M &cto rankup"
59
		if {rankup::%player%} is "&8[&dH&8]":
60
			if player's balance >= 40000000:
61
				set {rankup::%player%} to "&8[&2I&8]"
62
				console command "pex user %player% group set h"
63-
				send "&aYou Have Ranked Up To &8[&2I&8]"
63+
				send "&aYou have ranked up to &8[&2I&8]"
64
				remove 40000000 from player's balance
65
				set {ps1::%player%} to true
66
			else:
67
				send "&cYou Need &o$40M &cTo Rankup"
68
69
command /prestige:
70
	trigger:
71
		if {rankup::%player%} = "&8[&2I&8]":
72
			if {ps1::%player%} is true:
73
				if player's balance >= 1000000000:
74
					set {prestige::%player%} to "&8[&eP1&8]"
75
					remove 1000000000 from player's balance
76
					set {ps1::%player%} to false
77
					set {ps2::%player%} to true
78
					send title "&aYou Have Prestiged" to player
79
				else:
80
					send "&cYou Need $1B To Prestige"
81
		else:
82
			send "&cYou need to be at max rank to use this command!"
83
		if {rankup::%player%} = "&8[&2I&8]":
84
			if {ps2::%player%} is true:
85
				if player's balance >= 2500000000:
86
					set {prestige::%player%} to "&8[&eP2&8]"
87
					remove 2500000000 from player's balance
88
					set {ps2::%player%} to false
89
					set {ps23::%player%} to true
90
					send title "&aYou have Prestiged!" to player
91
				else:
92
					send "&cYou Need $2.5B To Prestige"
93
		else:
94-
			send "&cYou Need To Be At Max Rank To Use This Command"
94+
95
command /ip:
96
	send "&aswishmines.minehut.gg"