Advertisement
kama6012

InstaRespawn

May 6th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. on death:
  2. set {_a} to {LA::%player%} parsed as player
  3. message "%{_a}%" to player
  4. message "kill!" to {_a}
  5. execute console command "scoreboard players add %{_a}% kill 1"
  6. execute console command "scoreboard players add %{_a}% killTDM 1"
  7. wait 2 tick
  8. force player to respawn
  9.  
  10. on damage:
  11. attacker is player
  12. victim is player
  13. repair attacker's tool
  14. set {LA::%victim%} to "%attacker%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement