Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Do NOT REMOVE
- #Credit:TheBraveSnail
- variables:
- {effect.red} = false
- {check.move} = false
- on right click with green wool:
- player is op
- send title "&aGreen Light" with subtitle "&aYou can move now" to all players for 2 seconds
- play sound "block.amethyst_block.break" with volume 1000 and pitch 1 to all players
- set {check.move} to false
- on right click with red wool:
- player is op
- send title "&4Red light" with subtitle "&4You better stop moving" to all players for 2 seconds
- play sound "block.anvil.fall" with volume 1000 and pitch 1 to all players
- wait 0.5 seconds
- set {check.move} to true
- on damage:
- attacker is a player
- attacker is holding a stick named "&4The Eliminator"
- attacker is op
- victim is player
- broadcast "&cThe player &d%victim's name% &cis eliminated! in 5 seconds"
- wait 1 second
- broadcast "&cThe player &d%victim's name% &cis eliminated! in 4 seconds"
- wait 1 second
- broadcast "&cThe player &d%victim's name% &cis eliminated! in 3 seconds"
- wait 1 second
- broadcast "&cThe player &d%victim's name% &cis eliminated! in 2 seconds"
- wait 1 second
- broadcast "&cThe player &d%victim's name% &cis eliminated! in 1 second"
- kill victim
- play sound "block.chain.break" with volume 1000 and pitch 1 to all players
- command /eliminate-stick:
- permission: squid.perm
- trigger:
- give player stick named "&4The Eliminator"
- command /redgreen_on:
- permission: squid.perm
- permission message: "&cYou do not have permission to perform this action."
- trigger:
- send title "&aThank you for playing my game" with subtitle "&aMade by TheBraveSnail##1760" to all players for 2 seconds
- send "&ePlayersJump &7>> &cDisabled"
- apply jump boost of tier 200 to player for 100000 days
- remove jump boost from player
- command /redgreen_off:
- permission: squid.perm
- permission message: "&cYou do not have permission to perform this action."
- trigger:
- send "&ePlayersJump &7>> &2Enabled"
- remove jump boost from all players
- on any move:
- if {check.move} = true:
- if player is not op:
- broadcast "&e&l%player% &chas moved"
- command /squidgame:
- trigger:
- give player 1 green wool
- give player 1 red wool
- give player stick named "&4The Eliminator"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement