How To Make Weapons Like A Pro | Roblox Studio

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

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

  • @Shiuzee
    @Shiuzee 3 месяца назад +35

    Okay so, if anyone is having problem with the weapon not being on your hand when you play even though you followed the steps. Just make sure that your game is saved then go to File(top left corner) > Game Settings > Avatar then set the avatar type to r6 if you use the model like in the video. (Make sure to save your changes)

    • @Mk-.
      @Mk-. 3 месяца назад +5

      Or just make a repeat loop that repeats until part0 is not nil and you can use r15 and any character you want. Don't always take the easy way since the final product will be worse. 🧀🧀🧀

    • @Shiuzee
      @Shiuzee 3 месяца назад +4

      @@Mk-. I just wanted to answer their questions simply, because this is a beginner tutorial and telling them to make loops that they don't know about will just make them even more confused on what to do. Yes, they could watch tutorials for that but them learning on their own mistakes is what makes people want to code because of the boost that you get knowing that you fixed something on your own. But sure your answer is valid and could help others that know a bit about coding. It's just me trying to help those who doesn't know what to do and to do it in a simple way for them to grasp easily.

    • @Mk-.
      @Mk-. 3 месяца назад +3

      ​@@ShiuzeeYour comment actually helped me because then I knew it wasn't my code, but something else. Turns out that some r15 characters load longer than others. To fix this, you just make a simple repeat loop until part0. Also I have a feeling that some r6 characters will also load longer, and people with lag will not be able to play if you choose the simple option. Even if you don't know how to make a really basic and simple repeat loop, you should atleast put a wait(0.1) which might help a little. 🧀🧀🧀

    • @3u-n3ma_r1-c0
      @3u-n3ma_r1-c0 28 дней назад

      @@Mk-.
      shouldnt this be a nonexistent issue b/c the script in the video only runs when the character is loaded? the game wont try to set the weapon position until your char exists.
      is there some niche bug with CharacterAppearanceLoaded?

    • @joeperchance
      @joeperchance День назад

      still doesnt work

  • @link5069
    @link5069 Месяц назад +4

    BRO u explained everything TOO well like not even a single thing was confusing keep it up man hope all ur games blow up

  • @ultragjl1976
    @ultragjl1976 3 месяца назад +217

    drake is done for 💀kendrick's song is background music in roblox developing videos now
    120 likes lol

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

      Thata funny icl 💀💀💀

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

      @@Fujui lol

    • @Asion0tt-nv2nw
      @Asion0tt-nv2nw 3 месяца назад

      @@ultragjl1976 lol

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

      @@Asion0tt-nv2nw lol

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

      @@Asion0tt-nv2nw lol

  • @braedenwalker6414
    @braedenwalker6414 3 месяца назад +9

    Been waiting for a good vid like this!

  • @IZAK_V45
    @IZAK_V45 3 месяца назад +5

    I was like, Hmm I wonder how on earth i will make weapons for a game im thinking of making and you just manifested when I looked it up, you explain it so well too, you earned yourself a sub, and a recurring viewer

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

      Thanks for the sub fam, I’m happy to help :]

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

      @iamLudius I'm happy to be a subscriber, you deserve more attention for the helpful deed you provide 🙂

  • @llebenlle
    @llebenlle 3 месяца назад +7

    i like the way you explain stuffs

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

      I’m just happy to help man. Also thanks for the comment :]

    • @randombush3031
      @randombush3031 Месяц назад +3

      @@iamLudiusthink he’s being sarcastic

  • @grenadeoftacosss
    @grenadeoftacosss 3 месяца назад +6

    you are a lifesaver, tysm!

  • @pugplayz4089
    @pugplayz4089 3 месяца назад +20

    local plrs = game:GetService("Players")
    local rs = game:GetService("ReplicatedStorage")
    local weapon = rs:WaitForChild("Weapon")
    plrs.PlayerAdded:Connect(function(plr)
    plr.CharacterAppearanceLoaded:Connect(function(char)
    local rightArm = char:FindFirstChild("Right Arm")
    local clonedWeapon = weapon:Clone()
    clonedWeapon.Parent = char
    local handle = clonedWeapon:FindFirstChild("Handle")
    local cframeValue = clonedWeapon:FindFirstChild("Value")


    local motor6d = Instance.new("Motor6D")
    motor6d.part0 = rightArm
    motor6d.part1 = handle
    motor6d.C1 = cframeValue.Value
    motor6d.Parent = handle
    end)

    end)

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

      You the goat :]

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

      @@iamLudius lol didnt excpect this xd

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

      wow i mispelled every word

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

      it should be capital P in part0 and part1 or it wont work

  • @MsBeccajoy
    @MsBeccajoy 19 дней назад +4

    "how to make weapons like a pro" "okay first set up your weapon"

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

    Nice video, keep it up!

  • @KadenZook-pw2qt
    @KadenZook-pw2qt 3 месяца назад +6

    THANK YOU SO MUCH

  • @vrfrenzy8451
    @vrfrenzy8451 3 месяца назад +12

    you absolute LEGEND, I have been making a punching system and I've been wondering how I add weapons, ty

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

      Yeah, I say that too to this helper!

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

    Bro i have 5 years experience and u help me a lot ty (for the cframe value, thats a thing i didnt know)

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

    pls make more videos on weapons, ur rlly good at explaining things

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

    part 2 is exactly what i need i hope he reachs that much likes

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

      Part 2 is out now :]

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

    0:00 great background music

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

      I know right? Jajajajaja

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

      this song is so trash bro

  • @Staze7
    @Staze7 6 дней назад

    If the weapon doesn't spawn in your hand try replacing ("Right Arm") with ("RightHand")

  • @obitouchiha-uy5qt
    @obitouchiha-uy5qt 3 месяца назад +4

    Can't wait for part 2

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

      Already out :]

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

    ty

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

    Another W vid!!

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

    Dude, your insanely helpful, for around a week ive been trying to animate a rig with a sword, you just explained it thanks. Also what is that rig texture how can i use it?

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

      its called a rig texture and ill find the shirt and pant ids or maybe ill just make a model for u
      edit: its called a rig TEMPLATE texture

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

      it got deleted

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

    thankyou ludius

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

      Happy to help :]

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

    I always used weld constraints.. no wonder my animations never worked properly in studio..

  • @3u-n3ma_r1-c0
    @3u-n3ma_r1-c0 28 дней назад +1

    did you use a pitchshifted SAO alicization song in your intro segue..?

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

    guys there is the some code but includes sheat:
    local plrs = game:GetService("Players")
    local rs = game:GetService("ReplicatedStorage")
    local weapon = rs:WaitForChild("Blade_katana")
    local sheat = rs:WaitForChild("Blade_Sheat")
    plrs.PlayerAdded:Connect(function(plr)
    plr.CharacterAppearanceLoaded:Connect(function(char)
    local rightArm = char:FindFirstChild("Right Arm")
    local Torso = char:FindFirstChild("Torso")
    local clonedWeapon = weapon:Clone()
    local clonedSheat = sheat:Clone()
    clonedWeapon.Parent = char
    clonedSheat.Parent = char
    local handle = clonedWeapon:FindFirstChild("Handle")
    local sheathandle = clonedSheat:FindFirstChild("SheatHandle")
    local cframeValue = clonedWeapon:FindFirstChild("Value")
    local SheatCFrameValue = clonedSheat:FindFirstChild("Value")
    local motor6d = Instance.new("Motor6D")
    motor6d.Part0 = rightArm
    motor6d.Part1 = handle
    motor6d.C1 = cframeValue.Value
    motor6d.Parent = handle

    local motor6d = Instance.new("Motor6D")
    motor6d.Part0 = Torso
    motor6d.Part1 = sheathandle
    motor6d.C1 = SheatCFrameValue.Value
    motor6d.Parent = sheathandle
    end)
    end)

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

    Unrelated question but what is the music you used during the begining of part 3 it slaps
    (also thx man very cool 👍 tutorial)
    but for some reason idk why it might be my model but i cant animate it its like as if it was welded on to the hand idk why
    edit: nvm i fixed it

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

    WHERE WE YOU WHEN I WAS MAKEİNG ANİMATİON TY MY GUY MY FRİEND MY SAVİOR

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

    You saved my life.

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

    waiting for part 2

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

      It’s out now :]

  • @sscgoatprodz
    @sscgoatprodz 23 дня назад

    MUSTARD ON THAT BEAT HOO

  • @Roxy0.1
    @Roxy0.1 4 дня назад +1

    My brain is burning

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

    are there atlternatives for moon animation? it cost money

  • @MrQusays
    @MrQusays 3 месяца назад +4

    you bro. YOU come always at the corrcet time, let's marry bro

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

      so forward 😭

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

      I’m always listening…

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

    hi :3 UwU

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

    can u maybe make a tut on how to make slots ui for our fighting sytles

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

    The weapon is just spawn besides me and falling instead of in my hand what do i do, its not attached to me whatsoever

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

    Nooo I was late to a luduis video 😢

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

    Im so sorry for watching the video so late don't worry Ill make up the 13 hours by gooning

  • @sirmonke8946
    @sirmonke8946 День назад

    After following the steps in this video (coincidentally, with the same sword model as well), when I try to actually animate the rig in Moon Animator, the sword has its position and rotation pivoted around the right arm instead of the handle. Is this how it's supposed to be? The animation turns out fine in the end, but I'm wondering if there's a way to fix this or work around it, since it's really annoying.

    • @sirmonke8946
      @sirmonke8946 6 часов назад

      I found a solution: When animating, swap the values of C0 and C1 in the Motor6D, except with opposite signs (i.e. if C1 position is 0,1,0, then make C0 positon 0,-1,0). This does not change how it looks and makes animating it easier.

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

    call me crazy but is that a new ludius original at 0:47? 😳

  • @i_elemental2189
    @i_elemental2189 3 дня назад

    Im a literal noob trying to follow this guide. I got it working but the hammer appears in my arm as a rock solid piece of weaponry pulling me to the 'coordinates' of the CFrame values I adjusted earlier. Not really sure how to make the weapon not pull me to a stuck weapon position

  • @Glitching_light-k7b
    @Glitching_light-k7b 3 месяца назад +1

    Im downloading stodio right now

  • @cearelninja5811
    @cearelninja5811 19 дней назад

    My weapon is just a brick that shoots bullets, so i dont need a handle

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

    Trying to make something similar to slap battles but with bats and advanced fighting moves

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

    Combine this video with that one about hitboxes

  • @connor-p6t
    @connor-p6t 12 дней назад

    hey uhhhh it used to work but now it doesent. (for animating) The body teleports to the weapon, and then the animating breaks. can anyone help me with this?

  • @JonathanArias-x3z
    @JonathanArias-x3z 28 дней назад +1

    it works but only for my dummy not for the actual player and i did everything correctly

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

    day 1 of asking ludius to personally teach me how to script

  • @ContaSecundaria-t9r
    @ContaSecundaria-t9r 2 дня назад

    Oi, eu sou brasileiro e não sei se você vai ler ou entender esse comentário, mas se for eu quero te agradecer, eu conheci seu canal já aprendi várias coisas novas, e sim, saiba q você é conhecido internacionalmente, valeu denovo e falou!!!

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

    great video

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

    I did this but the sword is still in the dummies hands and only moves in the dummies hands
    pls help

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

      Check part 0 of the motor6d and make sure it’s set to the torso, I hope this helps. U may join the discord server if you want more help with this. I hope this helps tho :]
      Also thanks for the comment!

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

      ​@@iamLudius I keep spawning inside the dummy what I used to set up the sword I have no idea what happened

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

    when ludius makes weapons it makes me act up...

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

    why my sword isnt moving in moon animator :(

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

      You probably attached it wrong, check the motor6D, make sure the weapon’s not anchored as well.
      Also thanks for the comment :]

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

    I followed the steps and at the end when i press play its nowhere to be seen, is anyone else having this issue? :(

    • @Hamborgier
      @Hamborgier 8 дней назад

      it was probably un anchored and had collisions off, causing it to fall through the baseplate

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

    Bro, there's no way ur using that song in the introduction of ur video lmao

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

    Bro I went to go turn this on my TV to find out the top of the screen is shattered

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

      Damn… thanks for the comment tho :]

  • @Ameon_1
    @Ameon_1 28 дней назад

    why is the scripting accelerator so expensive

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

    Is it possible to make it so when instead of multiple people being given the weapon when spawning instead it's only 1 specific player?

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

      You can use an if statement and a variable to define who gets the weapon. Like
      if plrowns == true then
      --- rest of the code after characteradded
      end

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

    HOW DO I LOAD THE ANIMATION?? IT DOESNT JUST WORK(I GOT MY SWORD IN MY HAND BUT I CANT LOAD THE ANIMATION)(its an idle animation)

  • @connor-p6t
    @connor-p6t 2 месяца назад +1

    It doesent work. It says "Error(s) Detected with rig. The following parts are affected by mupltiple Motor6D"s. Right arm." Can someone help me with that?

    • @3u-n3ma_r1-c0
      @3u-n3ma_r1-c0 28 дней назад

      make sure rightArm is part0..? idk tbh

  • @Eli-ug5hs
    @Eli-ug5hs 3 месяца назад

    I was wondering how would I do this for a tool?

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

    when I make the animation, the weaponis rotating around the center of the arm.

  • @2049_dev
    @2049_dev 3 месяца назад +4

    bro where tf is part 2 😭

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

      It’s out now :]

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

    Why do you have to add another motor if their one already in it?

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

    would it still work if it was a mesh?

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

    how to weld

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

    part 2 is the same as part 1, except its a different action lol

  • @potato-0uy
    @potato-0uy 3 месяца назад +1

    THATS IT?
    JUST PUT 1 MOTOR 6D?
    I SPENT DAYS FINDING A WAY TO ADD A THRUST TO MY SWORD
    AND THIS WAS ALL I HAD TO DO?

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

      Yessir, I hope it helps :]
      Also thanks for the comment :]

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

    HOLD LET HIM YAP!!!

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

    First

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

    whats inside input manager

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

    my motor6d wont even let me choose the part0 and part1 after i turned the handle and sword to massless. it let me before i turned the sword and handle to massless but it didnt go to the arm. idk what happened

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

      ok i fixed the problem with it not letting me choose the parts. but now it still wont go to the arm?

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

      fixed it

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

    what do i do if the weapon is attached to the rig i animated with

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

    why every time i set player to r6 when i test my avatar stay in r15?

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

    can you make it so that the weapons show in first person?

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

    How do I make it so that if a character has a certain value, the value is what decides which weapon is which?

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

    LIKE A PRO

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

    9 minutes more of gooning

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

    whaat the input manager

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

    why doesnt the weapon appear in my hand

  • @WillMM2RBX
    @WillMM2RBX 3 месяца назад +4

    What did he say had to be true at 1:54 in the video I couldn’t understand the word sorry:(

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

      I said “massless”.
      Thanks for the comment :]

  • @Kvixo-p2l
    @Kvixo-p2l 27 дней назад

    where do i get the motor 6d

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

    my weapon ain't swninging bruh help

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

    why is the animation not working.

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

    How do I set up sword?

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

    Following tut 6:09

  • @Asion0tt-nv2nw
    @Asion0tt-nv2nw 3 месяца назад +1

    where dat vid pooks

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

      Already out :]

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

    That shi didnt work but I finna try again thx mane

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

    Is it possible to make the weapon into a tool instead?

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

    Luduis Im Not The Hacker :)

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

      Sureee…

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

      @@iamLudius Donated 50 Rbx To Your Game

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

    So bad at everything I get stuck on step 1 🙃

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

    so anyone know how to insert the attack animation?

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

    Say drake..

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

    How m1s though

  • @cenn2
    @cenn2 3 месяца назад +4

    still visting your grave every week bro, these AI videos always cheer me up a little though🕊

    • @Tvpco.
      @Tvpco. 3 месяца назад +3

      Stop dragging on the joke bruh its literally been years
      unfunny as shit

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

      @@Tvpco. it HAS been years since ludius passing, and you thinking its a joke is deeply offending to his memory. please remove your comment

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

      @@cenn2 😐

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

      Extremly cringe

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

      @@youraveragefamousjobless328 u are cringe

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

    mless wtf

  • @Lucas-xt1ic
    @Lucas-xt1ic 15 дней назад

    It's not related to the video the walkspeed of the player? for some reason this keep happening to me : Walkspeed is not a valid member of Humanoid "Workspace.Lucas_Tiro.Humanoid"

    • @Lucas-xt1ic
      @Lucas-xt1ic 15 дней назад

      How can i change the walkspeed of the player?*

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

    iwh824

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

      Thanks for the comment :]

  • @dinossaurotop2.148
    @dinossaurotop2.148 3 месяца назад +1

    local plrs = game:GetService("Players")
    local rs = game:GetService("ReplicatedStorage")
    local weapon = rs:WaitForChild("Weapon")
    plrs.PlayerAdded:Connect(function(plr)
    plr.CharacterAppearanceLoaded:Connect(function(char)
    local rightArm = char:FindFirstChild("Right Arm")
    local clonedWeapon = weapon:Clone()
    clonedWeapon.Parent = char
    local handle = clonedWeapon:FindFirstChild("Handle")
    local cframeValue = clonedWeapon:FindFirstChild("Value")
    local motor6d = Instance.new("Motor6D")
    motor6d.Part0 = rightArm
    motor6d.Part1 = handle
    motor6d.C1 = cframeValue.Value
    motor6d.Parent = handle
    end)
    end)
    BRO WTH IS WRONG WITH THIS SCRIPT