Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. options:
  2. tag: &8(&d&lLynxPvP&r&8)&r
  3.  
  4. command /duel <player>:
  5. trigger:
  6. if arg 1 is online:
  7. if arg 1 is player:
  8. send "{@tag} &cYou can't duel yourself!"
  9. else:
  10. send "{@tag} &eDuel request has been send to &a%arg 1%&e!" to player
  11. send "{@tag} &a%player% &ehas send you a duel request! Write &a/accept %player%&eto accept" to arg 1
  12. set {duelcooldown.%player%} to true
  13. wait 30 seconds
  14. set {duelcooldown.%player%} to false
  15.  
  16. command /accept [<player>]:
  17. trigger:
  18. if {duelcooldown.%arg 1%} is true:
  19. send title "&aDuel accepted" to player
  20. send title "&aDuel accepted" to arg 1
  21. wait 3 seconds
  22. send title "&a3" to player
  23. send title "&a3" to arg 1
  24. wait 1 second
  25. send title "&62" to player
  26. send title "&62" to arg 1
  27. wait 1 second
  28. send title "&e1" to player
  29. send title "&e1" to arg 1
  30. wait 1 second
  31. send title "&aGoodluck!" to player
  32. send title "&aGoodluck!" to arg 1
  33. teleport player to {duel1}
  34. teleport arg 1 to {duel2}
  35. give 1 wooden sword to player
  36. give 1 wooden sword to arg 1
  37. give 1 fishing rod to player
  38. give 1 fishing rod to arg 1
  39.  
  40.  
  41.  
  42.  
  43. command /duelsetspawn [<text>]:
  44. permission: duelspawn.use
  45. trigger:
  46. if arg 1 is "duel1":
  47. set {duel1} to player's location
  48. send "set"
  49. else if arg 1 is "duel2":
  50. set {duel2} to player's location
  51. send "set"
  52. else if arg 1 is "lobby":
  53. set {lobby} to player's location
  54. send "set"
  55.  
  56. on death:
  57. teleport player to {lobby}
  58. teleport attacker to {lobby}
  59. heal attacker
  60. heal player
  61. send "{@tag} &eYou have &awon &ethe match!" to attacker
  62. send "{@tag} &eYou have &clost &ethe match!" to victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement