Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=== INIT ===#
- ## Set rules
- /gamerule commandBlockOutput false ## Hide commands
- /defaultgamemode survival ## Mode set to survival
- ## Set Scoreboards
- /scoreboard objectives add health health ## Let process know player health
- /scoreboard objectives add Death deathCount ## Display scoreboard
- /scoreboard objectives add Kills totalKillCount ## Display scoreboard
- ## Set special teams
- /scoreboard teams add Joined ## Mode team
- /scoreboard teams add adrenaline ## Mode team
- /scoreboard teams add Dead ## Display Dead team
- /scoreboard teams option Dead color dark_gray ## Set dead color
- #== LOOP ==#
- /difficulty hard ## Force difficulty
- /gamemode 0 @a[m=1] ## Force gamemode from 1 to 0
- /gamemode 0 @a[m=2] ## Force gamemode from 2 to 0
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 1 120 2 ## Add start Speed adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 3 120 2 ## Add start Haste adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 5 120 2 ## Add start Strength adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 8 120 2 ## Add start Jump Boost adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 11 120 2 ## Add start Resistance adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 17 120 2 ## Add start Hunger adrenaline effect
- /effect @a[team=!adrenaline,score_health_min=1,score_health=4] 11 120 2 ## Add start Resistance adrenaline effect
- /effect @a[team=adrenaline,score_health_min=10] 2 120 2 ## Add end Slowness adrenaline effect
- /effect @a[team=adrenaline,score_health_min=10] 4 120 2 ## Add end Mining Fatigue adrenaline effect
- /effect @a[team=adrenaline,score_health_min=10] 9 30 2 ## Add end Nausea adrenaline effect
- /effect @a[team=adrenaline,score_health_min=10] 17 120 1 ## Add end Hunger adrenaline effect
- /effect @a[team=adrenaline,score_health_min=10] 18 120 1 ## Add end Weakness adrenaline effect
- /effect @a[team=] 21 1000000 8 ## Add Health Boost effect if no team
- /scoreboard teams join Joined @a[team=] ## Add to Joined team if no team
- /scoreboard teams join adrenaline @a[team=!adrenaline,score_health_min=1,score_health=8] ## Set adrenaline if a player has low health
- /scoreboard teams leave @a[team=adrenaline,score_health_min=10] ## Reset adrenaline if a player regain health
- /scoreboard teams join Dead @a[team=!Dead,score_health_min=0] ## Display if player is dead (this reset the adrenaline team)
- /scoreboard teams leave @a[team=Dead,score_health_min=1] ## Reset if player is not dead
- #== LOW LOOP 1 ==#
- /effect @a[team=!] 21 1000000 8 ## Add Health Boost effect if in a team
- #== LOW LOOP 2 ==#
- /scoreboard objectives setdisplay sidebar Death
- #== LOW LOOP 3 ==#
- /scoreboard objectives setdisplay sidebar Kills
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement