Battlegrounds Combat System Tutorial (Part2) [Ragdoll, Stun, Knockback, etc...]

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 178

  • @EditEditr
    @EditEditr 5 місяців тому +4

    YOU AREEEEE THE ABSOLUTE BEST. THIS LOOKS so GOOD!!! and its so funcional, takes a bit of time but you feel really proud of yourself for making such a beauty!

  • @marmaje69
    @marmaje69 Рік тому +8

    thank you for this series. I am making battlegrounds like game based on murder drones and without this series I would not make it.

    • @drretr0-f3s
      @drretr0-f3s 11 місяців тому +2

      Murder drones? that funni robots?

    • @marmaje69
      @marmaje69 11 місяців тому +1

      @@drretr0-f3s well ye but I am really busy. Real life issues > hobby

    • @UntoppableTopHat
      @UntoppableTopHat 6 місяців тому

      Hey hows the project going? Did you quit? Are you still making it?

    • @marmaje69
      @marmaje69 6 місяців тому

      @@UntoppableTopHat yee don’t expect the game. I’m working full time somewhere else and work on something that actually pays money passively instead of robux… so ye, I’m just too busy/lazy to work on a Roblox game.
      There are also a lot more and better battlegrounds games. Mine would look obselete

    • @UntoppableTopHat
      @UntoppableTopHat 6 місяців тому

      @@marmaje69 fair but if you still want to do that then don't let it being not as impressive as some other battlegrounds games discourage you!
      But yeah on an unrelated note I may start my own battlegrounds project soon

  • @Use_Bacon
    @Use_Bacon Рік тому +1

    TYSM ITS ONE OF MY DREAMS TO MAKE A ROBLOX BATTLEGROUNDS

  • @N3xT_X
    @N3xT_X Рік тому +9

    I think it is necessary to add the Ultimate Power system in the next video, that is, on the G key

  • @L5KIL12
    @L5KIL12 Рік тому +8

    For Whoever that have the only one m1 problem it's cause the ''if attacking or punching or stunned then return end''

    • @YouCallThisMotivation
      @YouCallThisMotivation Рік тому

      what do i do about it then? do I just delete the whole line?

    • @ChezzPuff
      @ChezzPuff Рік тому

      I deleted it and it still doesn't work (idk if this has anything to do with it but it says: Infinite yield possible on 'ServerStorage.Modules:WaitForChild("Ragdoll")') can you help me with this if this is a bug?

    • @ImmortalLeaf
      @ImmortalLeaf 11 місяців тому +3

      ​@@ChezzPuff I don't know if you've already fixed it, but this can occur due to these reasons:
      1. The folder you put the scripts in isn't called Ragdoll.
      2. That folder doesn't exist.
      In the video, he named it "Module" at first. If you change the folder name to Ragdoll, it will start working.
      Basically, there should be a folder called "Ragdoll" in the "Modules" folder in ServerStorage. That's where the ragdoll scripts go

    • @joshuadavid3975
      @joshuadavid3975 10 місяців тому

      @@ChezzPuffinstead of WaitForChild(“Ragdoll”) you can just put modules.ragdoll because one time i was scripting this error happened to me then when i did this the error was gone

    • @mafix_69
      @mafix_69 10 місяців тому +1

      @@ImmortalLeafThank you bro, you saved me

  • @realb0bbyy
    @realb0bbyy Рік тому +1

    This is underrated

  • @NukegamerboyRA
    @NukegamerboyRA 11 місяців тому +3

    Can someone help me out? when i am hitting the dummy the punch animation works BUT only when moving, if i stop walking around and hit the dummy then my punch animation doesnt look right

  • @Duck_The_Dev
    @Duck_The_Dev 10 місяців тому +2

    Yo bro, when i run the game its like fine then it shows "Requested module experienced an error while loading" Can you help me?

  • @Skittles1062
    @Skittles1062 Рік тому +2

    Thank you soooo much this will be very helpful for me and my friends game. daddy ;)
    MY FRIEND TOLD ME TO DO THAT

    • @Editing12123
      @Editing12123 4 місяці тому

      if your friend falls off a bridge would you?

    • @Skittles1062
      @Skittles1062 4 місяці тому

      @@Editing12123 I would go down and save him cus he fell off

  • @psychowolfboy3839
    @psychowolfboy3839 11 місяців тому +1

    Yeah my for npc ragdoll isn't working somehow, I follow all your steps but it seems it wasn't working.

  • @savagecrystalll8295
    @savagecrystalll8295 7 місяців тому

    this is going to make me have a mental breakdown

  • @notbread5867
    @notbread5867 10 місяців тому +2

    how come my walk speed lowers on the first punch but then goes back to normal for the rest of the 1ms?

  • @3nguard
    @3nguard Рік тому +4

    in other parts can u do character selection, how to make m1s for each characters and etc?

    • @TheTomatoo
      @TheTomatoo  Рік тому +4

      First I'll finish the combat system then maybe i try to make character selection etc

    • @LegoPieces_
      @LegoPieces_ Рік тому

      @@TheTomatoo or you can do full Saitama BATTLEGROUND stuff like ultimate..

    • @aledcaa5036
      @aledcaa5036 Рік тому

      @@LegoPieces_ bro wtf 😭

    • @Mrwoof_tophat
      @Mrwoof_tophat Рік тому +1

      @@LegoPieces_ loving the english

    • @Mrwoof_tophat
      @Mrwoof_tophat Рік тому

      @@TheTomatoo also it didnt work bruh
      im getting an error called "Requested module experienced an error while loading"
      and its confused with model in ragdoll script ting

  • @omen-MK
    @omen-MK Рік тому +3

    Yo i have a running script, and when i add that when i attack that i get slower then the run script and combatserver script colide and it gets wierd and buggy,
    what do i do? , i tought i can make him stop running before i make him slower and disable the run script and enable it again after i stopped attacking but i dont know how i acces it, can you help me?

  • @Emvers2010
    @Emvers2010 Рік тому +1

    I did the NPCRagdoll script and the npc wont rag doll and i added the attribute to the r6 dummy

  • @LOLCAT1307wasd
    @LOLCAT1307wasd 10 місяців тому +1

    Hey why does it say for me "requested module experienced an error while loading" I copied everything and put scripts where they need to be and I didn't change it pls help me.

  • @oliviabrownn859
    @oliviabrownn859 9 місяців тому +1

    Part 2?: ua-cam.com/video/5owm3Ok1zgc/v-deo.html

  • @aledcaa5036
    @aledcaa5036 Рік тому +1

    Tysm

  • @EditorDude-sd2to
    @EditorDude-sd2to Рік тому +2

    ADD mobile buttons next part pls

  • @Iamshad3_S
    @Iamshad3_S Рік тому +1

    Can u do ult bar pc and mobile?

  • @CAEVNFREAL
    @CAEVNFREAL 5 місяців тому

    Thanks

  • @tuit2
    @tuit2 6 місяців тому

    i did everything right, followed every script, every small detail, yet. the hitbox is missing, and the m1's dont do damage

  • @Rjouhari
    @Rjouhari 7 місяців тому

    when i did part 2 the punching anims and everything just stopped working

  • @Brianletrolleur
    @Brianletrolleur 11 місяців тому

    yk if i can modify the damage pls ?

  • @Nyx1232-d2b
    @Nyx1232-d2b Рік тому +1

    Bro its mobile button create?

  • @prodbyHUMBLE
    @prodbyHUMBLE Рік тому +1

    if the combo check isn't working, that's because os.clock() is now deprecated. instead, use tick()

    • @dosantoszy
      @dosantoszy Рік тому

      bro stop talkin sh.

    • @prodbyHUMBLE
      @prodbyHUMBLE Рік тому +1

      @@dosantoszy wym im helping the ppl who dont know how to script and say that it doesn't work. this is an old tutorial so i wanna tell people that its outdated and some of it needs to be updated

    • @dosantoszy
      @dosantoszy Рік тому

      dude, os.clock() is not deprecated. tick() is. And is not fully deprecated.@@prodbyHUMBLE

    • @mukto15
      @mukto15 10 місяців тому

      ​@@prodbyHUMBLEyou can tell that this dosantozy mid knows nothing abt coding and thought ur bypassing some slang which he didn't understand 🤣

  • @b4con321
    @b4con321 Рік тому

    what about next one being ultimate

  • @Cabbage-TV0716
    @Cabbage-TV0716 11 місяців тому +1

    my game is setted to R6 but the ragdoll modulescript says rig should be setted in R6

    • @TippyReal
      @TippyReal 8 місяців тому

      did u spawn a dummy thats r6? u can spawn a dummy thats r15, all r6 in game settings does is make any REAL player r6.

  • @ImNotKriss
    @ImNotKriss Рік тому

    damn its practically the same as my system

  • @CursesBattlegrounds11235
    @CursesBattlegrounds11235 Рік тому

    cool, im making my games

  • @3nguard
    @3nguard Рік тому

    TYyyy

  • @EthanJCT
    @EthanJCT Рік тому +2

    Requested module experienced an error while loading
    -location CombatServer
    -line 12

    • @Mrwoof_tophat
      @Mrwoof_tophat Рік тому

      same bro and i have no idea what to do. idk if its bad internet or something.smh

    • @EthanJCT
      @EthanJCT Рік тому

      @@Mrwoof_tophat I checked Th e error code,
      -remove the heartbeat of the script thingy on CombatServer
      -move to a new studio file [make a copy or sum]
      -idk

  • @arrow3982
    @arrow3982 11 місяців тому

    22:54:14.561 Network Ownership API cannot be called on Anchored parts or parts welded to Anchored parts. - Server - ModuleScript:16

  • @yanlvl99
    @yanlvl99 Рік тому +1

    How i can use ragdoll in players too?

  • @improbablyboredrn123
    @improbablyboredrn123 10 місяців тому

    how do i make the ragdoll work on players?

  • @PotGuy_3108
    @PotGuy_3108 Рік тому +2

    can i just paste in the scripts from the desc?

  • @피일삼
    @피일삼 10 місяців тому

    Part3 when

  • @Garou413
    @Garou413 Рік тому +1

    please help me, an API Anchor error occurs in my Ragdoll code

    • @pulograin
      @pulograin Рік тому

      bro same, but i fixed: you need to unanchor ALL of the descendants of your npcs

  • @supernonosjb6078
    @supernonosjb6078 Рік тому +1

    I copied & pasted it but my punching ain't working someone help.

    • @JustRainYT
      @JustRainYT Рік тому +1

      You’re missing code

    • @Brianletrolleur
      @Brianletrolleur 11 місяців тому

      @@JustRainYT witch code ?

    • @casualpersonlikesmemes9944
      @casualpersonlikesmemes9944 7 місяців тому

      which code cuz i'm having the same problem and need help@@JustRainYT

    • @JustRainYT
      @JustRainYT 7 місяців тому

      @@casualpersonlikesmemes9944 I haven’t looked but you might’ve missed the animation play code. Try checking it out

  • @Kevinzc10
    @Kevinzc10 11 місяців тому +3

    Hey. One Problem... When i do a full combo, ( 4 is the max) The last hit Does not make a Hitbox and then the script breaks by Not playing the animations then not making the hitbox... i check the animations, the scripts and and everything, there is also no error code

    • @AxmPlays
      @AxmPlays 10 місяців тому

      You don't have a Hit keyframe then

  • @ImNotKriss
    @ImNotKriss Рік тому

    just on time

  • @ToastyDG
    @ToastyDG 5 місяців тому

    Mine dont ragdoll please help

  • @RoaringdoglolsTV
    @RoaringdoglolsTV Рік тому

    can you make it a model on the last video please ? :)

  • @A-FlashyFlash
    @A-FlashyFlash Рік тому

    I have some problem,the problem is it have only me who see the animation And my friend see me standing and hit him LOL

  • @BuldsOffice
    @BuldsOffice Рік тому +3

    Next you should do blocking and air combat :)

    • @DevImaMeqiuna
      @DevImaMeqiuna Рік тому

      Downslam too

    • @BuldsOffice
      @BuldsOffice Рік тому

      @@DevImaMeqiuna Yeah that would be cool

    • @sb00z34
      @sb00z34 Рік тому +1

      why air combat? Its supposed to be a saitama battlegrounds type game.

    • @BuldsOffice
      @BuldsOffice Рік тому

      @@sb00z34 Battleground games have air combat, And it's not specifically Saitama

    • @con350zzzz
      @con350zzzz Рік тому +1

      @@BuldsOfficedawg it’s literally inspired by the strongest battlegrounds lol

  • @stickmangamer1
    @stickmangamer1 Рік тому

    WHO GOT PROBLEMS WITH DOING THE RAGDOLL ON A PLAYER? WATCH PART 3!

  • @Dazer18
    @Dazer18 Рік тому +1

    The ragdoll doesn't work on players, but only on npcs, is this intentional or did i miss a step?

    • @Yipinesis
      @Yipinesis Рік тому +1

      i believe it is intentional

    • @Dazer18
      @Dazer18 Рік тому

      @@Yipinesis yea it was intentional, I modified it to make it work universally

    • @Xenisov
      @Xenisov Рік тому +1

      @@Dazer18 how did you make it work universally?

    • @racerguy
      @racerguy 10 місяців тому

      how.... please dawg!!!!@@Dazer18

    • @Dazer18
      @Dazer18 10 місяців тому +2

      @@Xenisov if you want to make it universal u can remove the check for “NPC” in your script 👍 (sorry for the late response)

  • @DtotM
    @DtotM Рік тому

    why im cannot run animation how to fix

  • @Archivo_Punto_Rar
    @Archivo_Punto_Rar 11 місяців тому +2

    Hey, for what reason, motive or circumstance does the ragdoll module give me this error (attempt to index nil with 'FindFirstChild')???
    This happens when I want to connect the module with the dummy (NPC) with the NPCRagdoll script

  • @朱小熙
    @朱小熙 Рік тому

    anyone can help me my animation doesnt even START and my settings and script are all perfect

  • @sosiskapertik
    @sosiskapertik Рік тому +1

    Bro is a gigachad

  • @yumcha123
    @yumcha123 Рік тому

    i tired my best of doing this but its not working

  • @hayllowers
    @hayllowers Рік тому

    Whens pt 3???😊

  • @zakiplays6807
    @zakiplays6807 Рік тому

    why is my tomato hitbox not working, its not showing up and i can pnly punch once

    • @BeepBumpSPLASH-mm8ty
      @BeepBumpSPLASH-mm8ty Рік тому

      Did u do more than one animation? And if u did only one u could copy paste it and name them punch1 - punch 2 -punch3 -punch4

    • @zakiplays6807
      @zakiplays6807 Рік тому +1

      @@BeepBumpSPLASH-mm8ty i did more than 1 animation

    • @ppanito
      @ppanito Рік тому +1

      @@zakiplays6807 SAME BRO, why is it not workingggg

  • @Joseph-gc5jx
    @Joseph-gc5jx Рік тому

    The ragdoll on NPC is not working. I did the steps, this is the script I did:
    "local ss = game:GetService("ServerStorage")
    local modules = ss:WaitForChild("Modules")
    local ragdollModule = require(modules:WaitForChild("Ragdoll"):WaitForChild("ModuleScript"))
    for i,v in pairs(workspace:GetChildren()) do
    if v:IsA("Model") then
    if v:GetAttribute("NPC") then
    ragdollModule:Setup(v)
    end
    end
    end" Did I do it wrong?

    • @AdminitaryStudio
      @AdminitaryStudio Рік тому

      @toastflakes That is my alt, and I also set the attribute "NPC" on Boolean. It still doesn't work.

    • @Wyzeid
      @Wyzeid Рік тому

      "workspace"

    • @PainCreations
      @PainCreations 10 місяців тому

      Did you turn it on?@@AdminitaryStudio

  • @Tambtur
    @Tambtur 10 місяців тому

    plis fix the TomatoHitBox

  • @hcr2615
    @hcr2615 Рік тому

    It doesn't ragdoll on npc. I followed every step. What did i miss?

    • @hcr2615
      @hcr2615 Рік тому

      Nvm fixed it by watching it again 6 times. The attribute was actually at the dummy not the humanoid.😅

    • @ImmortalLeaf
      @ImmortalLeaf 11 місяців тому

      @@hcr2615 oh my god, THANK YOU! Finally, someone who posts the solution after finding it out themselves. I was so confused, thank you so much!

  • @RatherNot36
    @RatherNot36 Рік тому

    I have a bug that makes it do damage again a second later..

    • @RatherNot36
      @RatherNot36 Рік тому

      i took out LITERALLY EVERYTHING and its still doing it.. i have a suspiscion its to do with the time elapsed but i have no idea why it redoes the stuff if the hitbox were touched.. maybe its the placement of where it is at the script? no idea.

  • @Little_G00ber
    @Little_G00ber Рік тому

    why if i click my character dont punch ?

  • @ppanito
    @ppanito Рік тому

    why is my tomato hitbox not working, its not showing up and i can only punch once.
    if someone knows what to do pls help

    • @ChezzPuff
      @ChezzPuff Рік тому

      if you are using anims without the event it wont work.. I figured that out by myself lol (To help go back to tutorial 1)

    • @ppanito
      @ppanito Рік тому

      @@ChezzPuff thanks

    • @ppanito
      @ppanito 10 місяців тому

      @@ChezzPuff i know this was a while ago but, ive just tried that and it doesnt seem to be working, i can still only punch once

    • @ppanito
      @ppanito 10 місяців тому

      nvm lol i figured it out

    • @BaconBitsSubscribe
      @BaconBitsSubscribe 10 місяців тому

      What worked to figure it out? how to work!

  • @gameboyjp3914
    @gameboyjp3914 Рік тому

    I put the code in and now the punching doesn’t work please can someone tell me how to make it work

    • @Polasis
      @Polasis 11 місяців тому +1

      You probably missed a step whatch the whole tutorial dont just mindlessly put the code in. It wont work by itslelf (Mainly cause of the stun)

  • @luhgarf
    @luhgarf Рік тому

    im using the tutorial but nothing is working. what am i doing wrong?

  • @Phqz
    @Phqz Рік тому

    I did everything in the video but the combat system doesn't work

  • @averageepicgamer3217
    @averageepicgamer3217 Рік тому

    mobile?

  • @yarikplay2001
    @yarikplay2001 Рік тому

    where is NPCragdoll script link?

    • @TheTomatoo
      @TheTomatoo  Рік тому

      Well, there is not much script so i though it doesn't worth to put it in the description

    • @yarikplay2001
      @yarikplay2001 Рік тому

      Strange I wrote it right but its don't work

    • @TheTomatoo
      @TheTomatoo  Рік тому

      @@yarikplay2001 I'll share it later

    • @yarikplay2001
      @yarikplay2001 Рік тому

      Nvm I just forgot to add NPC attribute

    • @artbrox
      @artbrox Рік тому +1

      local ss = game:GetService("ServerStorage")
      local modules = ss:WaitForChild("Modules")
      local ragdollModule = require(modules:WaitForChild("Ragdoll"):WaitForChild("ModuleScript"))
      for i,v in pairs(workspace:GetChildren()) do
      if v:IsA("Model") then
      if v:GetAttribute("NPC") then
      ragdollModule:Setup(v)
      end
      end
      end

  • @Ultraname
    @Ultraname Рік тому

    You should make it using modules. Sick work tho! It's fyre bro 🔥🔥🔥

  • @sosiskapertik
    @sosiskapertik Рік тому

    8:47

  • @mxteuss
    @mxteuss Рік тому

    first!

  • @LegoPieces_
    @LegoPieces_ Рік тому

    fourth

  • @ThatOneGuy-hd7vc
    @ThatOneGuy-hd7vc Рік тому

    Link to first?

    • @TheTomatoo
      @TheTomatoo  Рік тому

      ua-cam.com/video/R7Dg7Ig_tto/v-deo.html

  • @RickyTheCreep
    @RickyTheCreep 10 місяців тому

    this sucks

  • @headx_official
    @headx_official 6 місяців тому

    how do i make that the hitbox is visible?