Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- kitpvp: &a&lKitPvP &7-
- on script load:
- set {loc::*} to 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10
- on projectile hit:
- wait 3 seconds
- delete the arrow
- on damage of a player:
- if damage is caused by fall:
- cancel event
- on place:
- if event-block is fire:
- wait 5 seconds
- set event-block to air
- if player's gamemode is creative:
- stop
- else:
- cancel event
- every 1 minute:
- loop all players:
- add 1 to {playtime.%uuid of loop-player%}
- on first join:
- set {kills.%uuid of player%} to 0
- set {deaths.%uuid of player%} to 0
- set {killstreak.%uuid of player%} to 0
- set {playtime.%uuid of player%} to 0
- on click:
- if name of tool of player is "&7[&aArena&7]":
- open virtual hopper named "&7[&aKit Selector&7]" to player
- format slot 2 of player with iron sword named "&aWarrior" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/warrior12398"]
- if {kills.%uuid of player%} is more than or equal to 25:
- format slot 0 of player with bow named "&aArcher" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/archer12398"]
- else:
- format slot 0 of player with bow named "&aArcher" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c25" to close then run [execute player command "/locked12398"]
- if {kills.%uuid of player%} is more than or equal to 100:
- format slot 1 of player with blaze powder named "&aPyro" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/pyro12398"]
- else:
- format slot 1 of player with blaze powder named "&aPyro" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c100" to close then run [execute player command "/locked12398"]
- if {kills.%uuid of player%} is more than or equal to 250:
- format slot 3 of player with feather named "&aFlash" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/flash12398"]
- else:
- format slot 3 of player with feather named "&aFlash" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c200" to close then run [execute player command "/locked12398"]
- if {kills.%uuid of player%} is more than or equal to 50:
- format slot 4 of player with iron chestplate named "&aTank" with lore "&7[&aUnlocked&7]" to close then run [execute player command "/tank12398"]
- else:
- format slot 4 of player with iron chestplate named "&aTank" with lore "&7[&cLocked&7] - &c%{kills.%uuid of player%}%&7/&c50" to close then run [execute player command "/locked12398"]
- on death of player:
- clear drops
- clear victim's inventory
- force the victim to respawn
- set current hotbar slot of player to 4
- set action bar of attacker to "{@kitpvp} &fYou killed %{color.%victim%}%%victim%&f."
- set action bar of victim to "{@kitpvp} &fYou were killed by %{color.%attacker%}%%attacker%&f."
- play "ORB_PICKUP" to attacker at volume 10
- play "ZOMBIE_DEATH" to victim at volume 10
- apply regeneration 4 to the attacker for 3 seconds
- add 1 to {kills.%uuid of attacker%}
- add 1 to {deaths.%uuid of victim%}
- add 1 to {killstreak.%uuid of attacker%}
- set {killstreak.%uuid of victim%} to 0
- make attacker execute command "/sb"
- set the death message to ""
- if {killstreak.%attacker%} is equal to 5:
- loop all players:
- set action bar of loop-player to "{@kitpvp} %{color.%attacker%}%%attacker% &fis on a &75 &fkillstreak!"
- on respawn:
- teleport player to {spawn}
- wait 1 tick
- set slot 3 of player to unbreakable stone sword named "&7[&aArena&7]"
- set slot 5 of player to paper named "&7[&aDuels&7]"
- make player execute command "/sb"
- command /locked12398:
- permission: rank.dev
- trigger:
- set action bar of player to "&cGet more kills and try again."
- command /archer12398:
- permission: rank.dev
- trigger:
- clear player's inventory
- set slot 0 of player to unbreakable wood sword named "&7[&aSword&7]"
- set slot 1 of player to unbreakable bow named "&7[&aBow&7]"
- set slot 8 of player to 64 arrows named "&7[&aArrows&7]"
- equip player with unbreakable chain boots named "&7[&aBoots&7]"
- equip player with unbreakable chain leggings named "&7[&aLeggings&7]"
- equip player with unbreakable chain chestplate named "&7[&aChestplate&7]"
- equip player with unbreakable chain helmet named "&7[&aHelmet&7]"
- execute player command "/rtp12398"
- command /pyro12398:
- trigger:
- clear player's inventory
- set slot 0 of player to unbreakable iron sword named "&7[&aSword&7]"
- enchant the player's tool with fire aspect 1
- set slot 8 of player to a flint and steel named "&7[&aFnS&7]"
- equip player with unbreakable gold boots named "&7[&aBoots&7]"
- equip player with unbreakable gold leggings named "&7[&aLeggings&7]"
- equip player with unbreakable gold chestplate named "&7[&aChestplate&7]"
- equip player with unbreakable gold helmet named "&7[&aHelmet&7]"
- execute player command "/rtp12398"
- command /warrior12398:
- trigger:
- clear player's inventory
- set slot 0 of player to unbreakable iron sword named "&7[&aSword&7]"
- equip player with unbreakable iron boots named "&7[&aBoots&7]"
- equip player with unbreakable iron leggings named "&7[&aLeggings&7]"
- equip player with unbreakable iron chestplate named "&7[&aChestplate&7]"
- equip player with unbreakable iron helmet named "&7[&aHelmet&7]"
- execute player command "/rtp12398"
- command /flash12398:
- trigger:
- clear player's inventory
- apply swiftness 3 to the player
- set slot 0 of player to unbreakable diamond sword named "&7[&aSword&7]"
- equip player with unbreakable leather boots named "&7[&aBoots&7]"
- equip player with unbreakable leather leggings named "&7[&aLeggings&7]"
- equip player with unbreakable leather chestplate named "&7[&aChestplate&7]"
- equip player with unbreakable leather helmet named "&7[&aHelmet&7]"
- execute player command "/rtp12398"
- command /tank12398:
- trigger:
- clear player's inventory
- set slot 0 of player to unbreakable wooden sword named "&7[&aSword&7]"
- equip player with unbreakable diamond boots named "&7[&aBoots&7]"
- equip player with unbreakable diamond leggings named "&7[&aLeggings&7]"
- equip player with unbreakable diamond chestplate named "&7[&aChestplate&7]"
- equip player with unbreakable diamond helmet named "&7[&aHelmet&7]"
- execute player command "/rtp12398"
- command /rtp12398:
- trigger:
- set {_rtp} to random object out of {loc::*}
- teleport player to {%{_rtp}%}
- set current hotbar slot of player to 0
- set action bar of player to "{@kitpvp} &fGOOD LUCK!"
- play "ENDERMAN_TELEPORT" to player at volume 10
- command /stats [<offline player>]:
- trigger:
- if arg 1 is set:
- if arg 1 has played before:
- wait 1 tick
- open virtual hopper named "&7[%{color.%arg 1%}%%arg 1%'s Stats&7]" to player
- format slot 0 of player with wood sword named "&aKills" with lore "&7- &f%{kills.%uuid of arg 1%}%" to be unstealable
- format slot 1 of player with redstone named "&aDeaths" with lore "&7- &f%{deaths.%uuid of arg 1%}%" to be unstealable
- format slot 2 of player with enchantment table named "&aK/D" with lore "&7- &f%{ratio.%uuid of arg 1%}%" to be unstealable
- format slot 3 of player with bottle of enchanting named "&aKillstreak" with lore "&7- &f%{killstreak.%uuid of arg 1%}%" to be unstealable
- format slot 4 of player with paper named "&aPlaytime" with lore "&7- &f%{playtime.%uuid of arg 1%}% minutes" to be unstealable
- else:
- set action bar of player to "{@kitpvp} &cPlease enter a valid player."
- else:
- wait 1 tick
- open virtual hopper named "&7[%{color.%player%}%%player%'s Stats&7]" to player
- format slot 0 of player with wood sword named "&aKills" with lore "&7- &f%{kills.%uuid of player%}%" to be unstealable
- format slot 1 of player with redstone named "&aDeaths" with lore "&7- &f%{deaths.%uuid of player%}%" to be unstealable
- format slot 2 of player with enchantment table named "&aK/D" with lore "&7- &f%{ratio.%uuid of player%}%" to be unstealable
- format slot 3 of player with bottle of enchanting named "&aKillstreak" with lore "&7- &f%{killstreak.%uuid of player%}%" to be unstealable
- format slot 4 of player with paper named "&aPlaytime" with lore "&7- &f%{playtime.%uuid of player%}% minutes" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement