sora200507

Untitled

Mar 2nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. options:
  2. locate1 : 117 83 2
  3. locate2 : 162 83 48
  4. on damage:
  5. if {combo::%victim%} is set:
  6. set the no damage time of victim to 1 tick
  7. message "%damage%を与えた" to attacker
  8. stop
  9. command /combo [<text>]:
  10. trigger:
  11. if arg 1 is "on":
  12. set {combo::%player%} to on
  13. stop
  14. if arg 1 is "off":
  15. clear {combo::%player%}
  16. command /duelcombo [<player>]:
  17. trigger:
  18. if arg 1 is set:
  19. message "%arg%さんにcomboのジュエルリクエストを送りました"
  20. set {comboduel::%player%} to on
  21. message "%player%さんからduelのリクエストを受けました 同意するなら/accept %player%を使ってください" to arg
  22. stop
  23. command /accept [<player>]:
  24. trigger:
  25. if arg 1 is set:
  26. if {comboduel::%arg%} is set:
  27. message "%arg%さんのduelリクエストに同意しました"
  28. wait 1 seconds
  29. clear {comboduel::%player%}
  30. message "5" to arg
  31. message "5"
  32. wait 1 seconds
  33. message "4" to arg
  34. message "4"
  35. wait 1 seconds
  36. message "3" to arg
  37. message "3"
  38. wait 1 seconds
  39. message "2" to arg
  40. message "2"
  41. wait 1 seconds
  42. message "1" to arg
  43. message "1"
  44. wait 1 seconds
  45. message "Start!" to arg
  46. message "Start!"
  47. set {combo::%player%} to on
  48. set {combo::%arg%} to on
  49. execute console command "/tp %arg% {@locate1}"
  50. execute console command "/tp %player% {@locate2}"
  51. execute console command "/menu grab %player% combokit"
  52. execute console command "/menu grab %arg% combokit"
  53. stop
  54. on death of player:
  55. if {combo::%victim} is set:
  56. broadcast "&2%victim% vs %attacker%の勝負で%attacker%が勝ちました"
  57. clear {combo::%victim%}
  58. clear {combo::%attacker%}
  59. clear drop
  60. stop
Add Comment
Please, Sign In to add comment