Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /execute @e[name=Purple_BoatRayB] ~ ~.799999 ~
- /teleport @e[name=Purple_BoatRay,c=-1,r=1] ~ ~-.799999 ~
- /execute @e[name=Green_BoatRayB] ~ ~.799999 ~
- /teleport @e[name=Green_BoatRay,c=-1,r=1] ~ ~-.799999 ~
- /scoreboard players tag @a[score_UseCarrot_min=1] add CarrotRay {SelectedItem:{tag:{display:{Name:"WallGun"}}}}
- /execute @e[tag=CarrotRay,team=Capture_Purple] ~ ~100 ~
- /summon boat ~ ~ ~ {Type:"jungle",CustomName:"Purple_BoatRay",NoGravity:1b,Passengers:[
- {id:Armor_Stand,CustomName:Purple_BoatRayA,Invisible:1},
- {id:Armor_Stand,CustomName:Purple_BoatRayB,Invisible:1}]}
- /execute @e[tag=CarrotRay,team=Capture_Green] ~ ~100 ~
- /summon boat ~ ~ ~ {Type:"jungle",CustomName:"Green_BoatRay",NoGravity:1b,Passengers:[
- {id:Armor_Stand,CustomName:Green_BoatRayA,Invisible:1},
- {id:Armor_Stand,CustomName:Green_BoatRayB,Invisible:1}]}
- /execute @e[tag=CarrotRay,team=Capture_Purple] ~ ~100 ~
- /teleport @e[name=Purple_BoatRay,r=0,c=1] ~ ~ ~ ~180 ~
- /execute @e[tag=CarrotRay,team=Capture_Green] ~ ~100 ~
- /teleport @e[name=Green_BoatRay,r=0,c=1] ~ ~ ~ ~180 ~
- /replaceitem entity @a[tag=CarrotRay] slot.hotbar.4 stained_glass_pane 1 8
- /scoreboard players tag @a remove CarrotRay
- /scoreboard players set @a UseCarrot 0
- /scoreboard players add @e[name=Purple_BoatRay] KillTime 1
- /scoreboard players add @e[name=Green_BoatRay] KillTime 1
- /execute @e[name=Purple_BoatRay,score_KillTime_min=200] ~ ~ ~
- /kill @e[type=Armor_Stand,r=2]
- /execute @e[name=Green_BoatRay,score_KillTime_min=200] ~ ~ ~
- /kill @e[type=Armor_Stand,r=2]
- /execute @e[name=Purple_BoatRay,score_KillTime_min=200] ~ ~ ~
- /kill @s
- /execute @e[name=Green_BoatRay,score_KillTime_min=200] ~ ~ ~
- /kill @s
- execute @e[name=Purple_BoatRayB] ~ ~ ~
- /particle dragonbreath ~ ~-96.5 ~ 0 8 0 0.001 30 force @a
- execute @e[name=Green_BoatRayB] ~ ~ ~
- /particle happyVillager ~ ~-96.5 ~ 0 8 0 0.001 30 force @a
- /execute @e[name=Purple_BoatRayDamage] ~ ~ ~
- /scoreboard players add @s KillTime 1
- /execute @e[name=Green_BoatRayDamage] ~ ~ ~
- /scoreboard players add @s KillTime 1
- /execute @e[name=Purple_BoatRayDamage,score_KillTime_min=35] ~ ~ ~
- /kill @s
- /execute @e[name=Green_BoatRayDamage,score_KillTime_min=35] ~ ~ ~
- /kill @s
- /execute @e[name=Purple_BoatRayB] ~ ~ ~
- /summon armor_stand ~ ~1 ~
- {CustomName:"Purple_BoatRayDamage",NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1}
- /execute @e[name=Green_BoatRayB] ~ ~ ~
- /summon armor_stand ~ ~1 ~
- {CustomName:"Green_BoatRayDamage",NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1}
- /execute @e[name=Purple_BoatRayDamage] ~ ~-150 ~
- /effect @a[dx=0,dy=100,dz=0,score_health_min=6,team=Capture_Green] instant_damage 1 0 true
- /execute @e[name=Green_BoatRayDamage] ~ ~-150 ~
- /effect @a[dx=0,dy=100,dz=0,score_health_min=6,team=Capture_Purple] instant_damage 1 0 true
- /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