YouTube Transcript: Updated Guns in Minecraft Tutorial! (Bedrock Command Tutorial)
Skip watching entire videos - get the full transcript, search for keywords, and copy with one click.
Share:
Video Transcript
hello everybody and welcome to another
command block tutorial now if you guys
have seen the thumbnail and you guys
have been following my channel for a
while you might be saying well guppy you
already made a video about these guns
you're just doing the exact same guns
again and you're right I am uh excepts
we're doing a different system because
if you guys have watched the video you
may have tried out that there's some
weird curving that was happening with
the bullets as well as the fact that
most importantly it wasn't working with
multiplayer and this is because the way
armor stands work in order for it to
allow guns to be able to shoot up and
down instead of just flat I had to do
some fancy stuff which unfortunately
made it so that guns Couldn't Shoot
upwards and or in order to shoot upwards
they couldn't really work in multiplayer
and then some weird curving stuff going
on however in this video we are using a
different system that was recommended to
me by a guy on my Discord whose name is
I use boats as projectiles
and in case you're wondering what the
change is we're going to be using
boats's projectiles it's actually in his
name his the idea but uh yeah it works
really well and the other thing that
we're going to be doing is we're
changing the machine gun a little bit to
up its fire rate because I think uh at
some point after I actually made that
video we got a new damage type called
override which allows us to fire the
automatic weapon a lot faster and still
deal damage so if I just have a huge
crowd here
I have the auto rifle just shy of the
maximum fire rate so you basically like
a really fast firing machine gun and
this it does chew through ammo
though just just a little demonstration
I'll put my
bar guess I can go in survival so you
see it does Cho Che through ammo so just
be aware of that but on the plus side
you do get also this desert eagle takes
the same amount of bullets but uh does
twice as much damage so you guys can see
here that if I were to just spawn one of
these guys in I kill him in two shots
he'll basically be dead with One
Singular shot whereas with the auto
rifle it's going to take a couple of
shots but it's just way
faster uh the other thing you guys can
do is if you guys wanted and I will
explain this in a little bit you guys
actually took the spot glass and instead
of a golden hoe use the spy glass you
would essentially have a sniper rifle
with a functioning scope so you can make
that as an additional weapon if you guys
want however I didn't demonstrate with
the commands myself because it would
literally be the exact same commands as
the deagle except for like two command
blocks and I didn't want to like repeat
the commands over and over
again anyways we're going to get started
with commands here in a second but like
I said if you guys have seen my last
video on the guns the commands are very
similar the only difference is that we
sky you guys can see that boat when I
look up real quick you can kind of see
it so you can kind of get an idea of
what's going on and how we're actually
keeping track of where the bullet is uh
if you guys are bothered by that you can
also increase the height of the boat but
for the most part this how it is right
now is going to work just fine for you
guys so once again shout out to I use
boats as projectiles for recommending
that I should use boats as projec
Styles but let's get into it starting
with the Desert Eagle which we're using
the golden hoe
for so we're doing here pretty simple we
are just doing a sneak detection which
I've done separate tutorials on if
you've never heard that before we're
just basically detecting if the player
is sneaking with the golden hoe in their
hand and if they are just go ahead and
add the tag
fire next up we're going to be checking
if the player is no longer sneaking if
that's the case go ahead and remove the
tag five
and finally if the player is no longer
sneaking remove the tag shot so the two
tags that we have fire and shots are
going to be really important for the
Desert Eagle uh fire so as long as I'm
trying to sneak while holding a golden
hoe it's going to think hey this player
is trying to shoot so if they have the
tag fire that means they're attempting
to shoot if the player has the tag shot
that means they have already shot and
they need to stand up again in order to
ready their next
shot cuz if you guys haven't realized by
the way we do trigger these by sneaking
and that goes for
both all right so the next thing that
we're going to do is actually summon in
this boat give it the right tags and
then get it ready to go on its merry way
so very first thing we're doing for
anything that has the tag fire does not
have the tag shot and has Flint because
we want to make sure that we have ammo
if you guys remember from the last video
we're using Flint as ammo we're going to
summon a boat 51 and 1/2 blocks above
the player and then we're going to
summon the boat slightly in front of the
player that way it's going to be facing
the right direction and it's not going
to accidentally hurt us in the
process next up we're just going to look
up from the player once again same
conditions has the tag Fire doesn't have
shot if we're going to go basically 51
and 1 12 blocks up from the player right
in front of the player so where the boat
is we're going to tag that boat with the
tag deagle this is just simply going to
give the tag deagle so that we can do
some of these other fancy stuff with
it next up what we're going to be doing
is we're going to be executing at the
player and we're just going to run a
little play sound so this is going to
give the gunfire sound that you guys
hear in the
video next up we're simply going to be
taking away one Flint so this is
actually going to be consuming the ammo
every single time we
shoot then we're going to be doing a
little bit of camera shake this is to simulate
simulate
recoil following that we're just going
to give the player the tag shot this
means that once they've already spawned
in the boat and consume the ammo it's
not going to fire again until the player un
un
sneaks which is what this command does right
right
here so that's what's actually summoning
in the boat that's what's getting it in
the position the last bit that we have
right here and I know this looks like a
lot but it's actually a lot of copied
commands just to make sure that the
bullet is firing quickly but still being
able to hit everything it would normally
be able to hit so like I said we've
already summoned in the Bullet by this
point now we're just going to give the
bullet physics that's going to allow it
to move have a particle and deal damage
first thing we're going to do is give
every boat that has the tag deagle we're
going to give it the tag landed this is
only going to be happening in this
commands but it is really important so
that way the bullet is not penetrating
through blocks we didn't have this
commands The Bu will be going behind it
obviously it is not can't go through
blocks so the next thing that we're
going to be doing is we're going to be
executing at the deagle just teleport
yourself forward this is what is going
to give it move it movement pretty
simple next up we are going to check so
unless there is an AIR block we're going
to go ahead and remove landed so so this
means that if the bullet's still in the
air then it's allowed to continue if
it's not in an AIR block then it's no
longer to be allowed to continue if you
want to add different blocks of what's
allowed to be for instance maybe you
want bullet to be able to go through
glass blocks go ahead and type in
something like this less block squigle
squiggle squiggle glass so if you want
it going through other blocks simply add
it like I just did with the glass that
could be doing it for this demonstration
but that's how you're going to do it if
you want to do it
next up we're going to be doing the
damage so we're checking here and I know
this looks like a lot but it's not as
difficult as it looks just going to be
executing at the boat and we're going to
be going down 50 blocks cuz remember the
boat's 50 blocks to high and we're going
to basically be damaging anything that
has a DX equals z that means it's
hitting the hit box of the enemy uh it's
not an item and it's not an armor stands
and then we're going to do 20 damage if
you guys want to make it do more damage
you can go ahead and make this number as
high as you want if you want to make it
do less damage make this number lower
make it whatever you want this is how
many half hearts it's doing so 20 blocks
or 20 right here would kill a player
with no armor in a single head we're
going to do entity attack and then we're
going to do the closest entity holding a
golden hoe this is what's going to
actually give your damage knock back in
the proper direction and if you were to
kill another player it would say the
proper player killed
you next up we're going to be doing the
particle simply execute at whatever has
the taged eagle go down 50 blocks and
run this particle pretty simple this is
actually most mostly it for the chain
command we're actually going to be
copying those four commands that we just
did twice in this one chain and that's
more or less it so I'm going to show you
the commands and then explain why I'm
copying them at the end but just to show
you teleport commands landed
command damage
command particle commands all of them
exactly the same we're going to copy the
four again teleport
teleport
landed Dam
damage particle all of them are exactly
the same the reason being is that if we
want the bullet to travel faster we need
to have multiple sets of commands if we
wanted to just travel two blocks at a
time the bullet in terms of checking for
damage would only check every other
block so if I had a traveling two blocks
at a time it would check for damage here
would check for damage here check for
damage here whereas if I had a husk
right here it would just get L skipped
over so instead we're doing multiple
commands with smaller increments that's
why we're only teleporting the blocks
the bullet like half a block at a
time finally what we're doing is we're
just going to kill anything that does
have the tag deagle but doesn't have the
tag landed that means it has intercepted
a block that we don't want it to
intercept that's pretty much it pretty
simple as that um yeah that that is the
entire set of commands for the Golden
Eagle it's really fun weapon pretty
simple if you want a single fire and
like I said if you want to change it to
be a sniper rifle all you got to do is
go into these commands where it says
golden hell change that to believe it's
telescope or spy glass yeah so just go
in here change this to spy
glass go ahead and
change not that command sorry this
command nope I think it's just this
command yeah yeah sorry just this
command to spy
glass and that's pretty much it and then
also you're going to want to change the
damage commands here change this to spy
glass and that'll be it so then instead of
of
the golden hoe we can actually scope in
like you would normally and boom we have
a fully functioning scoped in sniper
rifle but for now I'm just going to
leave it as the golden hoe but that is
entirely an option if you guys want a
sniper rifle all right let's move on to
the auto rifle now the auto rifle is
actually almost exactly the same except
it's uh two command blocks less so we
have one less on this chain and one less
on this chain so these two are one less
command block and this is all one big command
command
block so similarly instead of fire we're
going to be using AK fire for the auto
rifle and all we're doing is check does
the player have a iron horse armor in
their main hand if so give it the give
the play the tag AK fire and if the
player is no longer sneaking just remove
the tag AK
fire then we're going to be doing once
again exactly the same thing instead of
fire we're just checking for AK fire and
we're no longer caring about the shot
tag cuz we want it to be happening
multiple times for each time that the
player is
sneaking so once again we're summoning
the boat this time instead of the tag
deagle we're going to give it the tag
Auto going up once more we're going to
be doing basically the same thing giving
it a place sounds basically the same
thing clearing one Flint basically the
same thing giving it recoil however we
have made The Recoil significantly less
for the auto rifle compared to the
deagle because this is going to be
firing a lot faster and if the recoil
was the same the auto rifle would be basically
basically
unusable the only other important thing
for this that is different all of these
have the tick delay of zero except for
this command on the auto rifle so for
the deagle we can leave it on zero and
delay intakes but for the auto rifle
this is actually going to be controlling
the rate of fire for your weapon So
currently I have it on one tick this is
pretty much as fast as you can go you
can technically make it faster in firing
by putting it to zero in which case you
have basically an
Uzi it's just so fast that the boats
can't even process it so I probably keep
it at one cuz it might be just too fast
the boats are colliding with one [Music]
[Music]
another now say you want it to be a
slower Farm ing that's perfectly fine
you can put it to
four that's the wrong weapon you can see
it's firing a lot slower you can put all
the way up to 10 if I want to make it
like a really slow firing
one highly up to you guys but just be
aware that the tick delay in this
commands is what affects the fire rate
and the rest of these in the chain can
say at zero but that's going to be
changing the fire
rate so just once again I'm going to
show you doing the same thing except for
giving it the tag Auto
same thing all the way
around boom pretty simple and the
bullet's going to be almost exactly the
same as well but there's going to be one
difference so same thing though we're
going to give it the tag
landed then we're going to give it the
TP and the only difference once again is
obviously that we have Auto here instead of
of
deagle then we're going to give the tag
landed once again exactly the same thing
except Auto instead of
deagle this is where things get a little
little bit different so we have the same
thing just Auto instead of deagle and
obviously we check for iron horse armor
instead of the golden ho we have
slightly less damage cuz it makes more
sense for the auto rifle to deal less
damage and as per all the other ones you
can make this go higher or lower if you
want it's entirely up to you the main
difference here is that we're using
override instead of entity attack now
the main benefit to using override is
that normally in Minecraft when you
damage an enemy you have to wait four
ticks or 1/5 of a second before they can
be damaged again if we use the override
damage type however it does not care how
recently an entity has been damaged this
makes it possible to have the fire rate
faster than four if you don't use
override for the damage type this is the
fastest that your weapon can
fire Oh wrong weapon
again as you can see it's a whole lot
slower so if if if you want it slower
than four if you want it four or higher
in the tick delay you don't need to use
override but if you want it to be able
to fire faster and still deal damage
then you do need it to be override
that's the only major difference that's
going to be between this and the deagle
bullet after that we're doing the exact
same particle similar to the deagle
we're going to be copying the same
commands I'm going to show them all to
you but we have the TP the
landed the
damage the
particle following that we once again
have another set of the
TP the
landed the
particle and then finally with have the
exact same thing killing it at the
top so it's a little bit complicated but
it is actually pretty solid system and
if you guys saw the last video obviously
they said there's some bullet curving
and it wouldn't work in PvP which kind
of sucks
this current version fully should be
functioning with it
PVP and yeah it's also you can see we
can still fire it up and down it doesn't
have the issue that armor SS do so boats
actually are kind of a superior
projectile and I will probably be using
them in the future that's pretty much it
for the tutorial but just for fun I'm
going to end the video with me using
this really fast firing auto rifle to
fight the weather and see how fast I can do
away I feel like I'm actually going to
quickly oh man look how much damage I
already took out of him and he's [Music]
[Music]
dead yeah it's a little bit strong
um you might want to Nerf the damage for
this if you're using this in your own
world just because of how fast it's
firing but at the same time maybe you
want to blet H that can just just melt the
the
Wither all right I hope you guys enjoyed
Click on any text or timestamp to jump to that moment in the video
Share:
Most transcripts ready in under 5 seconds
One-Click Copy125+ LanguagesSearch ContentJump to Timestamps
Paste YouTube URL
Enter any YouTube video link to get the full transcript
Transcript Extraction Form
Most transcripts ready in under 5 seconds
Get Our Chrome Extension
Get transcripts instantly without leaving YouTube. Install our Chrome extension for one-click access to any video's transcript directly on the watch page.