Combat Tutorial V2 #10 - SFX, VFX & Hit Animations | Roblox Studio [TUTORIAL] โ Transcript
Full transcript
- 0:00all right guys welcome back to another
- 0:01video in today's video we are going to
- 0:03add some VFX and sound effects and hit
- 0:08animations to our comment system and
- 0:11yeah let's just Begin by opening the hit
- 0:14Ser script and let's actually get a new
- 0:17event and that is our M VFX
- 0:23event so let's just do events. Vex
- 0:28okay um
- 0:32then we can also make um some changes to
- 0:36it here so we can also check if the
- 0:41enemy human is even alive before dealing
- 0:45damage so if the enemy's humanite health
- 0:49is above zero then we only do the damage
- 0:53and stop the animations and
- 0:55stuff okay but now let's actually do the
- 0:59effects
- 1:00so for the effects that we did like five
- 1:04episodes ago um we need to do the um
- 1:09minut have we have X event then fire all
- 1:14clients then with comat
- 1:18effects uh you can also open it again
- 1:21to to see um what you need to do combat
- 1:25effects then we need the effect we want
- 1:27to have then the position or the C frame
- 1:30and then the time we want to destroy it
- 1:34um so in our hit service we want to
- 1:39have the blood effect so let's do
- 1:43replicate search.
- 1:44effects. com.
- 1:47BL let's
- 1:49well this effect right
- 1:52here then you want to position it at our
- 1:56enemy character's torso
- 2:00um or we can even make it at a hit point
- 2:04I think by just doing hit dot C oh not
- 2:10just hit just just hit um and no hit C
- 2:14friend my bad my
- 2:17bad and then also the St time just like
- 2:20two or 3 seconds should be enough for
- 2:23the particle to fully play okay let's
- 2:27check that out
- 2:33[Music]
- 2:37um yep
- 2:40okay you can see the uh effects
- 2:44are uh yeah being emitted properly and
- 2:48we can't damage them when they already
- 2:50dead okay nice and I think the effects
- 2:55are being emitted at the point that hit
- 2:59the
- 3:00enemy that's also pretty
- 3:05cool okay now let's add some sounds so
- 3:10we can open up the
- 3:11toolbox search like for
- 3:15cut then um get a nice
- 3:20sound I'm going to take this um okay
- 3:23then then open your in your sound
- 3:26service sfx for then weapons then Rapier
- 3:29and that's in that combat um thing you
- 3:32want to have a new sound that's your hit
- 3:35sound you can change your properties how
- 3:38you
- 3:38want
- 3:40um yeah and then put your sound
- 3:44there bam make sure to have that for all
- 3:48your
- 3:50weapons
- 3:52okay and then we can simply just play
- 3:55the sound with our um sounds
- 3:58module so
- 4:01sound sm. play
- 4:04sound then weapon
- 4:07sounds our
- 4:10weapon in square
- 4:13brackets
- 4:15um and then combat do
- 4:19hit the
- 4:21sound and then add our enemies Char
- 4:25enemy characters torso
- 4:28okay that should work
- 4:34hopefully perfect
- 4:37um nice and now we can just add some
- 4:42headit animations and we can simply do
- 4:44that by um making some new animations in
- 4:48here I've
- 4:50already prepared them so don't have to
- 4:54make them now
- 4:56um boom boom
- 4:59I can Jo them so uh in your weapon you
- 5:03want to have a new folder and that
- 5:05folder is called Hit And in that hit F
- 5:08you have hit one hit two hit three and
- 5:10hit four make sure to have that for both
- 5:13of your
- 5:14weapons and then let's go into our
- 5:18combat Ser
- 5:20script H go down
- 5:22here and here we're going to uh type our
- 5:27first let's get to H again
- 5:30and add three dots here and then we're
- 5:33going to say that the hit
- 5:36animation equals to the three
- 5:40dots
- 5:43okay
- 5:45um yeah then you can go back here and
- 5:49after hbox you're going to get the um
- 5:54animation so first you need to declare
- 5:57uh our weapons animation here again you
- 5:59can just direct that from
- 6:03here uh weapons animation and the
- 6:06animations
- 6:08folder
- 6:10boom and then down let's actually make
- 6:13this a VAR so local M
- 6:16hit animation equals to weapon
- 6:22animations then square square brackets
- 6:25current
- 6:26weapon M do hit
- 6:31and then in that hit folder we want to
- 6:33search for
- 6:34hit and then our current combo the
- 6:39number of our combo okay and then just
- 6:42put after H box the hit animation and
- 6:45then end back in your hit service module
- 6:47you want to write um after the stop
- 6:52animations can put all of this off the
- 6:54stop
- 6:55animations
- 6:57um we want to write
- 7:00eh humanoid do
- 7:04animator
- 7:08loads loads
- 7:11animation and then
- 7:14our hit
- 7:17animation and let's play that animation
- 7:22okay let's see if that
- 7:28works that's
- 7:30works
- 7:33perfectly all
- 7:35right
- 7:37um yeah I think
- 7:40that uh wraps up this
- 7:44episode I'm just going to test it with
- 7:46the other weapon again real quick
- 8:03okay yeah that that uh also works uh and
- 8:09I know uh um what I'm going to do next
- 8:11episode
- 8:13because we kind of that's most for
- 8:17players but sometimes the
- 8:21um
- 8:22the what is it now um the hitbox won't
- 8:27really register the hit because
- 8:31of um objects like these or for
- 8:34characters accessories all this
- 8:37accessies could actually hinder the
- 8:40hitbox and that is definitely what we
- 8:43what we are going to fix in the next
- 8:45episode but
- 8:48yeah this was everything for this
- 8:51episode thanks a lot for watching and
- 8:53have a great day see you
- 8:59[Music]
About this transcript
This page contains the full transcript of Combat Tutorial V2 #10 - SFX, VFX & Hit Animations | Roblox Studio [TUTORIAL] by Liam ๐, generated from the public captions YouTube serves with the video. The transcript has 899 words across 162 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator โ no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.