Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #KillerCaptains
- #By Winter
- #There is a few things to set up while doing this, please contact me on skype @ sketchypeanut if you need any help!
- #Setup Tutorial
- options:
- P: &8[&6KillerCaptains&8]&c
- Op: jdawgiscute.admin
- PM: &4You don't have the required permission to use this command.
- command /resetkillercap:
- permission: {@Op}
- permission message: {@PM}
- trigger:
- delete {slayees::*}
- loop all players:
- add loop-player to {slayees::*}
- loop all players:
- set {killercap.%loop-player%.role} to "slayee"
- broadcast "{@P} reset!"
- stop
- command /killcap <integer> <player>:
- permission: {@Op}
- permission message: {@PM}
- trigger:
- set {killercap.%player%.role} to "captain"
- set {_killercaptain} to arg 2
- remove {_killercaptain} from {slayees::*}
- add arg 2 to {slayers::*}
- execute console command "/warp killercaptain%arg 1% %arg 2%"
- broadcast "{@P} %arg 2% is now Captain of Team %arg 1%"
- set {teambox.%arg 2%} to the player's location
- set {teamnumber.%player%} to arg 1
- command /killcapgo:
- permission: {@Op}
- permission message: {@PM}
- trigger:
- set {slay.inprogress} to true
- loop {slayees::*}:
- execute console command "warp slayeesspawn %loop-value%"
- loop {slayers::*}:
- execute console command "warp slayersspawn %loop-value%"
- broadcast "{@P} will start in 10 seconds! Get ready to kill! (Or run!)"
- wait 5 seconds
- command sender command "/freeze"
- command "/playsoundkc note.harp"
- broadcast "{@P} 5..."
- broadcast "{@P} 4..."
- broadcast "{@P} 3..."
- command sender command "killcapunfreeze"
- command sender command "freeze"
- broadcast "{@P} 2..."
- broadcast "{@P} 1..."
- broadcast "{@P} GO! Slay, slay, slay!"
- command /killcapunfreeze:
- permission: {@Op}
- permission message: {@PM}
- trigger:
- loop all players:
- command sender command "effect clear %loop-player%"
- on death of player:
- if {captain.%victim%.role} is "slayee":
- if {captain.%attacker%.role} is "slayer":
- teleport victim to {teambox.%attacker%}
- message "{@P} You were killed by %attacker%! You have joined Team %{teamnumber.%attacker%}%" to the victim
- command /playsoundkc <text>:
- permission: {@Op}
- permission message: {@PM}
- trigger:
- loop all players:
- execute console command "/playsound %arg 1% %loop-player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement