Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /randomkits [<player>]:
- permission: skript.op
- trigger:
- if arg-1 is not set:
- loop all players:
- loop-player is in world "arena" or "arena1" or "arena2":
- execute console command "/randomkits %loop-player%"
- if arg-1 is set:
- clear arg-1's inventory
- execute console command "/xp -500L %arg-1%"
- set {pvpgear.%arg-1%} to a random integer between 1 and 17
- set {pvpgold.%arg-1%} to a random integer between 1 and 4
- set {pvparrow.%arg-1%} to a random integer between 16 and 64
- set {pvppot.%arg-1%} to a random integer between 1 and 75
- set {pvpchest.%arg-1%} to a random integer between 1 and 30
- if {pvpgear.%arg-1%} is 1:
- equip arg-1 with iron helmet of protection 1
- equip arg-1 with iron chestplate of protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of protection 1
- give arg-1 diamond sword of sharpness 1 named "Sharpness I"
- give arg-1 bow of power 1 named "Power I"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 2:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 diamond sword named "Unenchanted"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- if {pvpgear.%arg-1%} is 3:
- equip arg-1 with iron helmet of protection 1
- equip arg-1 with diamond chestplate of projectile protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of protection 1
- give arg-1 diamond sword of sharpness 1 named "Sharpness I"
- give arg-1 bow of power 2 named "Power II"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 4:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with diamond boots
- give arg-1 iron sword named "Unenchanted"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 5:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with diamond boots
- give arg-1 diamond sword named "Unenchanted"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 6:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 iron sword named "Unenchanted"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- give arg-1 4 golden apples
- if {pvpgear.%arg-1%} is 7:
- equip arg-1 with iron helmet of projectile protection 1
- equip arg-1 with iron chestplate of projectile protection 1
- equip arg-1 with iron leggings of projectile protection 1
- equip arg-1 with iron boots of projectile protection 1
- give arg-1 diamond sword of sharpness 1 named "Sharpness I"
- give arg-1 bow of power 3 named "Power III"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 8:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 diamond sword named "Unenchanted"
- give arg-1 bow of power 4 named "Power IV"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 9:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 iron sword of sharpness 4 named "Sharpness IV"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 10:
- equip arg-1 with iron helmet of protection 1
- equip arg-1 with diamond chestplate of protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with diamond boots of projectile protection 1
- give arg-1 diamond sword of sharpness 2 named "Sharpness II"
- give arg-1 bow of power 2 named "Power II"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 11:
- equip arg-1 with iron helmet of projectile protection 1
- equip arg-1 with iron chestplate of protection 2
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of protection 2
- give arg-1 diamond sword of sharpness 1 named "Sharpness I"
- give arg-1 bow of power 1 named "Power I"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 12:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate of protection 4
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 diamond sword named "Unenchanted"
- give arg-1 bow named "Unenchanted"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 13:
- equip arg-1 with diamond helmet of projectile protection 1
- equip arg-1 with diamond chestplate of projectile protection 2
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of projectile protection
- give arg-1 diamond sword of sharpness 3 named "Sharpness III"
- give arg-1 bow of power 2 named "Power II"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- if {pvpgear.%arg-1%} is 14:
- equip arg-1 with diamond helmet of protection 1
- equip arg-1 with diamond chestplate of protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of protection 1
- give arg-1 diamond sword of sharpness 1 and knockback 1 named "Sharpness I Knockback 1"
- give arg-1 bow of power 1 named "Power I"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 15:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 diamond sword named "Unenchanted"
- give arg-1 bow of punch 2 named "Punch II"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- execute console command "/give %arg-1% 322 %{pvpgold.%arg-1%}%"
- if {pvpgear.%arg-1%} is 16:
- equip arg-1 with iron helmet
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- give arg-1 iron sword named "Unenchanted"
- give arg-1 bow of flame 1 and power 1 named "Flame I Power I"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- if {pvpgear.%arg-1%} is 17:
- equip arg-1 with iron helmet of projectile protection 1
- equip arg-1 with iron chestplate of projectile protection 1
- equip arg-1 with iron leggings of projectile protection 1
- equip arg-1 with iron boots of projectile protection 1
- give arg-1 diamond sword of fire aspect 1 and Sharpness 1 named "Fire Aspect I Sharpness I"
- give arg-1 bow of power 1 named "Power I"
- execute console command "/give %arg-1% arrow %{pvparrow.%arg-1%}%"
- chance of 40%:
- give arg-1 1 ender pearl
- if {pvppot.%arg-1%} is 30:
- give 1 unextended health potion II item to the arg-1
- give 1 unextended health potion II item to the arg-1
- give 1 unextended health potion II item to the arg-1
- if {pvppot.%arg-1%} is 15:
- give 1 unextended strength potion I item to the arg-1
- give 1 unextended strength potion I item to the arg-1
- give 1 unextended strength potion I item to the arg-1
- if {pvppot.%arg-1%} is 2:
- give 1 unextended speed potion I item to the arg-1
- give 1 unextended speed potion I item to the arg-1
- give 1 unextended speed potion I item to the arg-1
- if {pvpchest.%arg-1%} is 5:
- enchant the arg-1's chestplate with protection 3
- if {pvpchest.%arg-1%} is 10:
- enchant the player's chestplate with protection 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement