YouTube2Text

How to Make Slash VFX | Roblox Studio — Transcript

by Twist VFX · 9,147 words · 1,536 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome back everybody. Today I'm going
  2. 0:01to be showing you how to make this wind
  3. 0:03breathing slash in Roblox Studio. Today
  4. 0:05I thought I'd step it up a bit. We're
  5. 0:06going to use some beams, we're going to
  6. 0:08do some meshes. I have a bit of coding,
  7. 0:10so I hope we are able to learn
  8. 0:11something. And let's get into it. All
  9. 0:13right, so I get my part in, put my
  10. 0:15attachment in it, and then we'll just
  11. 0:18throw particle in it. For slashes I do a
  12. 0:20lifetime of like 0.2 0.3. It's probably
  13. 0:23not a huge deal. We're going to do 0.3.
  14. 0:26Uh set your speed to 0.001.
  15. 0:30We need this to face perpendicular and
  16. 0:32if your speed is zero,
  17. 0:34it'll just disappear.
  18. 0:36So, set that to 0.01. If you have a
  19. 0:38plugin like me, just
  20. 0:41change that to one, your uh emit count.
  21. 0:45Cuz then when we actually code it, it'll
  22. 0:46make this a lot easier. If you don't
  23. 0:48have a plugin, just add an attribute
  24. 0:50right here. You can go up. That's wrong.
  25. 0:54Just set it to number name it whatever.
  26. 0:56If you're trying to follow along with
  27. 0:57me, just name it the same thing. This
  28. 0:59will set So, we just when we run the
  29. 1:01code, it'll tell it how many of this
  30. 1:02particle to emit once. Light influence
  31. 1:04to zero, I don't want that up.
  32. 1:07Size we'll probably have to mess with.
  33. 1:09I'll put it like five for now. And then
  34. 1:11I'm just going to try and find a slash
  35. 1:12texture. I'm kind of going to go for
  36. 1:14something like sharp and broken up cuz
  37. 1:16that kind of fits the theme of what I'm
  38. 1:18doing. If you're doing something
  39. 1:19different, you're going to want to
  40. 1:20change it, but if you have a plugin like
  41. 1:22me, like Sonido Visuals, which I'd get
  42. 1:24by the way if you don't have it already,
  43. 1:26there are a bunch of slashes here. So,
  44. 1:28you shouldn't have a problem finding
  45. 1:29what you need. Um this one might work to
  46. 1:31start out. I'm going to Actually, I'm
  47. 1:34just going to turn this off.
  48. 1:36Uh I'm going to loop emit this. If you
  49. 1:38have this plugin, it's pretty easy to
  50. 1:40follow along. If you have VFX Suite, I
  51. 1:42think it's the same thing. I'm going to
  52. 1:44set my color to like a dark green.
  53. 1:48I'm going to do my base color first. And
  54. 1:50then we'll build on top of it. Rotation
  55. 1:52speed, we'll just up this a bit.
  56. 1:55This will make it rotate further over
  57. 1:57the lifetime. I think that's backwards.
  58. 2:01Um
  59. 2:02-190 -180
  60. 2:05Good enough.
  61. 2:07There we go. Slash.
  62. 2:09I'm actually just going to up this now
  63. 2:10cuz I can already see it's too small.
  64. 2:12And then I might find a second one.
  65. 2:15This might be good. This one's got a
  66. 2:16nice little line in the middle of it.
  67. 2:19Yeah, it's just too small. And I might
  68. 2:21make it black since it's pretty tiny.
  69. 2:24And we're going to layer this under
  70. 2:26Z offset doesn't have to be that high
  71. 2:28cuz we're only layering textures below
  72. 2:30and above each other.
  73. 2:32So they just have to differ by 1/1000.
  74. 2:35So I could even do something like this.
  75. 2:36If you're not trying to layer an effect
  76. 2:38over a character or the ground or
  77. 2:39something, you really don't need this
  78. 2:40turned that high at all. And this is
  79. 2:42sticking out a bit at the end. Something
  80. 2:44I like to do sometimes, if you have a
  81. 2:46plugin like this, you can just retime
  82. 2:48it.
  83. 2:49So I'll cut it in half for now and then
  84. 2:50later we can just double it again to
  85. 2:52speed it back up. But this actually lets
  86. 2:53me see
  87. 2:55what's going on cuz my lifetime's so
  88. 2:57small. So this is my black one.
  89. 3:00Going to rotate it. I don't actually
  90. 3:02know how far. That's the wrong
  91. 3:04direction. I don't actually know if I
  92. 3:05like the black.
  93. 3:08We'll probably make it a darker green
  94. 3:09but not like pitch black. And I'm
  95. 3:11realizing this texture kind of just
  96. 3:12disappears at the end. It doesn't fade
  97. 3:14as well as I'd like it to. It might not
  98. 3:16matter actually once we speed this up
  99. 3:18again, but I might do transparency fade
  100. 3:20just on this one. So even something
  101. 3:22slight like this is
  102. 3:24better. And make sure you actually add
  103. 3:26another point.
  104. 3:28Cuz if you were to just slide the end
  105. 3:29up, it's going to start disappearing
  106. 3:30immediately, which we don't want. So
  107. 3:32we're going to try and leave it at zero
  108. 3:34transparency and delay it a bit. Now I'm
  109. 3:36going to try and find a smaller one that
  110. 3:38I can make glow with a brighter green
  111. 3:40and then we can duplicate it and rotate
  112. 3:42it a bit to just give it some texture,
  113. 3:44which this one's actually perfect, I
  114. 3:46think. Uh we're going to have to up that
  115. 3:48a lot. Shade of green It not actually be
  116. 3:50that great.
  117. 3:52I think I want more yellow. So, this is
  118. 3:55backwards.
  119. 3:56So, instead of a mid from the top, we're
  120. 3:58going to go bottom.
  121. 4:01And now you can see the texture is
  122. 4:02facing that direction. So, rotation
  123. 4:05speed, we want that to be way up cuz I
  124. 4:06don't think this texture spins at all.
  125. 4:08Nope, it doesn't.
  126. 4:11So,
  127. 4:13that's probably too small still.
  128. 4:15And I think this is how many degrees it
  129. 4:17turns per second. So, if you have a low
  130. 4:19lifetime like me, you're going to want
  131. 4:21to turn this way above 360. And I'm
  132. 4:24going to flip that.
  133. 4:25And we'll size it up a bit and we'll
  134. 4:28layer it over. Maybe if I size it
  135. 4:31Yeah, it doesn't look that bad on the
  136. 4:33outside.
  137. 4:34It is not going far enough though.
  138. 4:37So, we're going to tone this down a bit,
  139. 4:39maybe 130.
  140. 4:43120, my rotation speed's too high now.
  141. 4:45Kind of just have to play with the
  142. 4:46rotation values until it works.
  143. 4:48Sometimes the
  144. 4:50getting directions correct is a little
  145. 4:52bit annoying.
  146. 4:53My up that again.
  147. 4:55And now I'm going to add a second one in
  148. 4:57here and I'm just going to make it a bit
  149. 4:59smaller and rotate slightly further back
  150. 5:02towards the tail end of it.
  151. 5:05So, let's see, like that maybe.
  152. 5:07There we go.
  153. 5:11Uh we'll probably make it
  154. 5:12darker. We don't want this one to be as
  155. 5:14noticeable.
  156. 5:15But, I want to try and give this some
  157. 5:17contrast. We could also do some
  158. 5:21more yellow.
  159. 5:24Like a lime green, that's probably too
  160. 5:26much.
  161. 5:27Something like this maybe.
  162. 5:29Let's do a negative point one
  163. 5:33on this one.
  164. 5:36In Demon Slayer, you can see the green
  165. 5:38kind of just has like super bright
  166. 5:40yellowish spots in them. So, I think I'm
  167. 5:43going to try and layer these together,
  168. 5:44but I don't want it to be
  169. 5:46super noticeable.
  170. 5:49Like this and then I'll probably have to
  171. 5:50turn the brightness down
  172. 5:52just slightly. That looks dumb. We're
  173. 5:55not going to do that. I think I'm going
  174. 5:57to find another texture here. Don't be
  175. 5:59afraid to just like spam {slash}
  176. 6:01textures cuz you're only emitting one
  177. 6:03and it does introduce some lag to have
  178. 6:05to loop through a bunch of these, but
  179. 6:07it's
  180. 6:08to my knowledge not horrible.
  181. 6:11I mean, don't go crazy, but it's fine if
  182. 6:13you use multiple textures. Slashes are
  183. 6:15very hard to get right when you only use
  184. 6:17a couple. I mean, if you make your own
  185. 6:19textures, you could probably do it
  186. 6:21really easily cuz do you have a lot
  187. 6:22more, you know, flexibility with that.
  188. 6:24But we're going to use pre-made textures
  189. 6:28for this. Um this one might work. I
  190. 6:30don't know. This one's kind of weird.
  191. 6:32Okay. Um
  192. 6:34that's not actually horrible. It's kind
  193. 6:36of nice. Gives it a little bit of a
  194. 6:38noisy texture.
  195. 6:40We'll leave it for now. See, this one's
  196. 6:42kind of got a sharp edge to it. It might
  197. 6:44look dumb, but we can try it.
  198. 6:47Uh we're going to have to flip that cuz
  199. 6:48it's going backwards.
  200. 6:50Wherever bottom is. Uh I think it
  201. 6:52rotates on its own, so we probably don't
  202. 6:54need 180. That's too far actually, but
  203. 6:58oh that's rotation speed, too. This
  204. 6:59might not look too horrible if we just
  205. 7:01put it out and then do
  206. 7:04this. Just make it transparent.
  207. 7:07Sometimes it's nice to have like
  208. 7:09pretty transparent textures under there.
  209. 7:12It kind of adds a little glowish look to
  210. 7:15it. It's not really glow, but you get
  211. 7:17what I mean. I might also add this
  212. 7:19texture in here. See if we can get
  213. 7:21another small little super bright area.
  214. 7:25Um I don't know where it is.
  215. 7:29It's way on the outside. We'll do like
  216. 7:3230. I want to crank this way up for a
  217. 7:34second.
  218. 7:36We'll lower that. That's actually a
  219. 7:38really nice texture. I don't think I've
  220. 7:39ever used that.
  221. 7:41I might actually want multiple of these,
  222. 7:42So, I'm going to go here. I'm going to
  223. 7:44up my mid count.
  224. 7:46And again, you can just come down here
  225. 7:48and change the number if you don't have
  226. 7:49a plug-in.
  227. 7:50And then I'm going to randomize the
  228. 7:51size.
  229. 7:53Let's just try like 1.5.
  230. 7:57It might be a bit much.
  231. 8:00It's not horrible. Five might have been
  232. 8:02too many for this though.
  233. 8:04And I'm going to randomize my rotation.
  234. 8:06Let's say like 30-ish.
  235. 8:11Should be 210.
  236. 8:1430's too much. Maybe just 10.
  237. 8:18Let's try that.
  238. 8:19Not too bad. I might make it bigger
  239. 8:22though. See, that's kind of nice. I
  240. 8:24might add another one to make it go a
  241. 8:25lot slower so it lags behind a bit. For
  242. 8:29now, I'm just trying to get it to
  243. 8:30rotate.
  244. 8:32Just slightly but not too much.
  245. 8:35Okay, that's fine actually. Then I'm
  246. 8:37going to keep it on this tail end here.
  247. 8:39I might do -40 to like
  248. 8:43-120.
  249. 8:46Maybe that might be
  250. 8:48Eh, no, that's kind of nice. Let's see
  251. 8:50what it looks like actually at speed
  252. 8:52now.
  253. 8:58Something about it looks off.
  254. 9:01And I'm not sure what.
  255. 9:02Could just transparency fade everything?
  256. 9:06Like this. We'll just try it.
  257. 9:09It's easy enough to undo it if it looks
  258. 9:11dumb. Okay, well, it's kind of hard to
  259. 9:13see when this super bright one's just
  260. 9:17not transparent at all. Okay, we're
  261. 9:19going to mess with all the other ones.
  262. 9:23Go up, pulse at .6. I might move back to
  263. 9:26.5.
  264. 9:28Uh with the dot there. So, now they'll
  265. 9:31start disappearing
  266. 9:33slightly sooner.
  267. 9:36We'll up this.
  268. 9:39And that doesn't look that bad.
  269. 9:42Okay, so I'll put this back now. We kind
  270. 9:44of got a main slash.
  271. 9:46We don't need to fine-tune it as much.
  272. 9:49So I'm thinking now I might actually
  273. 9:50just add some beams. So I'm going to I'm
  274. 9:53going to stop looping that and then I'm
  275. 9:55just going to emit this just so we can
  276. 9:56see the actual shape of it.
  277. 9:59And then I had a texture somewhere.
  278. 10:03This was all I recorded this before we
  279. 10:05ended up really bad and the slash just
  280. 10:07looked like garbage. So I'm redoing it.
  281. 10:10I will add another attachment just for
  282. 10:12organization purposes. We're adding an
  283. 10:15attachment.
  284. 10:17>> [snorts]
  285. 10:17>> And then what I'm going to do, I'm going
  286. 10:19to move this out to one end. We'll just
  287. 10:22call it nine. It might not be a bad idea
  288. 10:24for it to stick a bit out actually.
  289. 10:27Say 9.5.
  290. 10:29And we'll go
  291. 10:31I'm bad at math. What is it? -19 the
  292. 10:33opposite direction? So it matches. And
  293. 10:36now we're going to add a beam in.
  294. 10:38I'll put the texture I had.
  295. 10:43And this texture will be open sourced.
  296. 10:45I'm going to give this whole file away
  297. 10:46for free in my server. So if you want
  298. 10:48it, just go get it.
  299. 10:50It's a texture I made. It's not amazing,
  300. 10:52but it works. So I'm going to use it.
  301. 10:55And now attachment one or attachment
  302. 10:58zero, just put it in one of them.
  303. 11:01Do this to the other one.
  304. 11:02We want our speed to be zero. We're
  305. 11:05going to re-enable that so it re-centers
  306. 11:07it. And then curve size. You want your
  307. 11:09curve size
  308. 11:11to make a perfect circle. It's going to
  309. 11:12be your diameter divided by 1 and 1/2
  310. 11:15or just times 2/3. Doesn't matter. It's
  311. 11:1812.6 repeating.
  312. 11:20Okay, that's not what I said at all.
  313. 11:2612.6 repeating. And now we're going to
  314. 11:28have to rotate this so it actually goes
  315. 11:30out. We're going 90 degrees.
  316. 11:33And now it'll be a perfect semicircle.
  317. 11:38And we could just duplicate this and go
  318. 11:39the other side if you're trying to make
  319. 11:41something with a circle. We're going to
  320. 11:42go I'm going to go zero on the tail end
  321. 11:44and just make the end really big.
  322. 11:48That's all right. Face camera, we want
  323. 11:50that on.
  324. 11:52Just so I can view it from any angle cuz
  325. 11:54if you look at it from the top, it'll
  326. 11:55just go flat and that's weird.
  327. 11:58Segments, I'll probably turn that up a
  328. 12:00bit. 50s might be a bit high but it will
  329. 12:03work. Oh yeah, this is another issue our
  330. 12:05blocks has. The rendering for beams is
  331. 12:08really horrible.
  332. 12:09Did you
  333. 12:11You can see the tail end through one end
  334. 12:13of it. It only works on one side.
  335. 12:16I don't think there's a way around this
  336. 12:17but with quick things like slashes, it's
  337. 12:19not a huge deal. So now I'm going to
  338. 12:22copy this whole thing
  339. 12:24and I'm just going to add a bunch of
  340. 12:25these
  341. 12:26to make it broken up. I know we have
  342. 12:28some textures
  343. 12:30I don't know why I said we. I know they
  344. 12:32have some textures in this plugin that
  345. 12:34have like more jagged edges like this
  346. 12:36one that probably work real well with a
  347. 12:38beam. I'll probably go like five.
  348. 12:42I think I'll turn the end up so you can
  349. 12:43actually see that. Maybe zero on the
  350. 12:45front end.
  351. 12:46Then we'll just make the tail end
  352. 12:49a bit bigger. I'm going to do light
  353. 12:50emission cuz this has some black in it
  354. 12:52and I don't like that.
  355. 12:54I'll probably just make this
  356. 12:56That That just looks dumb now.
  357. 13:00What if you just put this whole thing
  358. 13:01black and put it behind it?
  359. 13:06It kind of works. I don't like this
  360. 13:07black at the end.
  361. 13:09So I'm going to
  362. 13:11Well, I'm going to lower this first
  363. 13:13cuz that's real high.
  364. 13:16>> [snorts]
  365. 13:16>> And then I'm kind of just going to drag
  366. 13:18this transparency
  367. 13:21up
  368. 13:22and that kind of fixes it.
  369. 13:25It's not a huge deal.
  370. 13:27And I don't want this to stick out at
  371. 13:29the end.
  372. 13:30So, I'm going to we'll just move this
  373. 13:33up. Move this down to random point.
  374. 13:36Then I'm going to take this and add
  375. 13:38another one.
  376. 13:40So, that will completely cut off this
  377. 13:41area from showing at all. And now it
  378. 13:43looks fine. Keep in mind you can sit
  379. 13:45here and fine-tune this forever, but
  380. 13:47it's going to move so fast you're not
  381. 13:48really going to see. So, it's not a huge
  382. 13:50deal. Then I might duplicate this again.
  383. 13:53I'll see if I can find a different
  384. 13:54texture like this one. I actually use
  385. 13:57for a lot of beam slashes. It works well
  386. 13:59if you just cut the ends off with
  387. 14:00transparency.
  388. 14:02I might turn that up.
  389. 14:0510 was
  390. 14:06real overkill actually. I think I'm
  391. 14:08going to make this a darker green.
  392. 14:11.1 maybe.
  393. 14:13That's all right.
  394. 14:15Again, we'll just cut off this front
  395. 14:17part.
  396. 14:18Cut off the end.
  397. 14:22And I don't really want any of this.
  398. 14:25So, I'm just going to
  399. 14:26drag that till like here.
  400. 14:29Now, it's kind of hard to see where the
  401. 14:31dots are. And I'll put it over the
  402. 14:33black, but behind our
  403. 14:35main one. So, .05.
  404. 14:38And I probably want this up cuz now it's
  405. 14:40just getting cut off and that just looks
  406. 14:42stupid. Can add some brightness to this.
  407. 14:44Three doesn't really ruin it.
  408. 14:46So, now I'm going to duplicate this.
  409. 14:49We're going to cut these out. I don't
  410. 14:51really want these. I'll put them on the
  411. 14:52main slash.
  412. 14:55Speaking of it, I should probably just
  413. 14:56make this whole thing bigger.
  414. 14:58Uh that didn't work.
  415. 15:01>> [snorts]
  416. 15:01>> We'll go
  417. 15:02If you have VFX Forge, this is really
  418. 15:04easy. You can just multiply the width
  419. 15:06values of all of it. And now my life is
  420. 15:08going to be a lot easier if I add an
  421. 15:10attachment for every beam.
  422. 15:13So, I don't have to duplicate and try
  423. 15:15and find which two are what.
  424. 15:17Just keep it under one.
  425. 15:19Duplicate that. Move it up.
  426. 15:22Get rid of these two.
  427. 15:24>> [snorts]
  428. 15:25>> And now
  429. 15:27I'm going to lower this again.
  430. 15:30I'm just going to add a bunch more just
  431. 15:31trailing around it. If you've played the
  432. 15:34Hinokami Chronicles games,
  433. 15:37you've probably seen they do this with a
  434. 15:38lot of their slashes. They'll layer a
  435. 15:41bunch of beams.
  436. 15:42I'm not sure if they call it beams and I
  437. 15:44assume they use Unreal Engine.
  438. 15:46That's what it's called in a Roblox and
  439. 15:48and it looks the same, so that's what
  440. 15:49I'm going to call it. I'm just going to
  441. 15:51make a
  442. 15:52random shape here.
  443. 15:56And that's
  444. 16:00not horrible, actually. So, that's fine.
  445. 16:02I'll probably add a shorter one on the
  446. 16:04front. This one I'm not going to make a
  447. 16:06perfect circle, so I'm going to have to
  448. 16:08mess with the width values a bit. I'm
  449. 16:10going to move this up to like here.
  450. 16:14And we're going to want to rotate it
  451. 16:15towards just the curve.
  452. 16:20Oh, do the same for this.
  453. 16:23Probably not a huge deal. And then yeah,
  454. 16:25you can see our width is way too high.
  455. 16:28Or our curve size.
  456. 16:30Well, let's try 55, maybe.
  457. 16:33Uh
  458. 16:35Yeah, that worked pretty well. I didn't
  459. 16:37think it worked first try.
  460. 16:40Sometimes you just got to play around
  461. 16:41with those values until it doesn't look
  462. 16:43stupid.
  463. 16:45But, that's fine.
  464. 16:46And then I'll just duplicate it and add
  465. 16:48another one down here.
  466. 16:52And I'll probably change this.
  467. 16:55We don't want our sizes to all be
  468. 16:57exactly the same.
  469. 17:00I mean, like I said, that it's going to
  470. 17:01go really quick, so it probably doesn't
  471. 17:03actually matter.
  472. 17:04I'm just picky about some stuff like
  473. 17:06this.
  474. 17:07Just do whatever you want, man.
  475. 17:09Uh maybe we'll move this down.
  476. 17:13I might move these two outward just
  477. 17:15slightly.
  478. 17:20There we go. That's fine. Now, I'll
  479. 17:22probably duplicate them. Okay, where'd
  480. 17:24they go?
  481. 17:25And I'll move these inside, too.
  482. 17:28Cuz that kind of works. And you'll see
  483. 17:30they clip through each other a lot.
  484. 17:32Uh it's not going to be that huge of a
  485. 17:33deal once we actually play it, just cuz
  486. 17:36you know, it's going to move so fast
  487. 17:38you're not even going to see. I'm going
  488. 17:39to turn this off now that I actually
  489. 17:41have my size correct. That was if you
  490. 17:43have VFX Forge, just shift R by the way
  491. 17:45to enable.
  492. 17:46And I think pressing R just emits once.
  493. 17:49It's really not that horrible, actually.
  494. 17:51I might add some tiny ones trailing
  495. 17:54behind and like to the top. You kind of
  496. 17:56want it to like break away and get
  497. 17:58thinner as you get away from this main
  498. 18:00slash. Again, we'll just take this,
  499. 18:03duplicate it,
  500. 18:05move it back.
  501. 18:08We're going to move this way out.
  502. 18:10Like here.
  503. 18:12Then I'll make this one
  504. 18:14tiny tiny.
  505. 18:17Go like that.
  506. 18:21Again, I kind of just
  507. 18:23rotate it until it's tangent to the
  508. 18:25curve.
  509. 18:29It's probably not a huge deal.
  510. 18:33And that kind of works. I might want to
  511. 18:34move it more in.
  512. 18:37There we go.
  513. 18:38And I might make these glow a bit more,
  514. 18:40just cuz they're off to the side. And
  515. 18:42I'll make it a lot smaller.
  516. 18:44Like that.
  517. 18:47I'll probably make it slightly bigger.
  518. 18:48And we're just going to throw these
  519. 18:50around.
  520. 18:51So, we'll put one like way out here, I
  521. 18:53guess.
  522. 18:55Well, I don't know if I want to rotate
  523. 18:56it.
  524. 18:58Move it down.
  525. 19:00Maybe a tiny bit.
  526. 19:04There we go. Back there.
  527. 19:06Um
  528. 19:08Actually, that's
  529. 19:10This one is
  530. 19:13not facing
  531. 19:14correct way.
  532. 19:17My texture's also just weird. It like
  533. 19:19kind of
  534. 19:20I mean, you can kind of see it on this
  535. 19:21big one. It kind of bends.
  536. 19:25I just messed up when I made it.
  537. 19:28Uh curve size will probably go down a
  538. 19:31lot.
  539. 19:33Uh two's way too extreme.
  540. 19:39Five here, maybe.
  541. 19:42Good enough.
  542. 19:45And then I'll put a couple up here at
  543. 19:46the front.
  544. 19:49Um
  545. 19:51We'll move these way up.
  546. 20:04I'm kind of just focusing on this front
  547. 20:06one
  548. 20:07cuz
  549. 20:08if you try and duplicate two at the same
  550. 20:10time, it's going to be real hard to get
  551. 20:11them to line up.
  552. 20:14>> [snorts]
  553. 20:14>> And then I'll just move this slightly.
  554. 20:18Whatever, good enough. It's not perfect,
  555. 20:21but it works. I might actually move this
  556. 20:23one in.
  557. 20:24That's not even the right one.
  558. 20:26Move it to the inside.
  559. 20:30Here we go. That's probably more beams
  560. 20:32than you're actually going to want to
  561. 20:33use, but this is just for a tutorial, so
  562. 20:36I'm just messing around with it.
  563. 20:39I assume in actual game this would
  564. 20:40introduce a decent amount of lag. I know
  565. 20:42I said I'd throw them all under an
  566. 20:44attachment just for organization, but if
  567. 20:46we code this, we're actually going to
  568. 20:47want them all under one because we're
  569. 20:49going to want to rotate this attachment,
  570. 20:51and then I'll just turn the whole thing.
  571. 20:53It's a lot more complicated to try and
  572. 20:55rotate all of these separately
  573. 20:58around your
  574. 21:00you know, pivot point. So, just put them
  575. 21:01under one.
  576. 21:03Then we can very easily just change
  577. 21:04this. Don't actually like this one in
  578. 21:06the front.
  579. 21:08We're just going to
  580. 21:10get that out of here. Some of them emit
  581. 21:13this back again.
  582. 21:15Cuz now I'm going to try and just add
  583. 21:16some random like
  584. 21:18miscellaneous particles to it.
  585. 21:20And I think I'm going to size this up
  586. 21:22actually cuz now our beams are way too
  587. 21:24big.
  588. 21:26Good enough. And I might end up making
  589. 21:28some of these smaller ones a bit bigger
  590. 21:30start slash is thinner. So now I'm going
  591. 21:33to group this.
  592. 21:35Let's call this Okay, why is caps on?
  593. 21:38Call this slash group it.
  594. 21:43Doesn't matter what you name it.
  595. 21:45Now I'm going to add another part in
  596. 21:47here. Just duplicate it cuz that's easy.
  597. 21:51>> [snorts]
  598. 21:51>> I'll just name this slight VFX or
  599. 21:53something.
  600. 21:54Just whatever.
  601. 21:56And now we're going to just add
  602. 21:59parts along the slash and then we're
  603. 22:01going to emit particles out of it to add
  604. 22:02little specs. Keep in mind our slash is
  605. 22:05going to start more back here. For now
  606. 22:07the beams are just sitting up front.
  607. 22:10So probably do something like this. Move
  608. 22:12this in
  609. 22:14to match this a bit more.
  610. 22:17We'll duplicate that again.
  611. 22:20Um rotate it slightly. I do like three
  612. 22:23to five of these. Uh we're going to make
  613. 22:25these transparent cuz we don't want that
  614. 22:27in our face.
  615. 22:29And we're just going to add a particle
  616. 22:30in here. Our lifetime we probably don't
  617. 22:32want too high compared to the actual
  618. 22:34slash. I do like 0.4 0.6.
  619. 22:38And then I'll put my size. Actually I'm
  620. 22:41not going to put that down.
  621. 22:44I'm going to if you have a plugin for
  622. 22:45this show paths. If not you'll just have
  623. 22:47to mess with it.
  624. 22:49We're going to change That's front so we
  625. 22:52want back. We're going to make it go in
  626. 22:54the direction of the slash.
  627. 22:55And then I like to block it
  628. 22:58to the part and then change our
  629. 23:00acceleration.
  630. 23:02Which I think that's the wrong axis.
  631. 23:0610's probably too much. I'm just trying
  632. 23:08to play with the numbers so we see the
  633. 23:10direction.
  634. 23:12Like that. And that'll occur a little
  635. 23:13bit. Doesn't really fit the theme, but
  636. 23:15I'll probably add some little specs just
  637. 23:19around. Actually, I think a star would
  638. 23:21work better.
  639. 23:24Where's a star?
  640. 23:27Something like this maybe. That's all
  641. 23:30right, I guess.
  642. 23:32And I'm going to I did this in the
  643. 23:34explosion video if you watched it.
  644. 23:36I'm just going to make these sparkle a
  645. 23:38little bit by just adding some random
  646. 23:40bumps in here.
  647. 23:42And the lifetime's actually super short,
  648. 23:44so I think you only need two bumps.
  649. 23:46Going to move this up a bit.
  650. 23:51I always make this last one just a bit
  651. 23:52longer.
  652. 23:53That's kind of just personal preference,
  653. 23:55I guess, but it gives it a nice little
  654. 23:57fade out.
  655. 23:59And this is too big.
  656. 24:02So I'm just going to
  657. 24:04There we go, like that.
  658. 24:05Randomize rotation a bit.
  659. 24:08And I'm not liking this texture at all.
  660. 24:13Something like this is a bit better.
  661. 24:15It has a bit of a shape to it, but you
  662. 24:17can still
  663. 24:19see it looks like a dot. Um emit count,
  664. 24:23we can stick with like five for now.
  665. 24:26And now I'm actually going to loop emit
  666. 24:28the entire model.
  667. 24:34And actually, since these are flashing,
  668. 24:35I'm going to put the lifetime
  669. 24:38in a much wider range. Could also just
  670. 24:42add some specs cuz that's
  671. 24:45always easy. Uh size for these, I just
  672. 24:48keep them constant. Five's probably too
  673. 24:49high.
  674. 24:51Two, maybe three.
  675. 24:53Good enough. We'll do transparency fade
  676. 24:55out. And normally, I'm real religious
  677. 24:58about like
  678. 25:00fading in. If you're doing a slash, it
  679. 25:02kind of just helps it to give impact if
  680. 25:04it just appears out of nowhere. I lied.
  681. 25:07I think I do want these to fade in.
  682. 25:10Just a little bit.
  683. 25:14Uh
  684. 25:15three. We'll probably move this up just
  685. 25:17slightly, so we have a wider window
  686. 25:19where it's actually glowing.
  687. 25:21And five is probably too many cuz
  688. 25:23they're so big. I think I'm going to
  689. 25:25move these out, actually, cuz now our
  690. 25:27beams are getting covered up. And my
  691. 25:29shape is real weird, actually.
  692. 25:32I'm now realizing. So, I'm going to move
  693. 25:33this out.
  694. 25:36So, it fits the curve a bit better.
  695. 25:41Probably move these two slightly over.
  696. 25:45There we go. It's a bit better of a
  697. 25:49curve now. And now that one's way off,
  698. 25:51though. They are
  699. 25:53pretty short, though.
  700. 25:55So, I don't know if I'm going to raise
  701. 25:57that.
  702. 25:59Raise that up a bit.
  703. 26:01Cuz our beams are real big now. So, now
  704. 26:03I'm actually sync this up with the
  705. 26:05animation.
  706. 26:07Uh we're first of all going to find
  707. 26:09where the actual slash is. There's the
  708. 26:11first one.
  709. 26:12This is a scythe animation, by the way.
  710. 26:14So, the sword doesn't really line up
  711. 26:15perfectly. But, it'll look fine
  712. 26:19when we actually play it. So, I find
  713. 26:21like the first frame or two they
  714. 26:23actually start swinging. And that's when
  715. 26:26I try to play it. I kind of just write
  716. 26:27my stuff in a separate script. You can
  717. 26:30write in Moon Animator, but it doesn't
  718. 26:31have like
  719. 26:33the auto fill or
  720. 26:35it's I don't even know what to say. It's
  721. 26:38just horrible. So, first, uh I'm going
  722. 26:40to probably define my part
  723. 26:43just
  724. 26:44as whatever.
  725. 26:48That's the wrong one.
  726. 26:511 / 1
  727. 26:53And then we're going to want to rotate
  728. 26:55our beam slider, remember?
  729. 26:57So, we're going to take
  730. 26:59local beam slash equals
  731. 27:03part dot What was it? slash beam slash
  732. 27:08There we go. So, now we got a variable
  733. 27:09for our model and
  734. 27:12this beam slash attachment. So, we're
  735. 27:13going to do four IVN Nope, that's the
  736. 27:17wrong one.
  737. 27:19And for get descendants do
  738. 27:23I'm not really going to explain the code
  739. 27:25too much cuz
  740. 27:26I'm not a scripter and I do not know to
  741. 27:28teach this stuff. Try and follow along,
  742. 27:30I guess.
  743. 27:32So, this is going to loop through
  744. 27:36you know
  745. 27:37for that's just like that's the index.
  746. 27:40That'll just count by one.
  747. 27:42So, for V is our variable
  748. 27:45for everything in this part, it's going
  749. 27:47to loop through. If it's a particle
  750. 27:50it'll emit it.
  751. 27:52And then the actual amount it's emitting
  752. 27:54is our emit count attribute that we set
  753. 27:57earlier. So, that'll play our slash
  754. 27:59particles in the like the effects around
  755. 28:02it.
  756. 28:03Now, we're going to need
  757. 28:04something to actually play the beam
  758. 28:06slash. So, first of all, I messed up.
  759. 28:10Yep, define our tween service. I'm
  760. 28:12actually going to go through
  761. 28:14and I'm going to add an attribute for
  762. 28:16all these. We're going to want an
  763. 28:19initial size attribute. That'll make it
  764. 28:21a lot easier to play at the start and
  765. 28:23it'll let us loop it. So, that's all of
  766. 28:24them. We'll add another tag and
  767. 28:26attribute
  768. 28:28for a number.
  769. 28:30We'll do width zero and width one.
  770. 28:37Width one number, yep.
  771. 28:40And then we're just going to go through
  772. 28:42these and change our values. These are
  773. 28:44all the same. We can set our zero to
  774. 28:46three. Zero's five here.
  775. 28:49Okay, I'm not going to explain all of
  776. 28:50them cuz you get it, but to set these
  777. 28:51two these values 0 4 again.
  778. 28:55We're going to loop through.
  779. 28:58If it's a beam, then we're going to set
  780. 29:01We initially want the size to be our
  781. 29:04attributes.
  782. 29:05So, we're going to say
  783. 29:07v.width 0 =
  784. 29:10v.getattribute width 0.
  785. 29:14And because we're going to tween it to
  786. 29:16go down,
  787. 29:18we're going to want our beam to start
  788. 29:21bigger than this value
  789. 29:23because it's immediately going to start
  790. 29:24shrinking. So, it's going to look a lot
  791. 29:26smaller when you actually play it.
  792. 29:29So,
  793. 29:30I don't even know what to call this.
  794. 29:36I'm just adding variables in case
  795. 29:39you guys don't know the script very
  796. 29:40well. It'll make it very easy to just
  797. 29:42change one number.
  798. 29:44So, this will just multiply it by our
  799. 29:47multiplier. We'll set this to like
  800. 29:490.25-ish, I guess.
  801. 29:52The AI knows, bro.
  802. 29:56So, now we're going to set up
  803. 29:58tween info
  804. 30:00= tween info.new beam duration linear
  805. 30:03good. And then we're going to tween it.
  806. 30:09Set the width to zero. I don't know why
  807. 30:11it's trying to make two separate ones.
  808. 30:14Only comes to zero. I'm just going to
  809. 30:15play it. So, this little function here
  810. 30:18It's not really function, but
  811. 30:21this loop
  812. 30:23is going to go through.
  813. 30:24It's going to put all the beam sizes at
  814. 30:27the initial value it should be, and then
  815. 30:28it'll tween it down to zero, so it'll
  816. 30:30fade out.
  817. 30:31So, now we're going to go
  818. 30:34and actually rotate this thing.
  819. 30:37So, our initial CFrame
  820. 30:40is zero.
  821. 30:41I think. Yeah, it doesn't change. So,
  822. 30:43we're going to set beam slash.cframe.
  823. 30:46We're going to start this back.
  824. 30:50Cuz our slash doesn't start here, it
  825. 30:51starts back here.
  826. 30:53So, we're just going to rotate this.
  827. 30:55I guess about 90.
  828. 30:57Just copy that.
  829. 31:00Equals
  830. 31:02Oh, brother.
  831. 31:03CFrame.new
  832. 31:05that. So, that'll set it back.
  833. 31:07And then once again, we're going to
  834. 31:09tween it. I don't really want to use the
  835. 31:10AI for this one cuz it's
  836. 31:13going off on a tangent now. Actually,
  837. 31:16that's not too far off. Uh let's see. It
  838. 31:18was the Y value that changed. So, we're
  839. 31:20going to do like 175.
  840. 31:22I don't do 180 cuz sometimes it'll just
  841. 31:24rotate backwards and then it looks
  842. 31:26stupid. So, I try to leave it a bit
  843. 31:28under. Missing something. I just don't
  844. 31:30know what. Oh, cuz there's no V, idiot.
  845. 31:34Beam slash is what we're tweening. Okay.
  846. 31:38Yeah, it's so I'm stupid. I'm going to
  847. 31:40do that. We don't need that in there. We
  848. 31:41want to use this for everything. If it's
  849. 31:44inside the loop, then things outside the
  850. 31:47loop won't be able to access it.
  851. 31:49So, put that up here. So, that should
  852. 31:51tween it. So, now it's going to rotate.
  853. 31:53Think that's everything. It's a very
  854. 31:55simple script.
  855. 31:57We're going to first of all
  856. 31:59actually line this up.
  857. 32:02We could code it if we were going to
  858. 32:03actually use this for something.
  859. 32:06To like go to the player's position,
  860. 32:09rotate itself.
  861. 32:10Uh
  862. 32:11we're just showcasing it, so there's no
  863. 32:13point. It's a bit flatter than that.
  864. 32:15We'll set it like that, maybe. Okay,
  865. 32:18yeah. So, this is a fun problem with
  866. 32:19Roblox Studio. If you flip it like
  867. 32:23uh particles that are facing
  868. 32:25perpendicular, if you flip them, I don't
  869. 32:27even know what axis, but if you flip
  870. 32:29them 180° in some direction, it'll break
  871. 32:32sometimes.
  872. 32:33So, we'll just go rotation 180,
  873. 32:36flip it back over and
  874. 32:39We're not going to select the beams.
  875. 32:41We're just going to select the particles
  876. 32:42in here.
  877. 32:43Flip it and
  878. 32:45It doesn't work. Okay, it flipped some
  879. 32:47of them but not all of them.
  880. 32:49Which is interesting. So, we're going to
  881. 32:51get to go through and manually flip all
  882. 32:53the ones that flipped. There we go. Now
  883. 32:56it works. So, we're going to
  884. 32:57I think I already copied this. I don't
  885. 32:59even know though.
  886. 33:00We'll paste this in.
  887. 33:03And now bang. We'll do our slash and my
  888. 33:06beams are not
  889. 33:09working.
  890. 33:10There's no error, which means I've just
  891. 33:12messed something up. Feed that with
  892. 33:13zero. Oh, I never set the
  893. 33:16Okay.
  894. 33:18See all the people who know how to code
  895. 33:20are laughing at me right now. I never
  896. 33:21set my width one. It only changed one
  897. 33:23side of it.
  898. 33:25Cool. I really don't like these
  899. 33:27actually.
  900. 33:28Now that I think about it.
  901. 33:31I might just set this to zero and see
  902. 33:33how it looks without it.
  903. 33:35It's a lot better.
  904. 33:37I just wanted to show you how to do it
  905. 33:38at least.
  906. 33:40The texture or the particles don't
  907. 33:42really work for this type of slash.
  908. 33:44We're going to duplicate this. We'll
  909. 33:45just call it two.
  910. 33:48Again, this would be
  911. 33:49a horrible way to do if this is for a
  912. 33:51real game, but
  913. 33:54it's just for us.
  914. 34:01Now we'll move this down. Okay.
  915. 34:04Try and match it here.
  916. 34:09And our orientation's flipped, so we're
  917. 34:11going to
  918. 34:13just keep moving it until it flips over.
  919. 34:18Keep it mostly flat. And that should
  920. 34:20probably work actually. Okay, I will
  921. 34:21stop emitting this.
  922. 34:23We'll just paste the same thing in here,
  923. 34:25but change the one to two.
  924. 34:27Cuz the way we coded it, it'll
  925. 34:29you know, move everything relative to
  926. 34:31itself.
  927. 34:33And that's
  928. 34:36good enough, brothers.
  929. 34:38Except it's not lined up.
  930. 34:40>> [laughter and gasps]
  931. 34:42>> Bah.
  932. 34:45Our slash should be way back here.
  933. 34:48And I think this one's also off.
  934. 34:54Yeah, maybe I should change it so it's
  935. 34:58more relative to this pose than the
  936. 34:59other one.
  937. 35:01Cuz he jumps there pretty quick.
  938. 35:05I don't like this and I don't know why.
  939. 35:07I think my beams just aren't rotating
  940. 35:08far enough, so it feels weird.
  941. 35:11So, I think I'm going to
  942. 35:14do this a second time once it's done.
  943. 35:17Test away.
  944. 35:19Uh
  945. 35:24I'll just put that in a function.
  946. 35:27I'll just rotate it a second time.
  947. 35:29Probably not the full rotation. We'll do
  948. 35:30like a quarter of it.
  949. 35:34Maybe.
  950. 35:36Actually, it's not playing again because
  951. 35:38I
  952. 35:39put the size to zero.
  953. 35:41Our duration for this matches the
  954. 35:44duration for the size tween, which means
  955. 35:46this has to go faster than our size. I
  956. 35:49don't know if you can tell, but I'm not
  957. 35:50a scripter, so I'm kind of just BSing my
  958. 35:53way through this. There we go. I like
  959. 35:54that a lot better than whatever was
  960. 35:56going on before. Uh we got a main slash
  961. 35:59done now. So, I think I will
  962. 36:01add some little ground effects. All
  963. 36:04right, so an easy thing we could do with
  964. 36:06the ground, we could very easily add
  965. 36:08under here.
  966. 36:09Part, not particle.
  967. 36:12Uh we're going to move this. Now, we're
  968. 36:14just going to put our ground effect uh
  969. 36:16on the ground. Probably want to size
  970. 36:19that. Okay, this thing's just in the
  971. 36:21way.
  972. 36:22I don't know what I'm doing, man.
  973. 36:25Size it just slightly
  974. 36:29Doesn't matter that much.
  975. 36:31Uh add an attachment and then we'll put
  976. 36:33some wind particles under it. So, I'm
  977. 36:35going to do transparency way up.
  978. 36:39I always put my light emission on just
  979. 36:41cuz some wind textures have like black
  980. 36:43lines in them and I don't want them
  981. 36:44there.
  982. 36:46If you're going for like super stylized
  983. 36:48look, you could do it. I just prefer not
  984. 36:51to.
  985. 36:52Lifetime, um
  986. 36:55probably match it what our specs are
  987. 36:57going to be. Set that down. We'll put
  988. 36:59our spread angle up to like uh 25 is
  989. 37:02going to be a lot.
  990. 37:05But, we will
  991. 37:06stick with that.
  992. 37:12All right, size it up like 10 is going
  993. 37:14to be real strong. We'll do 15 with a
  994. 37:17size Yeah. I kind of like to slightly
  995. 37:21rotate wind just in opposite directions
  996. 37:23when it's like an
  997. 37:25like an impact or something.
  998. 37:27We'll put our Z offset up so it's not
  999. 37:29sticking through the ground.
  1000. 37:31Set this to like seven maybe. I don't
  1001. 37:32even know.
  1002. 37:34And then I've said this a million times,
  1003. 37:36but I always like putting multiple
  1004. 37:38textures.
  1005. 37:40We'll put a shockwave that's flat
  1006. 37:43and we'll emit one
  1007. 37:45and we'll make this linear
  1008. 37:47because shockwaves
  1009. 37:49well,
  1010. 37:51not really doing here.
  1011. 37:54I kind of like shockwaves to be more
  1012. 37:56linear. They probably don't need to be
  1013. 37:59a perfect line,
  1014. 38:01but I always like this more.
  1015. 38:03So,
  1016. 38:05we're going to
  1017. 38:06do this so we can actually see how it's
  1018. 38:07going to look. Yeah.
  1019. 38:10It's not that bad. We're not going to
  1020. 38:11rotate it.
  1021. 38:13And now I'm going to add some just smoke
  1022. 38:15and stuff.
  1023. 38:16Uh we'll slightly
  1024. 38:18Yeah, we'll extend it a a longer.
  1025. 38:22Uh again, zero size for this one.
  1026. 38:25I said 0.01 {point} 01. Doesn't really
  1027. 38:29matter though cuz it's going to stay
  1028. 38:30facing the camera, so zero should work.
  1029. 38:32Then I'm going to try and find a more
  1030. 38:33stylized texture.
  1031. 38:36Which I know I had a good one that I
  1032. 38:38found
  1033. 38:39for another thing I made. This isn't the
  1034. 38:41one I'm thinking of, but I might have
  1035. 38:42used this.
  1036. 38:45Up that.
  1037. 38:46I don't know if we need a transparency
  1038. 38:48fade on this one.
  1039. 38:59And I'm going to emit this as a disc, I
  1040. 39:02think. Yep.
  1041. 39:05Just so it stays confined in this space.
  1042. 39:08Um that was supposed to be {point} 4.
  1043. 39:11I knew something felt off. It's still
  1044. 39:13too bright. I want this one to be like
  1045. 39:15barely noticeable. Like that. And then I
  1046. 39:17saw this one, we'll use this as well.
  1047. 39:20Probably size this up.
  1048. 39:23And not rotate it like that.
  1049. 39:25It's way too small. We're going to scale
  1050. 39:28this whole thing up. The nice thing
  1051. 39:29about models is you can just scale the
  1052. 39:31whole thing and everything will go up.
  1053. 39:33Sometimes I do
  1054. 39:34slightly realistic textures. You kind of
  1055. 39:37just have to play around it cuz it's
  1056. 39:39really easy to make it look stupid.
  1057. 39:41And this isn't a super realistic
  1058. 39:42texture, but it's it'll give us a good
  1059. 39:45bridge between the two, I suppose. And
  1060. 39:47then we'll find something like this,
  1061. 39:49which is actually realistic. We'll make
  1062. 39:51this last a bit longer. Size this down
  1063. 39:54probably. We don't need that many. All
  1064. 39:56right, so I don't feel like recoding the
  1065. 39:58entire thing.
  1066. 39:59I'm just going to add in this mesh
  1067. 40:01script that I already made a while ago.
  1068. 40:04Yeah, so this is for like ground wind
  1069. 40:06meshes.
  1070. 40:08I just made it very attribute based
  1071. 40:11so I could just copy and paste this
  1072. 40:12wherever I needed it. Uh if you're doing
  1073. 40:14wind meshes, I put on neon just cuz it
  1074. 40:16glows and it works with transparency
  1075. 40:19very well.
  1076. 40:20You can do it with other stuff. It's
  1077. 40:21probably not that huge of a deal, but I
  1078. 40:24like to do it. Uh I'm going to copy this
  1079. 40:26so I actually have the mesh script in
  1080. 40:28both of these. All right, so if you are
  1081. 40:30going to download this from my server
  1082. 40:32the way I have this set up, you can just
  1083. 40:34So we'll throw that up.
  1084. 40:37I set my size beforehand.
  1085. 40:40And then I will copy that.
  1086. 40:43I have an initial size
  1087. 40:45somewhere.
  1088. 40:47Size zero or no.
  1089. 40:50Size zero is my initial. I want that at
  1090. 40:52zero.
  1091. 40:53Size one is my end size.
  1092. 40:56My end transparency will be one cuz we
  1093. 40:58want to fade out. Probably point nine
  1094. 41:00seven
  1095. 41:02for neon parts you're going to have to
  1096. 41:03put it real high. Duration
  1097. 41:05um
  1098. 41:06Let's do like five.
  1099. 41:10The way I coded it, it's going to cut
  1100. 41:11these
  1101. 41:12down. It's going to be a tenth of this
  1102. 41:13so this is actually point five and point
  1103. 41:15five.
  1104. 41:16It's I just ran into some errors while I
  1105. 41:18was making it and I didn't feel like
  1106. 41:19working around them.
  1107. 41:21So now
  1108. 41:22we got our mission here.
  1109. 41:24Uh ground
  1110. 41:27and then we'll throw that in this one.
  1111. 41:29And we'll have to move it back down to
  1112. 41:31the ground. So now we got some ground
  1113. 41:33wind.
  1114. 41:35It's not that good, but I just wanted to
  1115. 41:37show you the process of making wind. I
  1116. 41:39could also throw a highlight on them
  1117. 41:41money.
  1118. 41:42Does a slash. Yeah, let's do that. So
  1119. 41:45we're going to add a highlight. Okay.
  1120. 41:49Fill color we're just going to do like a
  1121. 41:52green.
  1122. 41:53Outline is not even going to be enabled
  1123. 41:55so I don't care.
  1124. 41:57We'll darken that up a bit.
  1125. 42:02Fill transparency let's just see what we
  1126. 42:04want it at.
  1127. 42:06Point six probably. Let's set variable
  1128. 42:08for our highlight. Uh
  1129. 42:11TS create
  1130. 42:14highlight
  1131. 42:15info.
  1132. 42:17Um, tween info. That's our longer one.
  1133. 42:22Equals and what was it? .6? Yes.
  1134. 42:25Actually, we're going to need
  1135. 42:27I'll go go equals.
  1136. 42:36We're going to do a circular easing
  1137. 42:38style.
  1138. 42:40This will make it I mean, you can find
  1139. 42:42them on the dev forum. They have little
  1140. 42:44pictures. I'll throw them on screen,
  1141. 42:46actually. Linear is obviously just a
  1142. 42:48line. Circular is more like a sine
  1143. 42:50graph, I think. It'll just round it out
  1144. 42:52and look better.
  1145. 42:54Uh, easing direction.
  1146. 42:56Easing
  1147. 42:58direction.
  1148. 42:59Uh, probably doesn't actually matter.
  1149. 43:03Uh, this will repeat it zero times and
  1150. 43:05then it's going to flip it backwards.
  1151. 43:08So, now I can set this to one and when I
  1152. 43:10play this, it'll tween it to .6 and then
  1153. 43:13go back. I'm not actually too sure. Yep.
  1154. 43:16It didn't go backwards. Come on, man. Am
  1155. 43:19I stupid?
  1156. 43:21Oh.
  1157. 43:22I am. It's the wrong info.
  1158. 43:29Okay, it's way too quick, though.
  1159. 43:31Um, beam duration will do divide by two.
  1160. 43:36Two is a bit overkill. Okay, the
  1161. 43:38highlight looks a bit weird. So, I'm
  1162. 43:39going to add some like more flashes and
  1163. 43:42impact to pair with it. So, we're going
  1164. 43:44to go back to our slash. We're going to
  1165. 43:47mess with this a bit. Going to add an
  1166. 43:49attachment.
  1167. 43:51Uh,
  1168. 43:52name doesn't matter that much, actually.
  1169. 43:54We're going to move this way out here.
  1170. 43:57That's probably fine.
  1171. 43:59We're going to add a particle. And we're
  1172. 44:01just going to add a little impact
  1173. 44:03particle.
  1174. 44:05So, I set my lifetime super low, like
  1175. 44:070.05 is probably
  1176. 44:09Oh, that's
  1177. 44:10not lifetime. I'm stupid.
  1178. 44:120.05
  1179. 44:14Change this to one, so it actually emits
  1180. 44:16with our thing here.
  1181. 44:18Uh light emission, up. It's going to
  1182. 44:21grow and go transparent. Find us a
  1183. 44:24decent star texture.
  1184. 44:26That's not good. Actually, I think the
  1185. 44:29brightness is just screwing it over.
  1186. 44:31Yep.
  1187. 44:32Never mind, that does work pretty well.
  1188. 44:35Then sometimes I like to do impacts
  1189. 44:38like add another one, but backwards.
  1190. 44:40So, we'll size it down over the lifetime
  1191. 44:42instead. It's not too noticeable, but
  1192. 44:45I always like it.
  1193. 44:47And this is lasting too long. I feel
  1194. 44:49like if you can make out the shape super
  1195. 44:51well, it's generally lasting too long in
  1196. 44:54my opinion.
  1197. 44:56It should just be a flash of light,
  1198. 44:58which I think that'll work. It doesn't
  1199. 44:59have to be anything crazy. Impacts are
  1200. 45:02super simple. Uh add this back in, and
  1201. 45:04it was CFrame, so it should go to the
  1202. 45:06correct spot automatically. What if I
  1203. 45:08just throw it on the character instead?
  1204. 45:10This might look stupid, it might work
  1205. 45:12really well.
  1206. 45:13My texture is also not helping. I could
  1207. 45:16have picked a better one.
  1208. 45:18Realizing now. Impacts, we'll get rid of
  1209. 45:20that one just for now. And then we'll
  1210. 45:23probably add another one with some
  1211. 45:24squash.
  1212. 45:26And randomize these rotations.
  1213. 45:29I'm now realizing. Oh, brother.
  1214. 45:32Oh, and I copied the entire slash.
  1215. 45:35On my own, bro.
  1216. 45:37That is what I'm trying to copy.
  1217. 45:41There we go.
  1218. 45:44That impact makes the highlight slightly
  1219. 45:46better. It's still not amazing, but it's
  1220. 45:49better.
  1221. 45:50Uh we could probably add I could try and
  1222. 45:53just make a glow out of it. That might
  1223. 45:55look dumb, though. I don't really do
  1224. 45:57glows on slashes.
  1225. 46:00And I don't know anybody that does.
  1226. 46:02Um
  1227. 46:03this one maybe.
  1228. 46:04Your glow should start at the right size
  1229. 46:07and we'll kind of just
  1230. 46:08do this with it.
  1231. 46:14It's way too bright.
  1232. 46:16Could be bigger. So, I think I'm going
  1233. 46:18to add some like rocks or grass or
  1234. 46:20something for some little debris effect
  1235. 46:22here.
  1236. 46:24Uh
  1237. 46:24it is the next day. I added a tiny bit.
  1238. 46:27As you can see, I
  1239. 46:28just turned the effects back on for our
  1240. 46:30slash and I
  1241. 46:32duplicated one of the beams and moved it
  1242. 46:34out slightly, but it's pretty much the
  1243. 46:36same thing I had. Okay, so I'm going to
  1244. 46:38duplicate just one of these randomly. It
  1245. 46:40probably doesn't matter cuz none of them
  1246. 46:42are close to what we're actually going
  1247. 46:43to make.
  1248. 46:45And we'll try rocks first.
  1249. 46:50I personally kind of suck at debris, so
  1250. 46:52we're going to see how this goes.
  1251. 46:55I haven't done a lot of this.
  1252. 46:56I think people actually do it from an
  1253. 46:57attachment. Add one in there. Oh,
  1254. 47:01where'd my other one go?
  1255. 47:03Cool.
  1256. 47:05So, now we're going to make this our
  1257. 47:06rock.
  1258. 47:08Speeds
  1259. 47:10not good actually. We're going to set
  1260. 47:12that to 90.
  1261. 47:13Transparency back down. We're going to
  1262. 47:15make these somewhat dark, so I wouldn't
  1263. 47:17do light emission.
  1264. 47:19Might be too bright, but we'll mess with
  1265. 47:21it in a second. Our size, we're going to
  1266. 47:23want it to shrink over the lifetime. Oh.
  1267. 47:27That's not what I meant to do.
  1268. 47:30Like that. It emits
  1269. 47:33on our angle. Um I'm going to do like
  1270. 47:35-30 acceleration maybe.
  1271. 47:39We might have to change that. And our
  1272. 47:40lifetime's also not amazing. We'll like
  1273. 47:430.5 to 1. Rocks should last a bit
  1274. 47:45longer.
  1275. 47:48We're also going to make them
  1276. 47:50uh tiny.
  1277. 47:58I might up the speed and do drag instead
  1278. 48:01cuz I feel like it's going out really
  1279. 48:02slowly.
  1280. 48:05Do like five maybe? That might be a lot.
  1281. 48:10Do like three.
  1282. 48:12Yeah, this is kind of weird. I can't
  1283. 48:15lie. I think I'm going to emit it from
  1284. 48:17the side
  1285. 48:18and do like what? 4180 maybe?
  1286. 48:23So now it doesn't emit on the top. It's
  1287. 48:24just like a ring.
  1288. 48:27So should go more out than up. I'm going
  1289. 48:30to up the side or the speed again. Let's
  1290. 48:32try and add some grass now.
  1291. 48:35Or leaf maybe? I don't know.
  1292. 48:39We'll have to just find some. So we're
  1293. 48:41going to want this to be green again.
  1294. 48:44Uh it doesn't really matter. I'll just
  1295. 48:45pick a green color.
  1296. 48:47It's already kind of dark, so that's
  1297. 48:49fine. I'm size it up with my polygon
  1298. 48:51instead so I don't have to drag the
  1299. 48:52graph.
  1300. 48:54I might make this go a bit further
  1301. 48:57out like less envelope. Maybe one more
  1302. 49:00size up. That might be too much.
  1303. 49:02That's too much.
  1304. 49:04Oh, this one.
  1305. 49:06Oh, cuz the leaves plural so names.
  1306. 49:09Okay. Do like point two
  1307. 49:12maybe.
  1308. 49:13This is a case where I'm not too
  1309. 49:15confident in what I'm doing
  1310. 49:17cuz I don't do like slash debris much.
  1311. 49:20So I'm going to go and find a reference
  1312. 49:22video
  1313. 49:23which I haven't done yet for all these
  1314. 49:25tutorials. I know exactly who I'm going
  1315. 49:28to go look for, too. Here he is. I love
  1316. 49:30this man. All right, so we're going to
  1317. 49:32look at some of this guy's stuff for
  1318. 49:33reference. Uh this isn't I can't see his
  1319. 49:36actual name on stream road.
  1320. 49:39I'll find it. But he does a lot of
  1321. 49:41slashes and they are very good.
  1322. 49:50>> [snorts]
  1323. 49:54>> See the kid doesn't even spam it, but it
  1324. 49:56works. So maybe we'll do something more
  1325. 49:58like that. Don't be afraid to use
  1326. 50:00references, especially if you're just
  1327. 50:02like practicing like I am. So I did
  1328. 50:04notice his stuff went a lot quicker.
  1329. 50:08So we'll up it to 100, put the drag at
  1330. 50:10like seven maybe. There we go. That
  1331. 50:13actually looks better already. And I'm
  1332. 50:15probably going to emit less cuz I'm
  1333. 50:17realizing I have a lot flying out. We
  1334. 50:19might do a slightly brighter green. So
  1335. 50:21we're going to like point six maybe. Oh,
  1336. 50:23no, point four.
  1337. 50:25That's all right.
  1338. 50:26I don't even like this texture actually.
  1339. 50:28I might just swap it out for a single
  1340. 50:29leaf.
  1341. 50:31Yeah, that's a lot better.
  1342. 50:33So yeah, like I said, don't be afraid to
  1343. 50:34use references. That was a pretty good
  1344. 50:36way to use them if you're just trying to
  1345. 50:38like figure out how to do one specific
  1346. 50:40thing. And it definitely helps if you
  1347. 50:41know somebody who's already good at that
  1348. 50:43that you can just look up. Like I know
  1349. 50:44Roan is very good at slashes, so I
  1350. 50:47always go to his stuff if I'm stuck.
  1351. 50:49This is going pretty well.
  1352. 50:51I'm noticing our like circular wind
  1353. 50:53starting to get covered up.
  1354. 50:56So I'm going to go here,
  1355. 50:58grab it.
  1356. 51:00Yeah, we'll grab both of them actually.
  1357. 51:04We're just going to scale them up.
  1358. 51:08Cool.
  1359. 51:11And I'm going to make them both rotate a
  1360. 51:13bit more along the actual slash now.
  1361. 51:18Like yeah, there so it spins in the
  1362. 51:20direction slash a bit.
  1363. 51:22And I'll probably lower that a little
  1364. 51:24bit.
  1365. 51:25We'll do it a bit random. Yeah, like
  1366. 51:27that is a real nice.
  1367. 51:29Um that's not what I was trying to grab.
  1368. 51:32They are a bit bright though.
  1369. 51:34So I'm going to
  1370. 51:36lower the brightness.
  1371. 51:38Because we have light emission, we can
  1372. 51:40just use brightness to control our
  1373. 51:41transparency. Uh I don't know why my
  1374. 51:43highlight's not
  1375. 51:46Sometimes if your game lags, it'll just
  1376. 51:48freeze.
  1377. 51:50So, if I set that back to one, okay,
  1378. 51:52yeah, it works now. Yeah, like if you're
  1379. 51:54loop emitting in Moon Animator, you like
  1380. 51:56if you have a second monitor like I do,
  1381. 51:58if you click off or if your game lags,
  1382. 52:00sometimes, and you've probably seen it,
  1383. 52:02the mesh tools will get stuck, your
  1384. 52:03highlight will
  1385. 52:05cancel the tween.
  1386. 52:07Just reset it, it'll work just fine. I
  1387. 52:10really don't know if we need much else.
  1388. 52:12I might add like a little wind effect on
  1389. 52:15the sword while he's charging,
  1390. 52:17but it's pretty fast, so it might look
  1391. 52:19dumb.
  1392. 52:20But, we could try it. I have this from
  1393. 52:22something super old I did, but we should
  1394. 52:25be able to use it.
  1395. 52:27Um we're going to copy these.
  1396. 52:30I don't really need that part. I'm just
  1397. 52:32going to throw them in the sword
  1398. 52:34if I can find it. Uh flip that, so it's
  1399. 52:37the right way up.
  1400. 52:39Put it over the handle.
  1401. 52:42This is super sharp at the end.
  1402. 52:45Some of change that. I might just
  1403. 52:48stretch the end.
  1404. 52:50Like
  1405. 52:52move this back,
  1406. 52:54so the transparency starts earlier.
  1407. 52:56And then we'll
  1408. 52:58do a little like
  1409. 53:00exponential.
  1410. 53:01We'll do a little curve there. And then
  1411. 53:03we'll just drag this up a bit more.
  1412. 53:06There we go. I think that works better.
  1413. 53:08We'll have to emit these to see.
  1414. 53:10Yeah, I like that a lot better than what
  1415. 53:12I had.
  1416. 53:14I'm also going to speed these up, cuz I
  1417. 53:15think it's going to look weird.
  1418. 53:18Maybe not that, like 1.5. So, now we're
  1419. 53:20going to need another key frame for
  1420. 53:21this, and we are going to
  1421. 53:24just disable it right in this script. We
  1422. 53:27are going to add a variable for our
  1423. 53:29sword now.
  1424. 53:30Oh, nope.
  1425. 53:32local sword equals
  1426. 53:38dot Oh, what was it called?
  1427. 53:41cylinder
  1428. 53:43there. Okay, now we're going to go all
  1429. 53:44the way down.
  1430. 53:46Love you and sword
  1431. 53:49do
  1432. 53:54Then uh we're going to
  1433. 53:57The slash is going to cover it up
  1434. 53:59actually. I think.
  1435. 54:01So, we're just going to turn it off.
  1436. 54:03We're not even going to fade it out.
  1437. 54:04We're just going to get rid of it. Add
  1438. 54:06this back in both of them.
  1439. 54:08Actually, I didn't even need to change
  1440. 54:10this one cuz it'll be off by the time
  1441. 54:11that's there. We're just going to add a
  1442. 54:13new script in the slash.
  1443. 54:16Um what will we even call it? Sword
  1444. 54:18effect, I guess.
  1445. 54:29Same thing we did before.
  1446. 54:40equals true
  1447. 54:41We might
  1448. 54:43Hmm.
  1449. 54:49with one
  1450. 54:52Do that. Set them to zero.
  1451. 54:55See, this thing already knows what I'm
  1452. 54:56trying to do.
  1453. 54:58full
  1454. 55:00Again, we're going to define our tween
  1455. 55:01service.
  1456. 55:06tween new
  1457. 55:08We're probably going to want it to
  1458. 55:09appear pretty quick. So, I'm going to do
  1459. 55:11like 25.
  1460. 55:14And then we're going to tween our beams
  1461. 55:17up to 25.
  1462. 55:19And it I don't think I deleted this one.
  1463. 55:22I don't want that.
  1464. 55:24We info
  1465. 55:27Oh.
  1466. 55:28with one equals
  1467. 55:30with one
  1468. 55:43>> Okay, so this should work.
  1469. 55:45So it's going to start it. It's going to
  1470. 55:46set two variables to what the size is.
  1471. 55:49It's going to set it to zero and then
  1472. 55:50it's going to put it back up to the
  1473. 55:51size. Hopefully that works. We'll see.
  1474. 55:56I wouldn't trust myself. There we go.
  1475. 56:00Bah.
  1476. 56:02Now it didn't disable them.
  1477. 56:04Oh, it's because I added the script in.
  1478. 56:07Okay, hold up.
  1479. 56:14Okay.
  1480. 56:15It's I'm just stupid.
  1481. 56:17Okay, there we go.
  1482. 56:19>> [laughter]
  1483. 56:19>> I was like, what? Okay, so now it shows
  1484. 56:22up and I think I want it to be bigger
  1485. 56:24than this probably.
  1486. 56:27I don't know why my segments is 100. It
  1487. 56:28doesn't curve. You don't need to up your
  1488. 56:31segments unless it curves.
  1489. 56:33We will
  1490. 56:35up our size.
  1491. 56:37That's probably good. We'll move this
  1492. 56:38even more out now.
  1493. 56:41Like that.
  1494. 56:44Bah. Like that is
  1495. 56:46not too bad.
  1496. 56:48I don't The animation like twitches,
  1497. 56:49which is weird.
  1498. 56:51It's an actual effect this works fine,
  1499. 56:53but the animation's all See like why
  1500. 56:56does it bounce?
  1501. 56:59Bop.
  1502. 57:00Arm bounces back. I don't know if I
  1503. 57:02accidentally dragged a keyframe where it
  1504. 57:03shouldn't be.
  1505. 57:05Cuz I do that a lot. I think I also want
  1506. 57:07these slashes to be bigger.
  1507. 57:10So I'm going to
  1508. 57:12like I said it before,
  1509. 57:14since this is a model we can just change
  1510. 57:16our scale here. And we're going to have
  1511. 57:18to scale down the ground cuz I don't
  1512. 57:20want that to be
  1513. 57:24any bigger.
  1514. 57:26But
  1515. 57:28that might be fine.
  1516. 57:31>> [sighs]
  1517. 57:33>> Make sure everything is where it should
  1518. 57:35be.
  1519. 57:36Doesn't look too stupid.
  1520. 57:38Ground could probably be a little bit
  1521. 57:40bigger than that.
  1522. 57:411.3
  1523. 57:44Yeah, like that's fine.
  1524. 57:47I think I'm happy with this. I can't
  1525. 57:48lie.
  1526. 57:49It's better than the stuff I normally
  1527. 57:51make.
  1528. 57:52>> [laughter]
  1529. 57:53>> All right. Well, thank you for watching.
  1530. 57:55I hope I could teach you something good.
  1531. 57:57I'm pretty happy with how this turned
  1532. 57:59out. I definitely notice I work a lot
  1533. 58:01better when I'm being watched if I'm
  1534. 58:03like recording or something. So, that's
  1535. 58:05nice. But, anyways, thank you for
  1536. 58:07watching and I hope you have a good day.

About this transcript

This page contains the full transcript of How to Make Slash VFX | Roblox Studio by Twist VFX, generated from the public captions YouTube serves with the video. The transcript has 9,147 words across 1,536 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.