Roblox Advanced Combat System Tutorial Part 1

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии •

  • @realampro
    @realampro  6 месяцев назад +19

    Hey guys! I actually have a slightly more updated version of this combat on my channel now. Please check that out for some updated effects and built in cooldown manager, inventory, and UI!

    • @omarbensaad5755
      @omarbensaad5755 6 месяцев назад

      can u put the animatione on the comment i don't have one please 😊

    • @omarbensaad5755
      @omarbensaad5755 6 месяцев назад

      please 🙏🙏🙏🙏🙏

    • @Varotion_LT
      @Varotion_LT 6 месяцев назад

      @@omarbensaad5755 use the animation spoofer plugin.

    • @dazaiosamu5837
      @dazaiosamu5837 5 месяцев назад

      can you send a like to th video?

    • @AMVArtistry-c1y
      @AMVArtistry-c1y 5 месяцев назад

      could you add the animation ids?

  • @noteternal5726
    @noteternal5726 2 года назад +23

    Worth the wait I swear u never miss wit these tutorials

  • @StXGaMeRalli
    @StXGaMeRalli 2 года назад +61

    definitely gonna watch this after i finish my own combat system to see what i can improve. Thanks for the open source learning code

  • @bloxboi3099
    @bloxboi3099 2 года назад +34

    This is actually help full I like that you dont take like an hour to start, but I have a question, would it be possible that you show how to make a heavy attack combo?

  • @chilled9
    @chilled9 2 года назад +8

    THANKS ALOOTT!!! i was wondering how to make a air combo and stuff and this really helped :)

  • @ShortyJustin
    @ShortyJustin 2 года назад +12

    I learnt a lot from this thanks!!

  • @gojix5878
    @gojix5878 2 года назад +7

    This is so helpful thank you so much I have been looking for a tutorial for a long time. I have a suggestion is it possible that you show how to make a combo counter?

  • @Ban33t
    @Ban33t 2 года назад +52

    For anyone whos having a problem on line “89” with the load animation thing, you typed your “rbxassetid” wrong. Or the id numbers itself. I spent like 20 minutes trying to figure it out, but i typed “rbassetid” instead of “rbxassetid” so make sure its spelt correctly!

    • @nichkhar1508
      @nichkhar1508 Год назад +1

      do i have to make my own anims or do i have to use his

    • @renielconcepcion6388
      @renielconcepcion6388 Год назад

      @@nichkhar1508 you don't need to make one yourself but you can if you want

    • @GhostyCanGame
      @GhostyCanGame Год назад

      @@renielconcepcion6388 you have to now, you cannot use anims you don't own and unfortunetly the person who made these anims have them privated.

    • @TheBroderss
      @TheBroderss Год назад

      still doesnt work

    • @au_di7768
      @au_di7768 Год назад

      bro can you tell me why it doesn't work for me? Please

  • @GhettoWxzrd
    @GhettoWxzrd Год назад +1

    Bro went "i'm gonna make a tutorial series on this subject, but you guys could probably figure that out on your own"

  • @zecchh1234
    @zecchh1234 Год назад +2

    thanks a lot this is way more helpful than anything.

  • @miraktutorials7959
    @miraktutorials7959 2 года назад +4

    I got stuck fore a whole hour stuck bc my animations dont play

  • @6__6wedo
    @6__6wedo Год назад +7

    My dummy takes damage, but after I land a hit on it my character slowly starts sliding, using my walk animation. Also this only seems to work for the dummy I have placed, not zombies from a zombie spawner.

    • @Zolphite
      @Zolphite Год назад

      Make sure you delete the bodyvelocity object you create in the server script using game.Debris:AddItem(bv, .2) Prob around line 137

    • @TheRealKio
      @TheRealKio Год назад +1

      do the zombies have a humanoid?

  • @powerpaxz
    @powerpaxz 2 года назад +9

    hey by any chance could you make some sort of parry tutorial with blocking, I am having trouble figuring it out my self…💀

  • @madani-w9y
    @madani-w9y Месяц назад +2

    GUYS PLS HOW TO EMPORT ANIMATIONS AND STAFF FOR THE 3:35 minutes

  • @poblethee51-a27
    @poblethee51-a27 2 года назад +2

    Thank you so much this video really helped me!

  • @ACE-jg5mh
    @ACE-jg5mh 2 года назад +8

    does it matter when i changed the player char and humanoid to this?:
    local player = game.Players.LocalPlayer
    local char = player.CharacterAdded:Wait()
    local humanoid = char:WaitForChild("Humanoid")

  • @raysthd5037
    @raysthd5037 2 года назад +1

    Earned a new sub

  • @exoticmb
    @exoticmb 2 года назад +74

    its crazy how u made a whole combat system within 20 minutes nice

    • @Terrifying
      @Terrifying 2 года назад +9

      Bruv, its 21 minutes and 41 seconds.

    • @a-topgaming7366
      @a-topgaming7366 2 года назад +8

      @@Terrifying fr thats what im saying kids dont know how to read these days

    • @j4yvier
      @j4yvier 2 года назад +4

      @Redacted @A-top Gaming it actually only goes to 21 minutes and 40 seconds, sometimes youtube does an oopsie and adds an extra 1. :)

    • @Polatian
      @Polatian 2 года назад

      @@a-topgaming7366 exactly

    • @exoticmb
      @exoticmb 2 года назад +1

      @@Terrifying i was estimating lmfao i already know its 21 minutes

  • @king4dam73
    @king4dam73 Год назад

    ur accually the only person that shows how to make it instead of downloading smth also can u show how to do with a sword?

  • @alishammari5180
    @alishammari5180 2 года назад +3

    i dont know why but the dummy does not take damage i think the problem is in the function parameters data so it might think that when i say something like data.Action its reffering to the parameter but when i remove the parameter it still doesnt work if u have a discord or some way you could help me that would be great cause i repeated ur video like a million times and still never works and ive been finding it quit frustrating

    • @Cooldudegamer327
      @Cooldudegamer327 2 года назад

      Yeah,does it play the animations for because it doesn’t for me

    • @alishammari5180
      @alishammari5180 2 года назад

      @@Cooldudegamer327 it plays the animations but it just doesnt do damage

    • @alishammari5180
      @alishammari5180 2 года назад

      @@Cooldudegamer327 where did u store your animations I think that might be the problem

  • @Jslemonn
    @Jslemonn 2 года назад +4

    BRO UR SO UNDERRATED!!!!

  • @codewithriza
    @codewithriza 2 года назад

    Love ur Video bro

  • @ope.001
    @ope.001 Год назад +3

    So I did everything you told me to do/write in the script/local script & other details but it seems to be broken. For some reason I can't do any damage, and when I click to attack it only does 1 animation. I don't know why even though I followed all the steps and stuff, the local script & script seem to be fine. (Please Reply)

    • @yumustv593
      @yumustv593 Год назад

      Same

    • @solvexis
      @solvexis 9 месяцев назад +1

      line 49 of the code, for me, i had to change to: if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position).Magnitude then

  • @16Krae
    @16Krae Год назад

    actually this thing works for both r6 and r15 if anyones wondering

    • @BaoBao_822
      @BaoBao_822 Год назад

      what how i tried and nothing works do dmg no animation nothing

  • @aank8335
    @aank8335 2 года назад +12

    If the second part of this tutorial is effects it would be fire🔥
    i really want to know how did you do that rock line effect in your previus combat

    • @cameron7910
      @cameron7910 Год назад

      I’m trying to make a demon slayer game and learning how to do effect would help a lot

    • @OsDijider66
      @OsDijider66 Год назад

      @@cameron7910 do u need a devs team?

    • @real_rax561
      @real_rax561 Год назад

      @@OsDijider66 u dev ?

    • @BuldsOffice
      @BuldsOffice Год назад

      @@OsDijider66 I do please

    • @beastboycari2498
      @beastboycari2498 Год назад

      what type of dev?? scripter??
      @@BuldsOffice

  • @abhijitg4626
    @abhijitg4626 2 года назад

    Great Video!

  • @t7dk
    @t7dk 2 года назад +9

    in output it keeps saying "Workspace.(my user).LocalScript:47: invalid argument #1 to 'find' (table expected, got Instance)"
    and the code at line 47 is:
    46 for i, v in pairs(hb:GetTouchingParts()) do
    47 if v.Parent:FindFirstChild("Humanoid") and table.find(ignore, v.Parent) == nil then
    48 if lasttarg then
    i could need some help with this

    • @snowbunnies_69
      @snowbunnies_69 2 года назад

      🤣

    • @t7dk
      @t7dk 2 года назад +1

      ???

    • @t7dk
      @t7dk 2 года назад

      @@snowbunnies_69 bro not everyone is good at programming pls explain

    • @Woken0
      @Woken0 2 года назад +2

      Check line 94 if it is: local hitTarg = hb(Vector3.new(4,6,4), character.PrimaryPart.CFrame * CFrame.new(0,0,-3), {character}, character)

    • @itszednotzee1052
      @itszednotzee1052 2 года назад

      check if around line 94 you have
      local hitTarg = hb(Vector3.new(4,6,4), character.PrimaryPart.CFrame * CFrame.new(0,0,-3), {character}, character)

  • @Chinelolamb
    @Chinelolamb Год назад

    Hey there! do you ever cover how you would put a kill like this into a leaderboard?

  • @Cereall
    @Cereall Год назад +3

    i did everything correct, no errors, but it doesn't deal damage. I am using r6 but idk if that's an issue.

    • @playboifarti338
      @playboifarti338 Год назад

      its not

    • @Bawed
      @Bawed Год назад +1

      Same the hitbox isn’t showing up

    • @amitarajne1906
      @amitarajne1906 8 месяцев назад

      use r15 using r6 is the issue try using r15 cuz the tutorial he made is based on r15 it working thanks me in comments

    • @Cereall
      @Cereall 8 месяцев назад +1

      @@amitarajne1906 bro i posted this 1 year ago

    • @edwinmarquez2031
      @edwinmarquez2031 8 месяцев назад

      @@Cereall lol

  • @NotTenacious
    @NotTenacious Год назад +1

    Hello Ampro, could you make a tutorial on how to make it so that combat only works if the sword from your other tutorial is unequipped?

    • @Hextia
      @Hextia Год назад +1

      Just check if your character is equipping the sword before firing the event in your local script

  • @Mubrikfr
    @Mubrikfr 7 месяцев назад +23

    script
    local remote = game.ReplicatedStorage.CombatEvent
    remote.OnServerEvent:Connect(function(Client, data)
    if data.Action == "m1" then
    data.Target.Humanoid:TakeDamage(4)
    if data.Air == "Up" then
    local bp = Instance.new("BodyPosition")
    bp.Position = data.Character.PrimaryPart.Position + Vector3.new(0,30,0)
    bp.P = 1200
    bp.MaxForce = Vector3.new (99999,99999,99999)
    bp.D = 200
    bp.Name = "Position"
    bp.Parent = data.Character.PrimaryPart
    game.Debris:AddItem(bp,1)
    local bp = Instance.new("BodyPosition")
    bp.Position = data.Target.PrimaryPart.Position + Vector3.new(0,30,0)
    bp.P = 1200
    bp.MaxForce = Vector3.new (99999,99999,99999)
    bp.D = 200
    bp.Name = "Position"
    bp.Parent = data.Target.PrimaryPart
    game.Debris:AddItem(bp,1)
    elseif data.Air == "Down" then
    for i,v in pairs (data.Target.PrimaryPart:GetChildren()) do
    if v:IsA("BodyMover") then
    v:Destroy()
    end
    end
    local bv = Instance.new("BodyVelocity", data.Target.PrimaryPart)
    bv.Velocity = (data.Character.PrimaryPart.CFrame.LookVector * 1 - Vector3.new(0,2,0)) *25
    bv.MaxForce = Vector3.new (99999,99999,99999)
    bv.Name = "Velocity"
    game.Debris:AddItem(bv, 2)
    elseif data.combo == 5 then
    local bv = Instance.new("BodyVelocity", data.Character.PrimaryPart)
    bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 10
    bv.MaxForce = Vector3.new (99999,99999,99999)
    bv.Name = "Velocity"
    game.Debris:AddItem(bv, .2)
    local bv = Instance.new("BodyVelocity", data.Target.PrimaryPart)
    bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 75
    bv.MaxForce = Vector3.new (99999,99999,99999)
    bv.Name = "Velocity"
    game.Debris:AddItem(bv, 2)
    else
    local bv = Instance.new("BodyVelocity", data.Character.PrimaryPart)
    bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 10
    bv.MaxForce = Vector3.new (99999,99999,99999)
    bv.Name = "Velocity"
    game.Debris:AddItem(bv, .2)
    local bv = Instance.new("BodyVelocity", data.Target.PrimaryPart)
    bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 10
    bv.MaxForce = Vector3.new (99999,99999,99999)
    bv.Name = "Velocity"
    game.Debris:AddItem(bv, .2)
    end
    end
    end)
    local script
    local character = script.Parent
    local humanoid = character.Humanoid
    local player = game.Players.LocalPlayer
    local uis = game:GetService("UserInputService")
    local remote = game.ReplicatedStorage.CombatEvent
    local lastTimeM1 = 0
    local lastM1End = 0
    local combo = 1
    local canAir = true
    local punchAnims = {
    'rbxassetid://17492488859',--1
    'rbxassetid://17492518101',--2
    'rbxassetid://17521633578',--3
    'rbxassetid://17521583383',--4
    'rbxassetid://17494314786',--5
    }
    local airAnims = {
    'rbxassetid://17494408689', --Kick Up
    'rbxassetid://17494373805', --Kick Down
    }
    local function hb(size, cframe, ignore, char)
    local hb = Instance.new("Part", workspace.Fx)
    hb.Anchored = true
    hb.CanCollide = false
    hb.Transparency = .6
    hb.Name = "hb"
    hb.Material = Enum.Material.ForceField
    hb.CanQuery = false
    hb.Size = size
    hb.CFrame = cframe
    local con
    con = hb.Touched:Connect(function()
    con:Disconnect()
    end)
    local lasttarg
    for i,v in pairs(hb:GetTouchingParts()) do
    if v.Parent:FindFirstChild("Humanoid") and table.find(ignore, v.Parent) == nil then
    if lasttarg then
    if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position).Magnitude then
    lasttarg = v.Parent.PrimaryPart
    end
    else
    lasttarg = v.Parent.PrimaryPart
    end
    end
    end
    hb:Destroy()
    if lasttarg then
    return lasttarg.Parent
    else
    return nil
    end
    end
    uis.InputBegan:Connect(function(input, gpe)
    if gpe then return end
    if input.UserInputType == Enum.UserInputType.MouseButton1 and tick() - lastTimeM1 > .3 and tick() - lastM1End > .7 then
    if tick() - lastM1End > .7 then
    combo = 1
    end
    lastTimeM1 = tick()
    local animation = Instance.new("Animation", workspace.Fx)
    local air = nil
    if uis:IsKeyDown("Space") and combo == 4 and canAir then
    canAir = false
    animation.AnimationId = airAnims[1]
    air = "Up"
    elseif not uis:IsKeyDown("Space") and combo == 5 and not canAir then
    animation.AnimationId = airAnims[2]
    air = "Down"
    else
    animation.AnimationId = punchAnims[combo]
    end
    local load = humanoid:LoadAnimation(animation)
    load:Play()
    animation:Destroy()
    local hitTarg = hb(Vector3.new(4,6,4), character.PrimaryPart.CFrame * CFrame.new(0,0,-3), {character}, character)
    if hitTarg then
    local data = {
    ["Target"] = hitTarg,
    ["Character"] = character,
    ["Combo"] = combo,
    ["Air"] = air,
    ["Action"] = "m1",
    }
    remote:FireServer(data)
    end

    if combo == #punchAnims then
    combo = 1
    lastM1End = tick()
    else
    combo += 1
    end
    humanoid.WalkSpeed = 0
    wait(.4)
    humanoid.WalkSpeed = 16
    end
    end)
    humanoid.StateChanged:Connect(function(old, new)
    if new == Enum.HumanoidStateType.Landed then
    canAir = true
    end
    end)
    uis.JumpRequest:Connect(function()
    if tick() - lastTimeM1 < 1 then
    humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
    else
    humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, true)
    end
    end)

    • @arc4407
      @arc4407 4 месяца назад +2

      bro u are a goat but it is the fix version or no ?

    • @yorukio9649
      @yorukio9649 12 дней назад

      o cara é um santo

  • @frostgamel1607
    @frostgamel1607 2 года назад +9

    Yo I’m having some problems. Can you maybe paste your script here?

  • @TAG_RoyalKingBah
    @TAG_RoyalKingBah 2 года назад +2

    where did you copy the animations at 3:38

  • @im_logvr2208
    @im_logvr2208 Год назад +5

    Could you give us a download link so we can download the animations?

  • @IceBlueLyrics
    @IceBlueLyrics Месяц назад

    can someone please tell me how to export your animations like he showed in 3:35?

  • @Vessbon
    @Vessbon Год назад +5

    Isn't this very easily exploitable? You are letting the client fire a remote event that handles vulnerable data like the target, character, combo, air and action.

    • @wiztrash9530
      @wiztrash9530 Год назад +2

      how would i make a non exploitable system like rogue lineagr

    • @crafty7779
      @crafty7779 Год назад +1

      ​@@wiztrash9530 make a non exploitable system

    • @monkted9904
      @monkted9904 Год назад +2

      @wiztash9530 you would have to make the hitboxes on the server along with all the other important things like the target, character, combo air, action like he listed then you would just fire a remote event to the client just to make the effects

  • @b0madia
    @b0madia Год назад +1

    i did everything but my hit box keeps appearing anytime i hit a dummy and doesn’t continue the combo but the combo works when i don’t hit a dummy

  • @musicmixx-ups336
    @musicmixx-ups336 2 года назад +6

    I'm having a little bit of trouble on line 49 of the local script. The output says "attempt to compare Vector3 < number"
    Here's what the code looks like on my end:
    local lasttarg

    for i, v in pairs(hb:GetTouchingParts()) do
    if v.Parent:FindFirstChild("Humanoid") and table.find(ignore, v.Parent) == nil then
    if lasttarg then
    if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position) then
    lasttarg = v.Parent.PrimaryPart
    end
    else
    lasttarg = v.Parent.PrimaryPart
    end
    end
    Any help would be great

    • @_l4nk671
      @_l4nk671 2 года назад +2

      at the end of if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position) add .Magnitude

  • @jntak
    @jntak Год назад +2

    Hi, my output is giving me this error:
    Workspace.s4lmonella.LocalScript:49: attempt to compare Vector3 < number
    My code on lines 49 and 50 looks like this:
    if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position) then
    lasttarg = v.Parent.PrimaryPart
    Could this be an issue with R6 or is there some other problem with the code?
    Thanks in advance if you do help, and even if you don't, this was a great tutorial.

    • @YBloem_PotY
      @YBloem_PotY Год назад

      I had the same thing, You have to put '.Magnitude' behind the last bracket in front of 'then'.

    • @jntak
      @jntak Год назад

      @@YBloem_PotY thank you so much, you’re a lifesaver

    • @YBloem_PotY
      @YBloem_PotY Год назад

      @@jntak np haha

  • @Beij1ngCorn
    @Beij1ngCorn 2 года назад +4

    my friend recommended you to me, and your sword combat series made me see all the scripting methods that are not effective, thanks

  • @InfinitMotivation-p8f
    @InfinitMotivation-p8f Год назад +1

    how did you add arrows front of animation ids

  • @senseibar1
    @senseibar1 2 года назад +3

    I'm gonna ask ,how will I put this in a tool like GPO , Project Slayer's Combat type? Thanks.

    • @raysthd5037
      @raysthd5037 2 года назад +1

      Pls notify me when someone answered

    • @xtempor
      @xtempor 2 года назад +2

      just add a check for the whole script to only run if a player has the tool equipped

    • @raysthd5037
      @raysthd5037 2 года назад +1

      @@xtempor i dont know how to make that can you write the check in here please

    • @xtempor
      @xtempor 2 года назад +1

      @@raysthd5037 if input.UserInputType == Enum.UserInputType.MouseButton1 and tick() - lastTimeM1 > .4 and tick() - lastTimeM1 > 0.6 and character:FindFirstChild("ClassicSword") then
      replace classicsword with the tool name you want

    • @raysthd5037
      @raysthd5037 2 года назад

      @@xtempor thx

  • @Kemhiru
    @Kemhiru 2 года назад +2

    Fire tutorial, but would there be a way to remove the spacebar+lmb and have it just be a held click?

    • @realampro
      @realampro  2 года назад +1

      You would have to change the inputs required and keep track of if the lmb is being held

    • @son-zora5174
      @son-zora5174 2 года назад +1

      @@realampro how did u get the script at 4:34 and 3:39 im more confused about 4:34.

    • @kknuEditz1330
      @kknuEditz1330 Год назад +1

      @@son-zora5174 am confused at that part

  • @cybermech6010
    @cybermech6010 2 года назад +5

    This does work with R6/r6. You just have to replace every part that uses PrimaryPart to HumanoidRootPart and it should work, since R6 dummies apparently don't have a PrimaryPart. Hope that helps!

  • @muktastic6477
    @muktastic6477 Год назад

    bro ur way too underated

  • @Renza_i
    @Renza_i 2 года назад +4

    Is there a way to add another m1 to the downslam combo. Example m1x3 + (space) with m1 + (this m1 is the extra one) + m1(this one slams down.)

  • @LoveQuranOfficiaI
    @LoveQuranOfficiaI 2 года назад

    Nicee!!!!!! I subscribed!!!

  • @ikkeenbot
    @ikkeenbot Год назад +3

    You could've added some functions to the script to make it easier to read and for people to understand

  • @LOLEZSA
    @LOLEZSA Год назад +2

    local hitTarg = hb(Vector3(4,6,4), character.PrimaryPart.CFrame * CFrame.new(0,0,-3), {character}, character)
    Workspace.MyNick.LocalScript:60: attempt to call a table value

  • @nemo9324
    @nemo9324 2 года назад

    What keyboard do you use, it sounds so good.

  • @kalex_z
    @kalex_z 2 года назад +3

    on line 56 and says Expected identifer and same with the == nil then
    on line 58 and 59 both lasttarg’s say Unknown global lasttarg
    line 64 to line 114 everything says Unreachable code (previous statement always returns

    • @Beij1ngCorn
      @Beij1ngCorn 2 года назад +1

      same problem for me

    • @kalex_z
      @kalex_z 2 года назад +1

      @@Beij1ngCorn yeah

    • @Beij1ngCorn
      @Beij1ngCorn 2 года назад +1

      @@kalex_z actually, I fixed the issue

    • @Beij1ngCorn
      @Beij1ngCorn 2 года назад +1

      @@kalex_z just a simple typo on my end, but if you haven't fixed it for 12 days, then you probably did sum wrong with the script

    • @kalex_z
      @kalex_z 2 года назад +1

      @@Beij1ngCorn alr

  • @Gen1us707
    @Gen1us707 Год назад

    instead of local lasttarg, set it to nil since there IS no last targ. if your getting it a error in the output, then do that.

    • @st4rzsyn
      @st4rzsyn Год назад

      it gimme the same error bru

    • @Gen1us707
      @Gen1us707 Год назад +1

      @@st4rzsyn rip, infact the system aint even working for me.

    • @st4rzsyn
      @st4rzsyn Год назад

      @@Gen1us707 i made it work but it isnt letting me go up when i uptilt and then after i tried uptilting im basically in a permanent state of inAIr and even when i try doing normal m1s its downslamming at the end

    • @UncleChippy
      @UncleChippy Год назад

      @@st4rzsyn how did you get it to work. After the animations my code ain’t running

    • @Gen1us707
      @Gen1us707 Год назад

      @@st4rzsyn oh, i cant even make the Combo to work. even if i click in like 0.3 seconds it doesnt work. its just one same attack

  • @Metal-Sonic
    @Metal-Sonic 7 месяцев назад

    there is some things i can do to make the system the way i prefer it to work, like instead of m1 x 5, it's m1 x 4 like in most battlegrounds games, and the other things i can just be figuring out.

  • @BumBum_SM
    @BumBum_SM 25 дней назад

    i tried this with R6 which worked fine but when i punched the dummy, walked and punched, jumped and punched, the animations got canceled out instead of playing like they normally do

  • @indiedevdevdev1585
    @indiedevdevdev1585 2 года назад

    I will make my own system, but the tips video was great for learning how to make air combos

  • @friendlysoulja
    @friendlysoulja 2 года назад +2

    How do I format it like that on 3:37

  • @justrad7637
    @justrad7637 4 месяца назад +1

    how did you make it so the player actually rotates with the lower torso ,whenever i do it it doesnt work

  • @ayteam_8
    @ayteam_8 Год назад

    should the animation only contain the punch or should i also make the arm come back to its original position and where should we start the second punch animation?

  • @T4ZzFN
    @T4ZzFN 3 месяца назад +1

    Yo bro its very annoying when you copy and paste a whole page in and we cant copy it

  • @RiikayYT
    @RiikayYT Год назад +1

    when i do it, clicking doesnt do anything. i am confused and really sad on why this is. i followed everything:(

    • @Nustimu
      @Nustimu 7 месяцев назад

      Same.

  • @garlicbreadenjoyer4560
    @garlicbreadenjoyer4560 Год назад +1

    I have an error called: "Workspace.robloxinatorALi123.CombatClient:50: invalid argument #1 to 'find' (table expected, got Instance)", i wrote "if v.Parent:FindFirstChild("Humanoid") and table.find(ignore, v.Parent) == nil then" on that line, like in the video, whats wrong?

  • @Nickrequ1em
    @Nickrequ1em 2 года назад +1

    So I'm pretty sure that I have done everything correctly I have even double checked but for some reason when I click it does nothing, I have gone through the ENTIRE code and still can't find the problem

    • @realampro
      @realampro  2 года назад

      Check your output and debug

    • @Nickrequ1em
      @Nickrequ1em 2 года назад

      @@realampro wdym? Also I manage to make it play the animation and summon the hit box but it plays only the first punch anim(even with the change you made) and it doesn't do any damage

    • @Nickrequ1em
      @Nickrequ1em 2 года назад

      @@realampro it says CFrame is not a valid member of part"Workspace.nickrequiem.HumanoidRootPart" (line 48 in script)

    • @nazharieiman2943
      @nazharieiman2943 2 года назад

      Same

    • @ace19lightning35
      @ace19lightning35 Год назад

      @@Nickrequ1em Check if it says Cframe and not CFrame

  • @BaoBao_822
    @BaoBao_822 Год назад +1

    it didnt work i copied every piece of code and no animation is played no dmg nothing someone help me pls

    • @chickennuggetland1847
      @chickennuggetland1847 4 месяца назад

      If your trying to use R6 animation then it won't work if that's not your problem then sorry

  • @caolho_de_2_olhos692
    @caolho_de_2_olhos692 2 года назад +2

    my Hitbox got buggy, I can only hit the target if it's on top of his head, is there a way to solve it? what animation do you use? anyway thank you

    • @realampro
      @realampro  2 года назад

      Try setting the hitbox transparency to 0 and get rid of the destroy() temporarily to try and see where the hitbox is goinf

    • @caolho_de_2_olhos692
      @caolho_de_2_olhos692 2 года назад

      @@realampro I just found out what's going on, whenever I execute the punch, it doesn't hit, I can only deal damage if I'm on top of the dummy's head

  • @mullezz
    @mullezz 2 года назад +2

    I FINALLY FOUND THIS CHANNEL!

  • @zabuzeer7044
    @zabuzeer7044 2 года назад +2

    How did you figure out air combos and how did you get so good at scripting?

    • @realampro
      @realampro  2 года назад

      Practice

    • @zabuzeer7044
      @zabuzeer7044 2 года назад +1

      @@realampro can you share the discord link to your discord project uprising shinobi btw
      Also keep it up
      New subscriber

  • @snooglebrosplayz
    @snooglebrosplayz Год назад +1

    This is a very fun tutorial and a learned a lot from it
    Something wrong with mine is that sometimes it downslams on the ground and when i uptilt i wont go up and the target doesnt go up as much

    • @snooglebrosplayz
      @snooglebrosplayz Год назад

      nvm i found out why

    • @bacongod5759
      @bacongod5759 Год назад

      @@snooglebrosplayz can I know why?

    • @snooglebrosplayz
      @snooglebrosplayz Год назад

      @@bacongod5759 i forgot to put a variable change from the video so the game had canAir set to true on the ground lol

  • @OmegaAMVs
    @OmegaAMVs 2 года назад +1

    I have a problem, I dont do knockback idk why

  • @YellowYarn
    @YellowYarn 5 месяцев назад

    Thanks! For some reason, my downslam doesn’t work though.

  • @giyuutomioka8246
    @giyuutomioka8246 Год назад

    Can we use this or should we credit you I wanna make a game

  • @WolfDevs
    @WolfDevs 2 года назад +2

    why dosen't the data.Air == "Up" work in the script? when i do the up combo nothing happens and same with the down one, and the animation thingy dosent work?

  • @GamerEditor101
    @GamerEditor101 Месяц назад

    i only got 1 animation played even though i putted diffrent punch animations. any way to fix it?

  • @royaleeight5625
    @royaleeight5625 Год назад

    Hey am I allowed to use your animations or not?

  • @Endermanmo
    @Endermanmo 4 месяца назад

    All good for me except for a few little parts
    local lasttarg

    for i, v in pairs(hb:GetTouchingParts()) do
    if v.Parent:FindFirstChild("Humanoid") and table.find(ignore, v.Parent) == nil then
    if lasttarg then
    if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position).Magnitude then
    lasttarg = v.Parent.PrimaryPart
    end
    else
    lasttarg = v.Parent.PrimaryPart
    end
    end
    I don't really understand this lasttarg thingy, can somebody elaborate please

  • @alparslaneken229
    @alparslaneken229 11 месяцев назад

    Hello, my animations and codes are completely ready, but even though my character enters the uptilt animation, it does not go up and the puppet does not go up either.

  • @Paze296
    @Paze296 2 года назад +1

    I have a problem i closed the tab where i can allow it after pressing on setup. I already tried deinstalling it and reinstalling it but it didnt work. How can you fix this?

  • @personwhoafks5591
    @personwhoafks5591 2 года назад

    your should make a tutorial like devking your great at helping

  • @All-AroundYT
    @All-AroundYT 2 года назад +2

    Make a slam move or a move where dash to the nearest npc

  • @RyanTillman-i9e
    @RyanTillman-i9e 8 дней назад

    The only thing I have trouble is it working when I make it it does not work

  • @jasonmcool123thekiller7
    @jasonmcool123thekiller7 2 года назад +1

    it keeps saying "LoadAnimation requires the asset id to not be empty"

    • @victo1944
      @victo1944 2 года назад

      cuz ur animations dont have any id in them...

  • @Moponkeys
    @Moponkeys 3 месяца назад

    Could you please put the scrip in the descrition please i dnt have time t copy ll of this and trust me im making the best upcoming roblox game and really needed this comabt system i love the way it work and think this would be better than all of my coding combined. I know this is an old video but im still wondering

  • @reckereyy
    @reckereyy 4 месяца назад

    there are no error in any line but the animation didnt play when i click

  • @wongqtr
    @wongqtr Год назад +1

    im pretty sure i did all the code correctly but even with after i fixed the combo not starting bug, it still wont start the combo. Does anyone know how to fix this?

    • @Bawed
      @Bawed Год назад +1

      Same with me did you use R6

  • @timyy2576
    @timyy2576 Год назад +1

    Can someone please tell me how to import aba animation. I can’t find any punch animation anywhere

    • @yuzii1
      @yuzii1 Год назад

      do ur own

    • @cameron7910
      @cameron7910 Год назад +1

      @@yuzii1I was gonna comment that too

  • @skurwielOMEGA
    @skurwielOMEGA 2 года назад +1

    what if knockback does not work? (and what to do to make it as item :P )

  • @Asher_but_music
    @Asher_but_music Год назад

    ty, im really into fighting games and i want to make ine for my friends and others

  • @avvanvv
    @avvanvv 2 года назад +1

    hey i cant air combo to other people i set my game to r6 its not working

  • @_blaise1
    @_blaise1 Год назад +1

    when i click it only plays the first m1 animation

    • @Nooooorth
      @Nooooorth Год назад

      same

    • @callmejke9317
      @callmejke9317 Год назад

      well someone didnt watch the whole thing

    • @_blaise1
      @_blaise1 Год назад

      @@callmejke9317 i already fixed it

  • @Gostem6
    @Gostem6 7 месяцев назад

    does the animation have to be action or core?

  • @kurizomu9562
    @kurizomu9562 Год назад

    the knockback on a target will make them go back and to the side, specifically to the right... I dont know what I messed up my code matches up perfectly.

  • @lapse1403
    @lapse1403 2 года назад +1

    my m1's dont show when i click. My animations that i made arent showing up and I just cant see anything working

  • @Builderbeast-CoDm
    @Builderbeast-CoDm Год назад +1

    My animations are only playing a third of what they should be... Also, the dummy won't take damage or knock back. Does anyone have ideas of where I messed up?

    • @Bawed
      @Bawed Год назад +1

      Did you use R6?

  • @JmanHeatStudios
    @JmanHeatStudios Год назад

    i wish you would have said that this tutorial was for r15 at the beggining i spent so much time following this

  • @HyperBlueberry
    @HyperBlueberry 2 года назад

    can u show the animations u made at begining so we know what we need ;'() it took me so long to make animations

  • @Darkgamer18237
    @Darkgamer18237 Год назад +1

    I'm trying the scripts but my animations won't run and the errors are saying
    Humanoid is not a valid member of "ServerScriptService" - Script:2
    And
    OnServerEvent can only be used on server - LocalScript:3
    Please help urgently😅😅

    • @kingvamp4931
      @kingvamp4931 8 месяцев назад

      Having the same problem, did you ever get it to work?

  • @uniguy2484
    @uniguy2484 2 года назад

    why is the .Magnitude part in here 5:04 being an error even tho i typed it in perfectly since i dont know how to script?

    • @obvverpennter5438
      @obvverpennter5438 2 года назад

      another .Magnitude behind the second v.Position - char.PrimaryPart.Position) HERE

  • @Hidden_forezzz
    @Hidden_forezzz Месяц назад

    I did the scrip but on line 75 on local script it says fx is not a valid member for workspace could u maybe help me

  • @Treppa_Leppa
    @Treppa_Leppa 2 года назад +1

    Can someone help me i did all of the code but my character wont punch

  • @sleepingalot
    @sleepingalot 2 года назад +1

    it says combat even isnt a valid member of replicated storage

  • @DIFIWIFILUPO
    @DIFIWIFILUPO 2 года назад +1

    My characters wont punch at all =( the code is 100% copied word for word lol any ideas why it isnt working?

    • @dzxnko
      @dzxnko Год назад

      Yeah same problem, still no clue