View difference between Paste ID: 9TZ7rMxq and 2yrFMKj0
SHOW: | | - or go back to the newest paste.
1-
variables:
1+
2-
    {kit.%player%} = false
2+
    if {kit.%victim%} is true:
3-
       
3+
        set {kit.%victim%} to false
4
               
5
on command "/kit":
6-
        set {kit.%player%} to false
6+
7
        cancel event
8
        send "&aVocê não pode usar kit após morrer!"
9
    else:
10
        set {kit.%player%} to true
11
on damage:
12
	if {kit.%victim%} is true:
13-
        set {kit.% player%} to true
13+
		set {kit.%victim%} to false