Roblox Advanced Combat System Tutorial Part 1

  Рет қаралды 222,982

Ampro

Ampro

Күн бұрын

Пікірлер: 1 000
@realampro
@realampro 6 ай бұрын
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 жыл бұрын
Worth the wait I swear u never miss wit these tutorials
@StXGaMeRalli
@StXGaMeRalli 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
THANKS ALOOTT!!! i was wondering how to make a air combo and stuff and this really helped :)
@ShortyJustin
@ShortyJustin 2 жыл бұрын
I learnt a lot from this thanks!!
@gojix5878
@gojix5878 2 жыл бұрын
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 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
thanks a lot this is way more helpful than anything.
@miraktutorials7959
@miraktutorials7959 2 жыл бұрын
I got stuck fore a whole hour stuck bc my animations dont play
@6__6wedo
@6__6wedo Жыл бұрын
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 Жыл бұрын
do the zombies have a humanoid?
@powerpaxz
@powerpaxz 2 жыл бұрын
hey by any chance could you make some sort of parry tutorial with blocking, I am having trouble figuring it out my self…💀
@poblethee51-a27
@poblethee51-a27 2 жыл бұрын
Thank you so much this video really helped me!
@madani-w9y
@madani-w9y Ай бұрын
GUYS PLS HOW TO EMPORT ANIMATIONS AND STAFF FOR THE 3:35 minutes
@ACE-jg5mh
@ACE-jg5mh 2 жыл бұрын
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")
@victo1944
@victo1944 2 жыл бұрын
yes
@andilusha3636
@andilusha3636 2 жыл бұрын
Nope cuz i did that and it worked
@just_dumb._.2512
@just_dumb._.2512 5 ай бұрын
No
@raysthd5037
@raysthd5037 2 жыл бұрын
Earned a new sub
@exoticmb
@exoticmb 2 жыл бұрын
its crazy how u made a whole combat system within 20 minutes nice
@Terrifying
@Terrifying 2 жыл бұрын
Bruv, its 21 minutes and 41 seconds.
@a-topgaming7366
@a-topgaming7366 2 жыл бұрын
@@Terrifying fr thats what im saying kids dont know how to read these days
@j4yvier
@j4yvier 2 жыл бұрын
@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 жыл бұрын
@@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 жыл бұрын
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 жыл бұрын
BRO UR SO UNDERRATED!!!!
@REXJackYT
@REXJackYT 5 ай бұрын
Ur cappin
@codewithriza
@codewithriza 2 жыл бұрын
Love ur Video bro
@ope.001
@ope.001 Жыл бұрын
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 ай бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
???
@t7dk
@t7dk 2 жыл бұрын
@@snowbunnies_69 bro not everyone is good at programming pls explain
@Woken0
@Woken0 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 Жыл бұрын
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 Жыл бұрын
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 ай бұрын
@@amitarajne1906 bro i posted this 1 year ago
@edwinmarquez2031
@edwinmarquez2031 8 ай бұрын
@@Cereall lol
@NotTenacious
@NotTenacious Жыл бұрын
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 Жыл бұрын
Just check if your character is equipping the sword before firing the event in your local script
@Mubrikfr
@Mubrikfr 7 ай бұрын
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 ай бұрын
bro u are a goat but it is the fix version or no ?
@yorukio9649
@yorukio9649 13 күн бұрын
o cara é um santo
@frostgamel1607
@frostgamel1607 2 жыл бұрын
Yo I’m having some problems. Can you maybe paste your script here?
@kapmanyt3194
@kapmanyt3194 2 жыл бұрын
Same
@TAG_RoyalKingBah
@TAG_RoyalKingBah 2 жыл бұрын
where did you copy the animations at 3:38
@im_logvr2208
@im_logvr2208 Жыл бұрын
Could you give us a download link so we can download the animations?
@naianimator
@naianimator Жыл бұрын
make your own dude
@IceBlueLyrics
@IceBlueLyrics Ай бұрын
can someone please tell me how to export your animations like he showed in 3:35?
@Vessbon
@Vessbon Жыл бұрын
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 Жыл бұрын
how would i make a non exploitable system like rogue lineagr
@crafty7779
@crafty7779 Жыл бұрын
​@@wiztrash9530 make a non exploitable system
@monkted9904
@monkted9904 Жыл бұрын
@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 Жыл бұрын
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 жыл бұрын
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 жыл бұрын
at the end of if (lasttarg.Position - char.PrimaryPart.Position).Magnitude > (v.Position - char.PrimaryPart.Position) add .Magnitude
@jntak
@jntak Жыл бұрын
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 жыл бұрын
my friend recommended you to me, and your sword combat series made me see all the scripting methods that are not effective, thanks
@ACE-jg5mh
@ACE-jg5mh 2 жыл бұрын
W
@InfinitMotivation-p8f
@InfinitMotivation-p8f Жыл бұрын
how did you add arrows front of animation ids
@senseibar1
@senseibar1 2 жыл бұрын
I'm gonna ask ,how will I put this in a tool like GPO , Project Slayer's Combat type? Thanks.
@raysthd5037
@raysthd5037 2 жыл бұрын
Pls notify me when someone answered
@xtempor
@xtempor 2 жыл бұрын
just add a check for the whole script to only run if a player has the tool equipped
@raysthd5037
@raysthd5037 2 жыл бұрын
@@xtempor i dont know how to make that can you write the check in here please
@xtempor
@xtempor 2 жыл бұрын
@@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 жыл бұрын
Fire tutorial, but would there be a way to remove the spacebar+lmb and have it just be a held click?
@realampro
@realampro 2 жыл бұрын
You would have to change the inputs required and keep track of if the lmb is being held
@son-zora5174
@son-zora5174 2 жыл бұрын
@@realampro how did u get the script at 4:34 and 3:39 im more confused about 4:34.
@kknuEditz1330
@kknuEditz1330 Жыл бұрын
@@son-zora5174 am confused at that part
@cybermech6010
@cybermech6010 2 жыл бұрын
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!
@fools8525
@fools8525 2 жыл бұрын
thanks
@jaylenn1k466
@jaylenn1k466 Жыл бұрын
i did this, and now when i run it nothing happens, not even an error
@alparslaneken229
@alparslaneken229 11 ай бұрын
you are king
@zarptart3690
@zarptart3690 Ай бұрын
Thanks :D
@muktastic6477
@muktastic6477 Жыл бұрын
bro ur way too underated
@Renza_i
@Renza_i 2 жыл бұрын
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.)
@zerozester5590
@zerozester5590 Жыл бұрын
Yeah just increase the m1s
@monkted9904
@monkted9904 Жыл бұрын
there is always a way
@LoveQuranOfficiaI
@LoveQuranOfficiaI 2 жыл бұрын
Nicee!!!!!! I subscribed!!!
@ikkeenbot
@ikkeenbot Жыл бұрын
You could've added some functions to the script to make it easier to read and for people to understand
@LOLEZSA
@LOLEZSA Жыл бұрын
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 жыл бұрын
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 жыл бұрын
same problem for me
@kalex_z
@kalex_z 2 жыл бұрын
@@Beij1ngCorn yeah
@Beij1ngCorn
@Beij1ngCorn 2 жыл бұрын
@@kalex_z actually, I fixed the issue
@Beij1ngCorn
@Beij1ngCorn 2 жыл бұрын
@@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 жыл бұрын
@@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 Жыл бұрын
@@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 26 күн бұрын
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 жыл бұрын
How do I format it like that on 3:37
@justrad7637
@justrad7637 4 ай бұрын
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 ай бұрын
Yo bro its very annoying when you copy and paste a whole page in and we cant copy it
@RiikayYT
@RiikayYT Жыл бұрын
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 Жыл бұрын
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 жыл бұрын
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 Жыл бұрын
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 жыл бұрын
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 жыл бұрын
I FINALLY FOUND THIS CHANNEL!
@zabuzeer7044
@zabuzeer7044 2 жыл бұрын
How did you figure out air combos and how did you get so good at scripting?
@realampro
@realampro 2 жыл бұрын
Practice
@zabuzeer7044
@zabuzeer7044 2 жыл бұрын
@@realampro can you share the discord link to your discord project uprising shinobi btw Also keep it up New subscriber
@snooglebrosplayz
@snooglebrosplayz Жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Same with me did you use R6
@timyy2576
@timyy2576 Жыл бұрын
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 Жыл бұрын
@@yuzii1I was gonna comment that too
@skurwielOMEGA
@skurwielOMEGA 2 жыл бұрын
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 жыл бұрын
hey i cant air combo to other people i set my game to r6 its not working
@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.
@monkted9904
@monkted9904 Жыл бұрын
same
@monkted9904
@monkted9904 Жыл бұрын
let you know if i find a fix
@_blaise1
@_blaise1 Жыл бұрын
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
@lapse1403
@lapse1403 2 жыл бұрын
my m1's dont show when i click. My animations that i made arent showing up and I just cant see anything working
@skulpunch
@skulpunch 2 жыл бұрын
same
@Builderbeast-CoDm
@Builderbeast-CoDm Жыл бұрын
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 Жыл бұрын
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
@CruxAnimations
@CruxAnimations Жыл бұрын
Change your game to r6
@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 Жыл бұрын
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 жыл бұрын
Can someone help me i did all of the code but my character wont punch
@sleepingalot
@sleepingalot 2 жыл бұрын
it says combat even isnt a valid member of replicated storage
@DIFIWIFILUPO
@DIFIWIFILUPO 2 жыл бұрын
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
Roblox Advanced Combat System Tutorial Part 3
29:16
Ampro
Рет қаралды 33 М.
Classic Roblox Games: How Are They Doing?
17:09
Chappy
Рет қаралды 482 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
This game is blatantly P2W, its fans don't think so
11:14
GamesFoundation
Рет қаралды 987 М.
I Made a 2D Basketball Game In Roblox
20:20
Mmii
Рет қаралды 65 М.
Can 6 DEVS Make an FPS Game Without Communicating?
10:55
RoDev
Рет қаралды 428 М.
War Without Drumming (Full)
7:21
person human
Рет қаралды 28 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 303 М.
Why Roblox FORSAKEN is NEARLY PERFECT
14:42
Bedsheet Ghost
Рет қаралды 137 М.
I Spent 24 Hours to beat Roblox's Smartest NPC
9:36
AintNoobie
Рет қаралды 789 М.
Testing 20 Bloxburg Tiktok Build Hacks!
7:08
Regain RiOT
Рет қаралды 207 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН