#Orbital strike cannon using SKRIPT.
1 messages · Page 1 of 1 (latest)
Can you send your current code, then I can assist you after that.
on fishing rod reel in:
if player's tool is not set:
stop
if name of player's tool does not contain "Stab shot":
stop
set {_target_block} to player's target block
if {_target_block} is not set:
stop
set {_ground_loc} to location of {_target_block}
set {_strike_loc} to {_ground_loc}
add 0 to y-coordinate of {_strike_loc}
set {_x} to x-coordinate of {_strike_loc}
set {_y} to y-coordinate of {_strike_loc}
set {_z} to z-coordinate of {_strike_loc}
execute console command "summon tnt %{_x}% %{_y}% %{_z}% {fuse:0}"
set player's tool to air
if event-projectile is set:
kill event-projectile
play sound "minecraft:entity.item.break" at volume 1 at pitch 1 to player
This is the logic for the fishing rod reel in, target set, name check, and the fishing rod breaking logic
I have gotten this far and i dont rll wanna give up on this idea
For some reason, it only explodes 1 block. for example, if i do it near a grass block, it destroys everything near it like stone etc. but if i do it on a stone block, itll only do it for that one block
Let me do some testing, then I'll assist you
It exploded both grass and stone for me perfectly fine.
you could take some logic from this video https://www.youtube.com/watch?v=ZxwEgx0fGs4
So I decided to make a Nuclear Orbital Strike cannon in addition to recreating the normal Orbital Strike Cannons using only command blocks in vanilla minecraft. Then I decide to use them on a well known youtuber in a pvp battle with maces. This is the one of the best creations I have made in minecraft so far!
World download is on my discord se...
try it on a layer of stone blocks
itll only explode one stone
yeah but he eventually gave up on his tnt circle
and js spawned creepers
with armor stands
orbital creeper cannon ðŸ˜
or do this ```on fishing rod reel in:
if player's tool is not set:
stop
if name of player's tool does not contain "Stab shot":
stop
set {_target_block} to player's target block
if {_target_block} is not set:
stop
set {_ground_loc} to location of {_target_block}
set {_strike_loc} to {_ground_loc}
add 0 to y-coordinate of {_strike_loc}
set {_x} to x-coordinate of {_strike_loc}
set {_y} to y-coordinate of {_strike_loc}
set {_z} to z-coordinate of {_strike_loc}
create explosion with force 20 at {_strike_loc}
set player's tool to air
if event-projectile is set:
kill event-projectile
play sound "minecraft:entity.item.break" at volume 1 at pitch 1 to player``` this might be a bit much but try this
hmh
yes, but how r u able to loop it from strike loc > -64
This method works fine
if player's tool is not set:
stop
if name of player's tool does not contain "Stab shot":
stop
set {_target_block} to player's target block
if {_target_block} is not set:
stop
set {_ground_loc} to location of {_target_block}
set {_strike_loc} to {_ground_loc}
add 0 to y-coordinate of {_strike_loc}
set {_x} to x-coordinate of {_strike_loc}
set {_y} to y-coordinate of {_strike_loc}
set {_z} to z-coordinate of {_strike_loc}
create explosion with force 20 at {_strike_loc}
broadcast "&c&lTNT Stab Shot &7| &f%player% has thrown a TNT!"
broadcast "&7Location: &fX:%{_x}% Y:%{_y}% Z:%{_z}%"
set player's tool to air
if event-projectile is set:
kill event-projectile
play sound "minecraft:entity.item.break" at volume 1 at pitch 1 to player
command /giverod:
permission: mob.admin
trigger:
give player fishing rod named "&cStab shot" with lore "&7Right click to throw a TNT" with item flag hide additional tooltip
send "&aYou have been given a Stab shot fishing rod!" to player
ah yes with force 20 at strike location BUT it doesnt go all the way to -64 (bedrock). thats what im trying to figure out
ohh
if player's tool is not set:
stop
if name of player's tool does not contain "Stab shot":
stop
set {_target_block} to player's target block
if {_target_block} is not set:
stop
set {_ground_loc} to location of {_target_block}
set {_strike_loc} to {_ground_loc}
add 0 to y-coordinate of {_strike_loc}
set {_x} to x-coordinate of {_strike_loc}
set {_y} to y-coordinate of {_strike_loc}
set {_z} to z-coordinate of {_strike_loc}
loop blocks below {_strike_loc}:
if y-coord of loop-value > -64:
create explosion with force 20 at loop-value
else:
exit 1 loop
set player's tool to air
if event-projectile is set:
kill event-projectile
play sound "minecraft:entity.item.break" at volume 1 at pitch 1 to player```
Yeah, this works
with force 5 is the best value
i see
whatever height i set it to though
it doesnt reach bedrock
the level i want to reach
it takes 2 nukes
to reach bedrock
even with this
?
Cause it destroys 251 blocks for me (553 blocks in the air)
huh
why not more though
why doesnt it explode to bedrock
Let me try something for you
okay
Sadly not, nothing worked
That's what I thought, but it didn't work still
loop the explosion from the location it ends
and start there
again
with no delay
ohj
repeat 2 times:
loop {_i} from {_lastY} down to -64:
create explosion with force 5 at location({_x}, {_i}, {_z})
this doesnt work
repeat
💔
it should work
right
@steep vigil
i might be the goat
works perfectly
try it
@rotund dock
create explosion with force 5 at {_strike_loc} this right
is there a way to change the damage
of the explosion force?
Up the force or multiple tnts
i added a better system for it
unfortunately I was sleeping
did these two manage to help you?
do you still need help with anything?
@muted holly Ivehad this for a while and I use it to troll sometimes, it makes a pretty perfect huge circle and it can cause some lag depending on the server, I just use tnt minecarts for more radius & damage.
You can also change the size of the rings as it makes a ring of tnt every whatever number there so currently everything in 105 blocks would be destroyed (bigger since it's tnt minecarts and not tnt)
command /nuclearmissile:
permission: op
trigger:
set {_center} to location of player
loop all players in radius 80 around player:
send "&c&l NUCLEAR MISSILE INCOMING!!!!!!" to loop-player
set {_rings::*} to 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 102, 105
loop {_rings::*}:
wait 2 ticks
set {_radius} to loop-value
loop 80 times:
set {_angle} to loop-number * (360 / 50)
set {_x} to {_radius} * cos({_angle})
set {_z} to {_radius} * sin({_angle})
set {_spawnloc} to {_center} offset by vector({_x}, 5, {_z})
spawn minecart with tnt at {_spawnloc}
The warning is uh, not really needed lol since it instantly blows up I just added it to look cool
I know there's better ways instead of manually writing out every number.
Just loop every 3rd number, but it's fine for someone new.
I'm not new just very lazy
I thought that was a edit of the other dudes skript when i sent the message.
Oh all good lmao
But no I've had this for some time now
you could use sperical vectors btw