Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Options:
  2. prefix: &3[&4&lMarioPvP&3]
  3.  
  4. command /respawn <player>:
  5. permission: uhc.staff
  6. trigger:
  7. console command "spawn &arg-1"
  8. delete {sped::%arg-1%}
  9. wait 1 seconds
  10. send "&3[&4&lMarioPvP&3]&5 spec mode slået &crra&7!"
  11. console command "rea %arg-1%
  12. console command "gm 0 %arg-1"
  13. wait 5 ticks
  14. teleport arg-1 to {respawn::loc::%arg-1}
  15. restore inventory of arg-1 from {respawn::%arg 1%}
  16. equip arg-1 with [respawn::boots::%arg 1%}
  17. equip arg-1 with [respawn::chest::%arg 1%}
  18. equip arg-1 with [respawn::legs::%arg 1%}
  19. equip arg-1 with [respawn::helm::%arg 1%}
  20. set level of arg-1 to [respawn::xp::%arg 1%}
  21. send "{@prefix} &c%arg-1% &7blev respawned." to command sender
  22. send "{@prefix} &7Du blev respawned." to arg 1
  23.  
  24. on death of player:
  25. set {respawn::%victim%} to serialized contents of player
  26. set {respawn::helm:::%victim%} to helmet of player
  27. set {respawn::chest::%victim%} to chestplate of player
  28. set {respawn::legs::%victim%} to leggings of player
  29. set {respawn::boots::%victim%} to boots of player
  30. set {respawn::loc::%victim%} to location of player
  31. set {respawn::xp::%victim%} to level of player
  32.  
  33. on unload:
  34. delete {respawn::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement