dai_pon

Untitled

May 5th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. variables:
  2. {joinbonus} = 50
  3. {escapebonus} = 500
  4.  
  5.  
  6. command /start:
  7. executable by: console
  8. trigger:
  9. set {gamestart} to 1
  10. set {score1.%loop-player} to 0
  11. every 1 second:
  12. if {gamestart} is 1:
  13. loop all players:
  14. add 1 to {score1.%loop-player}
  15. else:
  16. set {score1.%loop-player} to 0
  17.  
  18. command /infected:
  19. permission: sk.infected
  20. if {gamestart} is 1:
  21. set {gamestart} to 2
  22.  
  23.  
  24. on damage of a player:
  25. trigger:
  26. if {gamestart} is 2:
  27. add 25 to {score2.%loop-player}
  28.  
  29. command /total:
  30. executable by: console
  31. trigger:
  32. if {gamestart} is 1:
  33. set {score5.%player%} to {score1.%player%} + {score3.%player%} + {joinbonus} + {escapebonus}
  34. wait 1 seconds
  35. send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
  36. send " "
  37. send " &6参加ボーナス &e%{joinbonus}%&e円 "
  38. send " &6防衛ボーナス &e%{score3.%player%}%&e円 "
  39. send " &6脱出ボーナス &e%{escapebonus}%&e円 "
  40. send " &6生存ボーナス &e%{score1.%player%}%&e円 "
  41. send " "
  42. send " &6合計 &e%{score5.%player%}%&e円 "
  43. send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
  44. if {gamestart} is 2:
  45. set {score5.%player%} to {score1.%player%} + {score2.%player%} + {score3.%player%} + {joinbonus} + {escapebonus}
  46. wait 1 seconds
  47. send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
  48. send " "
  49. send " &6参加ボーナス &e%{joinbonus}%&e円 "
  50. send " &6防衛ボーナス &e%{score3.%player%}%&e円 "
  51. send " &6感染ボーナス &e%{score2.%player%}%&e円 "
  52. send " &6生存ボーナス &e%{score1.%player%}%&e円 "
  53. send " "
  54. send " &6合計 &e%{score5.%player%}%&e円 "
  55. send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
Advertisement
Add Comment
Please, Sign In to add comment