Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {joinbonus} = 50
- {escapebonus} = 500
- command /start:
- executable by: console
- trigger:
- set {gamestart} to 1
- set {score1.%loop-player} to 0
- every 1 second:
- if {gamestart} is 1:
- loop all players:
- add 1 to {score1.%loop-player}
- else:
- set {score1.%loop-player} to 0
- command /infected:
- permission: sk.infected
- if {gamestart} is 1:
- set {gamestart} to 2
- on damage of a player:
- trigger:
- if {gamestart} is 2:
- add 25 to {score2.%loop-player}
- command /total:
- executable by: console
- trigger:
- if {gamestart} is 1:
- set {score5.%player%} to {score1.%player%} + {score3.%player%} + {joinbonus} + {escapebonus}
- wait 1 seconds
- send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
- send " "
- send " &6参加ボーナス &e%{joinbonus}%&e円 "
- send " &6防衛ボーナス &e%{score3.%player%}%&e円 "
- send " &6脱出ボーナス &e%{escapebonus}%&e円 "
- send " &6生存ボーナス &e%{score1.%player%}%&e円 "
- send " "
- send " &6合計 &e%{score5.%player%}%&e円 "
- send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
- if {gamestart} is 2:
- set {score5.%player%} to {score1.%player%} + {score2.%player%} + {score3.%player%} + {joinbonus} + {escapebonus}
- wait 1 seconds
- send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
- send " "
- send " &6参加ボーナス &e%{joinbonus}%&e円 "
- send " &6防衛ボーナス &e%{score3.%player%}%&e円 "
- send " &6感染ボーナス &e%{score2.%player%}%&e円 "
- send " &6生存ボーナス &e%{score1.%player%}%&e円 "
- send " "
- send " &6合計 &e%{score5.%player%}%&e円 "
- send "&4&l〇●〇●〇●〇●〇●〇●〇●〇●〇"
Advertisement
Add Comment
Please, Sign In to add comment