Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- victim is a player
- wait 2 ticks
- clear victim's inventory
- wait 2 ticks
- make console execute "gamemode 3 %victim%"
- make console execute "tm message %player% &3&lYOU DIED!!!\n&bNext time be careful!"
- teleport victim to attacker
- wait 5 seconds
- teleport victim to spawn
- set gamemode of victim to survival
- make console execute "tm message %player% &3&lRESPAWNED!!\n&bFeel Free to go!"
- on death:
- attacker is a player
- victim is a player
- if {%attacker%.kill} is "0":
- set {kill counter.%attacker%.kills_total} to 0
- add 1 to {kill counter.%attacker%.kills_total}
- else if {%attacker%.kill} is not "0":
- add 1 to {%attacker%.kill}
- send attacker title "&c&l+1 KILL" with subtitle "&fYou have &c&l%{%attacker%.kill}%&c Kills" for 3 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement