Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- every second:
- loop all players:
- if loop-player's hearts is 2:
- if player's inventory contains yellow dye:
- if {regenhearts.%loop-player%} is not set:
- make console execute "/effect %loop-player% regeneration 1 0 true"
- set {regenhearts.%loop-players%} to true
- send "&cYou must wait 7 seconds" to loop-player
- wait 7 seconds
- delete {regenhearts.%loop-player%}
- send "&aRegening..." to loop-player
- #2
- on damage:
- if victim is player:
- if attacker is player:
- if attacker's inventory contains ink sac:
- make console execute "/effect %victim% instant_damage 1"
- send "&cIncreased Damage!"
- stop
- #3
- every second:
- loop all players:
- if loop-player is sneaking:
- if loop-player's inventory contains light blue dye:
- wait 1 second
- if loop-player is sneaking:
- wait 1 second
- if loop-player is sneaking:
- wait 1 second
- if loop-player is sneaking:
- make console execute "/effect %loop-player% speed 2 4 true"
- send "&aSpeed activated!"
- wait 4 seconds
- send "&cSpeed over!"
- #4
- every second:
- loop all players:
- if loop-player is running:
- if loop-players inventory contains gray dye:
- wait 1 second
- if loop-player is running:
- wait 1 second
- if loop-player is running:
- wait 1 second
- if loop-player is running:
- wait 1 second
- if loop-player is running:
- make console execute "/effect %loop-player% invisibility 1 5 true"
- send "&aInvisibility active!" to loop-player
- wait 5 seconds
- send "&cInvisibility deactivated!" to loop-player
- stop
- #5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement