View difference between Paste ID: AdJGs7Ti and DtYEwEdr
SHOW: | | - or go back to the newest paste.
1
variables:
2
	{admin.%player%} = 0
3
command /admin:
4
	permission: {@pA}
5
	permission message: {@pmsg}
6
	trigger:
7
		if {admin.%player%} is 0:
8
			apply invisibility 5 to the player for 50 minutes
9
			set the player's tablist name to " "
10
			set slot 4 of player to clock named "&cSair do modo admin &7(Clique aqui)"
11
			send "{@pr} &cVocĂȘ entrou no modo admin!"
12
			set {admin.%player%} to 1
13
		if {admin.%player%} is 1:
14
			remove invisibility from player
15
			clear player's inventory
16
			set the player's tablist name to "%player%"
17
			send "{@pr} &cVocĂȘ saiu do modo admin!"
18
			set {admin.%player%} to 0