Like and Sub! Tell me what tutorial I should make next!!!
@LostLoserHero Жыл бұрын
Particle effects
@DiseasedChicken Жыл бұрын
Make Stun PLEASE! I NEED IT!!!!
@eitanlify7390 Жыл бұрын
question, how can I make the knock back on the 5th hit
@MajesticUC Жыл бұрын
The knockback is the final parameter of the remote event. Just add 2 more else ifs and then increase the knock back on the final punch
@SamJacob6 Жыл бұрын
Hey can u help it won't work no errors in output or nothing I don't what's happened I have check and it's the same do u know how I could fix I have tried everything??
@chessbrahh20689 ай бұрын
this worked very well for me. i already had my own damage code, so i simply pasted the knockback() function into my scripts and made sure i was calling it correctly. thank you!
@MasimbaMvura-y1n8 ай бұрын
Yo rlly quick can you tell me which bit you pasted
@chessbrahh20688 ай бұрын
@@MasimbaMvura-y1n sure - just call this function whenever an enemy gets hit. it's all you need. (make will need to tweak 2 of the lines, so that they refer to whatever your enemy and player variables are named) --this knocks the ENEMY back, not a player function knockback() --local power = math.random(0,75) local power = math.random(0,50) --this should refer to the enemy humanoid root part (you might need to tweak this line) local ehrp = model.HumanoidRootPart --this should refer to the player who hit the enemy (you might need to tweak this line) local plyr = game.Players[configs.creator.Value] --print("the player who hit me was " .. plyr.Name) local uhrp = plyr.Character.HumanoidRootPart local att = Instance.new("Attachment", ehrp) local lv = Instance.new("LinearVelocity", att) lv.MaxForce = 9999999 lv.Attachment0 = att local lookVector = uhrp.CFrame.LookVector lv.VectorVelocity = lookVector * power local tween = ts:Create(lv, kbtween, {VectorVelocity = lookVector * 0.1}) tween:Play() game.Debris:AddItem(att, 0.3) end
@goldenbandito4069 Жыл бұрын
Your tutorials are pretty useful , thank you ! Keep going
@MajesticUC Жыл бұрын
Thanks for the support!
@leofluffbun Жыл бұрын
Just a note, client hitboxes can be easily expoilted a good tip is to add checks if you are doing client hitboxes or just do server hitboxes.
@sairentokir5060 Жыл бұрын
Thank u so much!
@leofluffbun Жыл бұрын
@@zenikui so you see how in that script mostly from this it sends 'size' exploiters can just do this game.ReplicatedStorage.Events.Hitbox:FireServer(vector3.new(2048,2048,2048),vector3.new(3),math.huge(),999) client should not have the power to set hitbox size or the damage, things like that should be handled on server as well as having hitbox summon on server yeah you might get delays in the hit but it's more secure. most checks i would say for this code would be checks to see if size is too big and if the player is in range of the person casting the hitbox like using like a magintue of how far in front of player's character the hitbox should activate damage/knockback as well as a check for damage so expoilters can't just do inf damage. No offense to the creator at all just wanting to be well helpful
@boogamer1909 Жыл бұрын
Thanks, your videos are really helpfull, i belive you will have sucess if you keep doing this :D (sorry if im using bad grammar, im from brasil lol)
@MajesticUC Жыл бұрын
Thanks!!! 😊
@veyzraRBLX Жыл бұрын
I think you are my new favorite roblox dev youtuber!
@RipXy3rx6 ай бұрын
To add damage you need to go to hitbox script, go to line 33 and add another line and type in the new line "local damage = Your damage
@mongobongo66547 ай бұрын
hello :D i rly like your videos about coding. many other devs just skipping entire code to make video not very long. tysm for that! but the thing is when at 2:10 you were making knockback, on video it was sliding to position where it stops going , but for me i just almost tp there (it not tp at all, it going there very fast it looks like it tp) pls say what it can be im confused :( ty :)
@goodtimeswithleo2 ай бұрын
bro i have the same problem, but i think try making the power low but the debris duration longer?
@Harold2141 Жыл бұрын
how would i add a animation to knowckback and also how do i add sounds to the punches
@Just_jaklol Жыл бұрын
Can u do one on stunning or air combos pls keep it up btw
@MajesticUC Жыл бұрын
Yeah Definitely!
@Just_jaklol Жыл бұрын
@@MajesticUC tysm ❤
@propergato Жыл бұрын
@@MajesticUCStun would be great (air combos to)
@propergato Жыл бұрын
thank you man u earned a sub and a like :)
@SamJacob6 Жыл бұрын
Hey Dev can u help I have done everything right double check but I dosent work I have checked in output nothing wrong check in vid and it's the exact same do u know what's happening if so can u help?
@samj6951 Жыл бұрын
same
@user-om5wq4nv3x Жыл бұрын
You shouldn’t be using .Touched, instead use overlap perams or get parts in part.
@1nsanity_ Жыл бұрын
This is such a great tutorial! And can you do a particle tutorial
@limitednoob9521 Жыл бұрын
hey can you make an animation for the 3 part and do it so that you get cash when it dies and so it will respawn
@ragnability42327 ай бұрын
I tried this, though the knockback is jittering and laggy for some reason..
@MajesticUC7 ай бұрын
That jittery thing will not happen in an actual game. Im assuming you’re testing on a dummy. The jitter is when the dummy moves out of your network ownership so it shouldnt happen in an actual game
@airwaym3973 Жыл бұрын
next devlog when
@MajesticUC Жыл бұрын
I've been away for a few days now but I'm finally back! Should come out either this week or next week 🤷
@propergato Жыл бұрын
@@MajesticUC yay
@ankhangnguyen7848 Жыл бұрын
hey can u make a video about the hit stun and the stun u will recieve when m1 or the one who get m1ed?
@MajesticUC Жыл бұрын
K
@Diamondplayz-hu9he Жыл бұрын
Could make a tutorial on how to add a animation when the dummy is hit. Also keep your vids going, there great!
@rundro4808 Жыл бұрын
i can learn from this, thanks a lot 👍
@MajesticUC Жыл бұрын
Glad to hear that!
@usercoocoocrazy293 Жыл бұрын
this is good for me cuz i cant really code but can animate really well
@GlitchedHunter165 ай бұрын
You should make a tutorial on how to add stun to the punches
@sebastianbramborak2756 Жыл бұрын
Could you please do tutorial how to apply Stun after last punch in combo and how to add stun animation?
@vrzxon Жыл бұрын
whats that opening sound effect :o
@MajesticUC Жыл бұрын
Regular show theme song
@frostberry Жыл бұрын
I have followed the Tutorial to the Tea and I have even copied from the pastebins and yet the knockback seems to be laggy, almost like the tween isn't working
@wasdwar4egregsgsfdgrsdfgsreg Жыл бұрын
can you make another part that shows how to add vfx and make separate attacks
@AlanJohn-r2h Жыл бұрын
0:24 how can an ai voice have voicecrack !?!?!
@MajesticUC Жыл бұрын
its not ai...
@AlanJohn-r2h Жыл бұрын
@@MajesticUC ?
@Rieaneeen3 ай бұрын
@@MajesticUCwha-
@yuarlel Жыл бұрын
Hey could you possibly tell how to make sfx with it or include sounds when they get hit, or animation when they got hit?
@Burgeregg64 Жыл бұрын
hey just wondering if you could make a stun tutorial thank you.
@cudr_ Жыл бұрын
my knockback is laggy it kinda just teleports the player it hits
@alyha_7938 Жыл бұрын
i made it so i have 5 punches but it says if kb
@Pr028 Жыл бұрын
can u make a tutorial showing us how to use particles and SFX?
@1VRRR Жыл бұрын
When new dev LOGG?????????????
@MajesticUC Жыл бұрын
I have been away for a while. It should come out by next week or the week after!
@DiseasedChicken Жыл бұрын
PLS MAKE STUN TUTORIAL!!!!
@Too_Chaotic_Too_Good Жыл бұрын
Very cool thanks! anything i could add to make them fling up a bit?
@MajesticUC Жыл бұрын
Yes you could. You could fire the knockback parameter as a vector 2 in the local script. Then in the server script inside of the knockback function you can do lv.VectorVelocity = uhrp.Cframe.LookVector * power.X + Vector3.new(0, power.Y, 0)
@Hehelol3321 Жыл бұрын
@@MajesticUC where do I start it? At local lookvector or lv.Vector velocity?
@MajesticUC Жыл бұрын
@@Hehelol3321 start what?
@Hehelol3321 Жыл бұрын
@@MajesticUC at waht point do I write it?
@MajesticUC Жыл бұрын
@@Hehelol3321 write what
@mickieani1160 Жыл бұрын
This works way too well Here are some ideas: • The person who takes damage is animated and has stun • Ability with toolbar GUI that displays cooldown(I didn’t understand it during the dev log you made)
@codenomad. Жыл бұрын
For the first step, you can simply add an animation by accessing the hit.Humanoid.Animator within the damage script, and then load the animation onto the character. For the stun effect, use a separate script (which should be disabled by default) within the main script. In the damage section of the main script, create a function in the 'stunhandler' script that disconnects the player's keyboard input from the game, allowing them only to control the camera. After a certain duration, this 'stunhandler' script should be removed. To achieve this, you can make the 'stunhandler' script clone itself onto the hit.Character or a similar target. Sorry if you couldn't understand me, my english is bad, im trying to learn.
@The_Orb Жыл бұрын
how do i change the damage of the punch?
@MajesticUC Жыл бұрын
in the hitbox function there is a parameter for damage. Just change that
@alexiz_bs Жыл бұрын
heyyy its not working :(@@MajesticUC
@jingboss1234 Жыл бұрын
hey man can u make downslam and uppercut?
@kelvincoemsfactory Жыл бұрын
Can you make knockback physics
@TiagoAmbrósiozg Жыл бұрын
you can make plz part 3 it giving sounds
@doiiyo Жыл бұрын
is it possible to make them ragdoll after they get hit
@MajesticUC Жыл бұрын
yes
@doiiyo Жыл бұрын
@@MajesticUC how
@MajorLightning8 ай бұрын
Wait can you add this to a ragdoll script? If you can, then how?
@sadeceturkiye. Жыл бұрын
Please do q to dash
@fkn_ant Жыл бұрын
Is it possible to change the direction of knockback like upwards?
@Stickdraws Жыл бұрын
Yes
@fkn_ant Жыл бұрын
yea i figured it out lol but amzing response very helpful 9/10 @@Stickdraws
@Stickdraws Жыл бұрын
@@fkn_ant lol I didn’t know how tho sorry
@Waltr_Black11 ай бұрын
how can i make the player ragdoll when he gets knockback?
@mammoth37672 ай бұрын
How to put animation for the victim?
@AkumuPiano Жыл бұрын
can you make a damage blocking guide?
@cataboku3551 Жыл бұрын
sure use attriubutes
@AFloppyStick6 ай бұрын
hey can you fix this uhh error " ServerScriptService.Script:58: attempt to compare nil
@epicmancool-r2m Жыл бұрын
pls show how to add ragdoll to it
@CryosBS Жыл бұрын
can you make a fireball for r6?
@Bakalll9_15 ай бұрын
Uhh mine doesnt do knock back
@blequ145 Жыл бұрын
How to add sound on punch?
@Maximdoesstuff10 ай бұрын
I think that after one of the hits in the non velocity script add a sound and then after the attack play the sound.
@TheRealTiger0 Жыл бұрын
how do I make it do knockback every hit? EDIT: nvm i found out how to do it
@lb_anth0ny240 Жыл бұрын
Everything works fine for me but it looks a bit laggy for some reason, I tested it in game (not in studio) to check if it was a studio issue but it wasnt. The only difference between mine and yours is that the script is stored on the server. It also can't be my pc lagging cuz it doesnt have issues on other games at all, roblox included. If you or anyone could help me out I would really appreciate it. edit: (just realized yours is also stored on the server)
@MajesticUC Жыл бұрын
Well it rlly depends on how you’ve made the knockback. In the game im making rn, I use body velocity which isnt what i used in this video. Perhaps try using bodyvelocity or linear velocity instead for your knockback
@lb_anth0ny240 Жыл бұрын
@@MajesticUC I did the exact same knockback as you (linear velocity), using pretty much the same code edit: I figured out what was making it laggy, line that rotates the enemy towards the attacking player. But do you know how to get that effect in another way? function KnockBack(pHrp, eHrp, power) local att = Instance.new("Attachment", eHrp) local lv = Instance.new("LinearVelocity", att) lv.MaxForce = 999999 lv.Attachment0 = att lv.VectorVelocity = pHrp.CFrame.LookVector * power / / / Thats the rotation thing \ \ \ eHrp.CFrame = (pHrp.CFrame - pHrp.CFrame.Position + eHrp.CFrame.Position) * CFrame.Angles(0, math.rad(180), 0) game.Debris:AddItem(att, 0.2) end
@MajesticUC Жыл бұрын
Idk if I can help then. Mine isnt laggy at all. Sorry I cant help 😢
@lb_anth0ny240 Жыл бұрын
@@MajesticUC With my latest changes it seems like when a second player joins in is when the knockback is laggy. Could you try to launch a local server with 2 players to see if the knockback becomes laggy, if you could it would be very very appreciated! 🙏
@lucas8744 Жыл бұрын
tysm it worked
@Rmaniae Жыл бұрын
can u do kicking next
@LostLoserHero Жыл бұрын
i think that for kicking you can just change the animation for a kicking animation
@MajesticUC Жыл бұрын
@@LostLoserHero yup
@Rmaniae Жыл бұрын
@@LostLoserHero nope and the hit box aswll as how it would effect you when u were hit🤨
@Peaceful_Bacon Жыл бұрын
Its not working :(
@MajesticUC Жыл бұрын
Join discord for help
@Peaceful_Bacon Жыл бұрын
@@MajesticUC i dont have discord :(
@MajesticUC Жыл бұрын
@@Peaceful_Bacon then download it?
@Peaceful_Bacon Жыл бұрын
Wait nvm it works :) lol
@Stickdraws Жыл бұрын
@@MajesticUCcan you make a hit animation
@rodzigo Жыл бұрын
Please make a stun tut!
@FlamezStudioYTАй бұрын
Stunning is as easy as disabling player movement (by setting the humanoids move speed to nothing) and having some sort of condition, something like a “status” that changes to stunned, and when it’s set to stunned you aren’t able to M1 or do any skills or etc.
@엘에스쥐5 ай бұрын
How to ragdoll?
@PsycSkiller Жыл бұрын
Good Work!! frfr
@trillius Жыл бұрын
THNXX
@kelvincoemsfactory Жыл бұрын
You earned a sub
@Rmaniae Жыл бұрын
i wanted to start with sorry but aswell as sorry if its ok even the what i said was horrible to you i was wondering if you could mabye help work on a project with me if not you can so no and say something as rude as i did last time just cause it didnt work for me☹️