How To Make A Sword Combat System In Roblox Studio [FULL TUTORIAL]

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

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

  • @vuukstudios7635
    @vuukstudios7635  2 месяца назад +5

    Join Discord To Get VFX:
    discord.com/invite/P6BCbmTmQ2
    JOIN OUR ACADEMY HERE: 🌟⬇
    www.whop.com/vuukstudios-academy

    • @E_LITE1
      @E_LITE1 2 месяца назад

      sword system for mobile or only pc?

    • @Desmond-q1q
      @Desmond-q1q 2 месяца назад

      hi i want to join the academy but i live in thee uk so i dont know how to pay for sign up pls tell me if there a way i can cuz my mom is starting to not want to help me on this pls if theres a way

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

      U should reply to does who comment more

  • @BuggError
    @BuggError Месяц назад +5

    Tysm, tbh this is the best tutorial I've seen bc i usually take 912748 times to get a script working but i got if first try with your tutorial, if your gonna continue with "improving" the sword combat system can you add parry/blocking in the next tutorial, btw u deserve a sub

  • @Vince_X
    @Vince_X 2 месяца назад +5

    Combat abilities sounds like something I'd watch. I'll definitely join the academy in December and grind it out!

  • @YumeKage夢影
    @YumeKage夢影 2 месяца назад +11

    W 💯🥶 Literally one of the main things missing from the game i'm trying to make, a W before i finished watching fr ❤️‍🔥

    • @vuukstudios7635
      @vuukstudios7635  2 месяца назад

      @@YumeKage夢影 Ww

    • @YumeKage夢影
      @YumeKage夢影 2 месяца назад

      @@vuukstudios7635 Can't believe you blew up like this man, i'm happy for you fr, keep up the good work 💪😤❤️

  • @benbaker-bj9mq
    @benbaker-bj9mq 2 месяца назад

    Thanks so much, this is one of the only tutorials which worked for me because im pretty new but getting the hang of it. Thanks so much Vuuk!

  • @BindingRBLX
    @BindingRBLX 10 дней назад +2

    can you make a part 2 with blocking/parrying?

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

    GET OUR PACKS HERE📦: www.vuukstudios.com

  • @Echo-Vocaloid
    @Echo-Vocaloid 2 месяца назад

    always posting peak, keep up the good work bro all your things are so goated 🙏🙏

  • @EriolPlayz
    @EriolPlayz 2 месяца назад +1

    thank you for this toturial it helped me alot

  • @MSM_Guy0
    @MSM_Guy0 Месяц назад +2

    Would there be a way to make like a recovery ig you could call it. in my game the combat is slower so it looks funny after the attack is finished and it just snaps back to place

  • @official_RANDOM_dev
    @official_RANDOM_dev 2 месяца назад

    W again! lol thanks for these vids i was really confused about it when i tried to do it myslef!

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

    can you maybe show how to make the combo reset if i stop mid way

  • @Jocarti
    @Jocarti 2 месяца назад

    W video needed this fr

  • @TechTannock
    @TechTannock 2 месяца назад +1

    thank you brother, I am also first

  • @plecofan3200
    @plecofan3200 9 дней назад +1

    my sword can only m1 once and then goes on cooldown forever, any idea how to fix this
    ?

  • @grantzu
    @grantzu Месяц назад +1

    2:20 mine doesnt change whenever i edit it while testing how do i fix that

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

    im making a sword game so thx bro W

  • @ryankage475
    @ryankage475 2 месяца назад

    Yo i love ur vids and ive allways wanted to learn how to code but its too hard and now im making minecraft vids love you bro

  • @RM_Nafri
    @RM_Nafri 2 месяца назад +1

    bro no way i was working on the punch combat and i hot done yesterday searching now for a baseball bat combat und you dropped this

    • @NormalisBad
      @NormalisBad 2 месяца назад

      Did you make the baseball bat? Because I made my sword model and imported it into Roblox but it didn’t have a handle or any parts?

    • @RM_Nafri
      @RM_Nafri 2 месяца назад

      @@NormalisBad yes u need thing in the modle handle

    • @NormalisBad
      @NormalisBad 2 месяца назад

      @@RM_Nafri ???

    • @RM_Nafri
      @RM_Nafri 2 месяца назад

      @@NormalisBad i mean in that model there is something like a world in it and u need to name that handle and then u need to position it

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

    Hey vuuk I followed your tutorial and did everything right it works but there are 2 problems first I cant add knockback to the player getting attacked and other is how to add stun to the player when he gets attacked pls answer me ❤

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

      1. add a velocity to the player/npc who you are hitting for a knockback add a ragdoll aswell if you want to
      2. just make a folder in the char that you are hitting, like make sure each char that you are able to hit has this folder, or use attributes, then just make a stun bool and make it false, and make it in the sword script so if the stun bool value is true then he cant attack, so then make it so when you hit the char it makes the stun bool true so he cant hit, make the jumppower and walkspeed to 0 and wait like 0.25 seconds or more depending on your choice, then make it so the stun value is false and the jumppower and walkspeed is back to normal.
      i dont know if you are busy creating a game/doing a commision/trying to learn new things, if you cannot do what i just told you to do then you should give up on this and start with simpler things, adding velocity and bool value and changing bool values and walkspeed and jumpower is very easy and i am assuming you cant do it so i suggest go to something easier and work your way up, but if you can do it then do it, you will be able to add stun and knockback

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

    I would not recommend playing the animations from the last animation, lets say i click once and then wait a little and then click again its going to look wierd since its going too look like your jumping to the next animation... nevermind its diffucult explaining it i am not a animator, but i know how animations work so doing that will resualt in a wierd look unless the player spam clicks then it wont look wierd

  • @TickyROBLOX
    @TickyROBLOX 2 месяца назад

    We're still using your old one, thanks sm! would love if u can help in our game!

  • @JazzyWazzy-jl6pq
    @JazzyWazzy-jl6pq 2 месяца назад

    The best ever

  • @Rellnew-n3r
    @Rellnew-n3r Месяц назад

    Guys, my brothers and I are making maps in Roblox. We make maps, islands, and weapons, but we need a legendary person in the effects there who will make amazing effects. Of course, we don’t have money now. I hope that anyone who can do it will come with us, and as soon as the game opens, we will have Roblox and an admin with us. I really hope that one or two people will be with us for the effects and things ❤️🥀 I am waiting for your response, legends ❤ i Hope that a good programmer message me i will wait realy m'y dream get one now i ne wait legends♥️🥀

  • @RshdAlfa
    @RshdAlfa 4 дня назад

    after I tried it on the PC it worked, but after I tried it on the phone it didn't work, why?

  • @ImGojo2008
    @ImGojo2008 26 дней назад

    W vid

  • @王元豊-n7r
    @王元豊-n7r 11 дней назад

    idk why i at 8:50 there can do idle but when move,the idle gone

  • @Qustresostudios
    @Qustresostudios 2 месяца назад

    This is good

  • @talonaccount
    @talonaccount 9 дней назад

    i have a problem with the hitbox because you can people that are behind you can you say some solution to this problem

  • @PERFECTOsus
    @PERFECTOsus 2 месяца назад

    thank you

  • @SlapperPotato
    @SlapperPotato 17 дней назад +1

    wait, on firsr six minutes, isnt this script correct too? --
    --script--
    local tool = script.Parent
    local scr = tool:WaitForChild("Script")
    tool.Activated:Connect(function()
    print("hi")
    if tool.Activated then
    wait(0.1)
    scr.Disabled = true
    end
    end)

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

    Hey not sure how to use the file off of the discord is there any way it could maybe be explained 😭 its a rbxm file and it wont allow me to open it on my pc do you just drag and drop it onto roblox? That didnt work for me either and when i open it on word its just a bunch of random symbols

  • @_ShadowLord_
    @_ShadowLord_ Месяц назад +2

    When I delete all toolnone my walking animation then stops too. Can someone help?

    • @paper177
      @paper177 27 дней назад

      delete the old animate you edited and change the animationid of the toolnone (not in the script) to zero

    • @paper177
      @paper177 27 дней назад

      and also make sure you aren't getting the animate from an r6 rig if you're using r15 for your game and vice versa

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

      @@paper177 thanks

    • @Its_Yanzi
      @Its_Yanzi 5 дней назад

      @@paper177 how am i supposed to change the animation id to zero not in the script

    • @paper177
      @paper177 5 дней назад

      @Its_Yanzi it's been a while since i last opened studio, but inside the animate script, there's a value named "toolnone" that has the animation of the character holding up the tool. set the id to 0 and it will not play it. reply to this again if im wrong

  • @prethivash.n
    @prethivash.n 11 дней назад

    how did you rotate the katana at the last anim

    • @prethivash.n
      @prethivash.n 10 дней назад

      plz someone reply for me im dying because of the problem plz vuuk help

  • @克曼
    @克曼 7 дней назад

    i didn't see free assets in the discord channel

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

    hey Vuuk the script isnt working idk if i did something wrong but when i mouse click it isnt playing the flash animation any reason why that might be?

  • @sanjugurung6963
    @sanjugurung6963 2 месяца назад

    Can you make a cutscene tutorial like the Omni-directional Serious Punch

  • @Applum84
    @Applum84 Месяц назад +1

    im subscribing to u with like 20 accounts lol

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

    Can u upload a more advance tutorial

  • @--oxide2724
    @--oxide2724 2 месяца назад

    I don't understand where to find your effects in the disk drive, please tell me

  • @Enzo3.0-el4bt
    @Enzo3.0-el4bt 26 дней назад +1

    Gratuit ?

  • @midnightkury
    @midnightkury 2 месяца назад +3

    does anybody else have trouble with the sword not going into your hand and falling through the map?

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

      turn can collide

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

      @ did that but then it just stays on the floor .. can’t do anything further

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

      @ did u name it handle (Handle)

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

      @@BryxoEditing I believe so yes

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

      @ the first letter in caps it should be in a tool and named Handle exactly same

  • @IcyCola-fb2xr
    @IcyCola-fb2xr Месяц назад

    help it keeps interferring with my punching combat system

  • @Kokusen_Master123
    @Kokusen_Master123 2 месяца назад

    When the dummy/character/person is dead i can still hit him, how do i fix that?

  • @Nadia-wh6xv
    @Nadia-wh6xv Месяц назад +4

    script for server handler :
    local plr = game.Players.LocalPlayer
    local char = plr.Character or plr.CharacterAdded:Wait()
    local tool = script.Parent
    local CanUse = false
    local idle = char:WaitForChild("Humanoid"):LoadAnimation(script.Animations.Idle)
    tool.Equipped:Connect(function()
    CanUse = true
    idle:Play()
    end)
    tool.Unequipped:Connect(function()
    CanUse = false
    idle:Stop()
    end)
    local UIS = game:GetService("UserInputService")
    local m1 = char:WaitForChild("Humanoid"):LoadAnimation(script.Animations.M1)
    local m2 = char:WaitForChild("Humanoid"):LoadAnimation(script.Animations.M2)
    local m3 = char:WaitForChild("Humanoid"):LoadAnimation(script.Animations.M3)
    local combo = 0
    local debounce = false
    UIS.InputBegan:Connect(function(i,e)
    if e then return end
    if i.UserInputType == Enum.UserInputType.MouseButton1 then
    if debounce == true then return end
    if CanUse == true then
    print ("Swung")
    if combo == 2 then
    m3:Play()
    debounce = true
    game.ReplicatedStorage.Remotes.Server:FireServer()
    task.delay(1,function()
    combo = 0
    debounce = false
    end)
    elseif combo == 1 then
    m2:Play()
    combo = combo * 1
    debounce = true
    game.ReplicatedStorage.Remotes.Server:FireServer()
    task.delay(.3,function()
    debounce = false
    end)
    elseif combo == 0 then
    m1:Play()
    combo = combo * 1
    debounce = true
    game.ReplicatedStorage.Remotes.Server:FireServer()
    task.delay(.3,function()
    debounce = false
    end)
    end
    end
    end
    end)

  • @LingTYTY
    @LingTYTY 2 месяца назад

    Can u now make a block system with that sword ?

  • @Pancakes-yy6yu
    @Pancakes-yy6yu 2 месяца назад

    Make more sword stuff pls

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

    Why are you dont using Context Action Service?

  • @TainyWainyBrainy
    @TainyWainyBrainy 2 месяца назад

    sure all my movement animations are gone except my idle which I made but its still good

    • @TainyWainyBrainy
      @TainyWainyBrainy 2 месяца назад

      i just realised the hitbox is big..

    • @TainyWainyBrainy
      @TainyWainyBrainy 2 месяца назад

      just saying im commenting while im makin the sword and after I done the knockback script I tested it and it knockbacked only 1 way like when you slash behind the npc it goes a different way

    • @TainyWainyBrainy
      @TainyWainyBrainy 2 месяца назад

      i finished and i just realised i talk too much

  • @yo-lj7ko
    @yo-lj7ko 15 дней назад

    why do the sfx play mapwide

  • @propertrun5202
    @propertrun5202 2 месяца назад

    can we have an fps tutorial?

  • @bleedevv
    @bleedevv 2 месяца назад

    Can you do a blocking system with it?

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

    animations arnt visible to other clients, help

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

    15:55 i write every in this part when i test it does NOT deal damage what should i do

    • @Gummybeaninja100
      @Gummybeaninja100 17 дней назад

      I have same problem idk whats wrong

    • @Gummybeaninja100
      @Gummybeaninja100 17 дней назад

      @RafifBaron I found out the problem for me at least make sure your code looks like
      local size = Vector3.new(9, 9, 9) -- Define the region size
      local region = Region3.new(plr.Character.HumanoidRootPart.Position - size, plr.Character.HumanoidRootPart.Position + size)
      I accidently put a - sign next to the second size.

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

    "Equipped is not a valid member of Backpack" can anyone help me with this?

  • @SashaBorysenko-j6x
    @SashaBorysenko-j6x 2 месяца назад +1

    Bro I suck I can’t make anything as much as I try

  • @teerayuth-u5x
    @teerayuth-u5x Месяц назад

    why is it not working in mobile?

  • @gsstsported3810
    @gsstsported3810 2 месяца назад

    why my sword not in my hand but it drop out of the world 2:00

  • @IamBrokenWatch
    @IamBrokenWatch 26 дней назад

    My animation wont play for some reason

    • @apriljessie
      @apriljessie 21 день назад

      have you set the priotity of it to "action"?

  • @UrFada
    @UrFada 2 месяца назад +20

    No Hate. but why upload another low quality combat system video, this is just bad, You can 100% do better

    • @Enzo._amz
      @Enzo._amz 2 месяца назад +5

      Tutorials are meant to give you a basic understanding not be good

    • @ShwiftyProds
      @ShwiftyProds 2 месяца назад +10

      @@Enzo._amzwhat kind of logic is this. Vuuk has “7 years of experience “ he should be dropping MUCH more complex things. Thus guy doesnt even use OOP😂😂😂

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

      @ShwiftyGamz legit my point, I am sure his a better scripter than me, so it's annoying the dog shi he uploaded

    • @UrFada
      @UrFada 2 месяца назад +1

      @KILOG202 We already have enough of this kind of tutorial that offer a "basic" understanding, doesn't mean low quality we can offer a tutorial that teaches us with high quality go check AmPro or SuphiKanar

    • @Enzo._amz
      @Enzo._amz 2 месяца назад

      @ if I remember correctly your watching his successful video who are you to say what he should be doing

  • @soniaashwin3058
    @soniaashwin3058 2 месяца назад

    can you add the script in the chat for non scripters please

  • @cryptic2742
    @cryptic2742 2 месяца назад +5

    Do you drop low quality scripts on purpose, so people have to buy your courses? Is it some kind of tactic because with how many years of experience you have, your scripts shouldn't look like that. Who uses reigon3 in combat? Why are you still using pairs? Why do you name variables single letters like 'i' and 'e' when you know it's a terrible practice to be teaching newer coder? Where is your use of things like tables?

    • @vuukstudios7635
      @vuukstudios7635  2 месяца назад +3

      @@cryptic2742 If you are so good why are you not dropping videos? Probably because you are subscribed to me and watch all my tutorials.
      This is a simple combat system, if you want to learn more advanced things then join the academy. Why do you have to over complicate the code if it’s not needed? 💀 If you know so much.

    • @emileecacal8454
      @emileecacal8454 2 месяца назад

      @@vuukstudios7635 Honestly I was interested in your videos and then saw how you handled this comment. Instead of handling this genuine question like an adult you attacked them. You're immature and you're trying to teach others low quality BS, do better.

    • @cryptic2742
      @cryptic2742 2 месяца назад +1

      @@vuukstudios7635 I have made and know more advanced things, I watch tutorial content because I find some of them enjoyable, I'm not a youtuber but if I were, I'd be disappointed in myself if I posted this. ' if you want to learn more advanced things then join the academy' *so it is a tactic to get people to join?* That's really sad but I guess it's all about the money

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

      @ This is perfect for teaching beginners how to make a combat system fast so they can enjoy it and play around with it, if you want to spread negativity go somewhere else.

    • @vR4zen
      @vR4zen 2 месяца назад

      Quit whining kid

  • @Devixia.
    @Devixia. 25 дней назад

    Can y’all give me the scripts?
    I’m sturgling

  • @PhuongNguyenMinh-ug5xq
    @PhuongNguyenMinh-ug5xq 2 месяца назад

    W video, u help me alot bro

  • @R_SilverKnight
    @R_SilverKnight 2 месяца назад

    stop using pairs already its 2025... I am a time traveler

  • @Sandgaming47-w4b
    @Sandgaming47-w4b 2 месяца назад

    idk why but 8:27

  • @Seqzfn
    @Seqzfn 22 дня назад

    i can not se

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

    bros a yapper

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

    bro u too fast…

  • @Diole1225
    @Diole1225 2 месяца назад +1

    Hello, i need help, in leaderstats script:
    local leaderstats = Instance.new("Folder", player)
    The word "player" is underlined and it says -returns an instance of the specified class-
    Then under it, it says -Optional object to parent the new instance to-

    • @Diole1225
      @Diole1225 2 месяца назад +1

      Just to say i commented on this video in hope someone knows how to fix my coding mistake if someone i still unable to tell me what i did wrong i can paste the full script so you can see the whole thing and tell me whats wrong. I really need help

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

    game.ReplicatedStorage.Remotes.Server.OnServerEvent:Connect(function(plr) task.wait(.25) local size = Vector3.new(9,9,9) local region = Region3.new(plr.Character.HumanoidRootPart.Position - size, plr.Character.HumanoidRootPart.Position + size) local partsInRegion = workspace:FindPartsInRegion3(region, nil, math.huge) local hit = false for _, part in pairs(partsInRegion) do local character = part.Parent if character and character:FindFirstChild("Humanoid") and character.Name ~= plr.Name then if hit == true then return end hit = true local humanoid = character:FindFirstChild("Humanoid") humanoid:TakeDamage(5) game.ReplicatedStorage.Remotes.ClientReplicator:FireAllClients(character,"Slash") end end end

  • @number8johnson567
    @number8johnson567 2 месяца назад

    Can you show us how to make a health and stamina bar system?