Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. on death:
  2. victim is a player
  3. wait 2 ticks
  4. clear victim's inventory
  5. wait 2 ticks
  6. make console execute "gamemode 3 %victim%"
  7. make console execute "tm message %player% &3&lYOU DIED!!!\n&bNext time be careful!"
  8. teleport victim to attacker
  9. wait 5 seconds
  10. teleport victim to spawn
  11. set gamemode of victim to survival
  12. make console execute "tm message %player% &3&lRESPAWNED!!\n&bFeel Free to go!"
  13.  
  14.  
  15. on death:
  16. attacker is a player
  17. victim is a player
  18. if {%attacker%.kill} is "0":
  19. set {kill counter.%attacker%.kills_total} to 0
  20. add 1 to {kill counter.%attacker%.kills_total}
  21. else if {%attacker%.kill} is not "0":
  22. add 1 to {%attacker%.kill}
  23. 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