View difference between Paste ID: g9qabLX7 and HsyGxcPa
SHOW: | | - or go back to the newest paste.
1
command /buff:
2
	trigger:
3
		if player has permission "buff.sk":
4-
			subtract 0 from player's account
4+
			if player's balance is greater than 499:
5-
			remove 500 from the player's balance
5+
				subtract 0 from player's account
6
				remove 500 from the player's balance
7
				execute console command "effect %player% REGENERATION 600 3"
8
				execute console command "effect %player% 5 600 1"
9
				execute console command "effect %player% SPEED 600 1"
10
				execute console command "effect %player% DAMAGE_RESISTANCE 600 10"
11
				execute console command "effect %player% FIRE_RESISTANCE 600 10"
12
				broadcast "&f[&aBuff&f] &a%player% usou o /buff e pagou 500c"
13
				wait 602 seconds
14
				send "&cSeu efeito de buff acabou!"
15
			else:
16
				send "vc n tem dinhero"
17
		else:
18
			send "&4Voce nao tem permissao para usar este comando!"