Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &8(&d&lLynxPvP&r&8)&r
- command /duel <player>:
- trigger:
- if arg 1 is online:
- if arg 1 is player:
- send "{@tag} &cYou can't duel yourself!"
- else:
- send "{@tag} &eDuel request has been send to &a%arg 1%&e!" to player
- send "{@tag} &a%player% &ehas send you a duel request! Write &a/accept %player%&eto accept" to arg 1
- set {duelcooldown.%player%} to true
- wait 30 seconds
- set {duelcooldown.%player%} to false
- command /accept [<player>]:
- trigger:
- if {duelcooldown.%arg 1%} is true:
- send title "&aDuel accepted" to player
- send title "&aDuel accepted" to arg 1
- wait 3 seconds
- send title "&a3" to player
- send title "&a3" to arg 1
- wait 1 second
- send title "&62" to player
- send title "&62" to arg 1
- wait 1 second
- send title "&e1" to player
- send title "&e1" to arg 1
- wait 1 second
- send title "&aGoodluck!" to player
- send title "&aGoodluck!" to arg 1
- teleport player to {duel1}
- teleport arg 1 to {duel2}
- give 1 wooden sword to player
- give 1 wooden sword to arg 1
- give 1 fishing rod to player
- give 1 fishing rod to arg 1
- command /duelsetspawn [<text>]:
- permission: duelspawn.use
- trigger:
- if arg 1 is "duel1":
- set {duel1} to player's location
- send "set"
- else if arg 1 is "duel2":
- set {duel2} to player's location
- send "set"
- else if arg 1 is "lobby":
- set {lobby} to player's location
- send "set"
- on death:
- teleport player to {lobby}
- teleport attacker to {lobby}
- heal attacker
- heal player
- send "{@tag} &eYou have &awon ðe match!" to attacker
- send "{@tag} &eYou have &clost ðe match!" to victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement