Advertisement
Boe6

Minecraft | Wall Gun Weapon Commands

Aug 9th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. /execute @e[name=Purple_BoatRayB] ~ ~.799999 ~
  2. /teleport @e[name=Purple_BoatRay,c=-1,r=1] ~ ~-.799999 ~
  3. /execute @e[name=Green_BoatRayB] ~ ~.799999 ~
  4. /teleport @e[name=Green_BoatRay,c=-1,r=1] ~ ~-.799999 ~
  5. /scoreboard players tag @a[score_UseCarrot_min=1] add CarrotRay {SelectedItem:{tag:{display:{Name:"WallGun"}}}}
  6. /execute @e[tag=CarrotRay,team=Capture_Purple] ~ ~100 ~
  7. /summon boat ~ ~ ~ {Type:"jungle",CustomName:"Purple_BoatRay",NoGravity:1b,Passengers:[
  8. {id:Armor_Stand,CustomName:Purple_BoatRayA,Invisible:1},
  9. {id:Armor_Stand,CustomName:Purple_BoatRayB,Invisible:1}]}
  10. /execute @e[tag=CarrotRay,team=Capture_Green] ~ ~100 ~
  11. /summon boat ~ ~ ~ {Type:"jungle",CustomName:"Green_BoatRay",NoGravity:1b,Passengers:[
  12. {id:Armor_Stand,CustomName:Green_BoatRayA,Invisible:1},
  13. {id:Armor_Stand,CustomName:Green_BoatRayB,Invisible:1}]}
  14. /execute @e[tag=CarrotRay,team=Capture_Purple] ~ ~100 ~
  15. /teleport @e[name=Purple_BoatRay,r=0,c=1] ~ ~ ~ ~180 ~
  16. /execute @e[tag=CarrotRay,team=Capture_Green] ~ ~100 ~
  17. /teleport @e[name=Green_BoatRay,r=0,c=1] ~ ~ ~ ~180 ~
  18. /replaceitem entity @a[tag=CarrotRay] slot.hotbar.4 stained_glass_pane 1 8
  19. /scoreboard players tag @a remove CarrotRay
  20. /scoreboard players set @a UseCarrot 0
  21. /scoreboard players add @e[name=Purple_BoatRay] KillTime 1
  22. /scoreboard players add @e[name=Green_BoatRay] KillTime 1
  23. /execute @e[name=Purple_BoatRay,score_KillTime_min=200] ~ ~ ~
  24. /kill @e[type=Armor_Stand,r=2]
  25. /execute @e[name=Green_BoatRay,score_KillTime_min=200] ~ ~ ~
  26. /kill @e[type=Armor_Stand,r=2]
  27. /execute @e[name=Purple_BoatRay,score_KillTime_min=200] ~ ~ ~
  28. /kill @s
  29. /execute @e[name=Green_BoatRay,score_KillTime_min=200] ~ ~ ~
  30. /kill @s
  31. execute @e[name=Purple_BoatRayB] ~ ~ ~
  32. /particle dragonbreath ~ ~-96.5 ~ 0 8 0 0.001 30 force @a
  33. execute @e[name=Green_BoatRayB] ~ ~ ~
  34. /particle happyVillager ~ ~-96.5 ~ 0 8 0 0.001 30 force @a
  35. /execute @e[name=Purple_BoatRayDamage] ~ ~ ~
  36. /scoreboard players add @s KillTime 1
  37. /execute @e[name=Green_BoatRayDamage] ~ ~ ~
  38. /scoreboard players add @s KillTime 1
  39. /execute @e[name=Purple_BoatRayDamage,score_KillTime_min=35] ~ ~ ~
  40. /kill @s
  41. /execute @e[name=Green_BoatRayDamage,score_KillTime_min=35] ~ ~ ~
  42. /kill @s
  43. /execute @e[name=Purple_BoatRayB] ~ ~ ~
  44. /summon armor_stand ~ ~1 ~
  45. {CustomName:"Purple_BoatRayDamage",NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1}
  46. /execute @e[name=Green_BoatRayB] ~ ~ ~
  47. /summon armor_stand ~ ~1 ~
  48. {CustomName:"Green_BoatRayDamage",NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1}
  49. /execute @e[name=Purple_BoatRayDamage] ~ ~-150 ~
  50. /effect @a[dx=0,dy=100,dz=0,score_health_min=6,team=Capture_Green] instant_damage 1 0 true
  51. /execute @e[name=Green_BoatRayDamage] ~ ~-150 ~
  52. /effect @a[dx=0,dy=100,dz=0,score_health_min=6,team=Capture_Purple] instant_damage 1 0 true
  53.  
  54.  
  55.  
  56. /replaceitem entity PlayerNameHere slot.hotbar.4 minecraft:carrot_on_a_stick 1 25 {display:{Name:"WallGun",Lore:["Shoots out Damaging Walls!"]}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement