Это видео недоступно.
Сожалеем об этом.

How to make a hold animation in Roblox studio / Roblox scripting tutorial

Поделиться
HTML-код
  • Опубликовано: 26 авг 2022
  • web.roblox.com...

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

  • @extramangos2578
    @extramangos2578 Год назад +59

    “I just used a stick because I said so” Legendary reasoning for a chad.

  • @alussk
    @alussk Год назад +24

    I been trying to find a good tutorial for this, and all of them made no sense, somehow this kid made more sense then anyone else. Thank you

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

      Np

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

      @@WelshiOnYT yeah even though he has a bad mic i understood everything perfectly thanks man

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

      @@glode1726 np

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

      @@glode1726 i already fixed the mic problem. thanks

  • @van6046
    @van6046 Год назад +18

    spent around 3 hours looking for a tutorial that helped me do this. You're a lifesaver. I'm totally subscribing

  • @W31RD0.mp4
    @W31RD0.mp4 10 месяцев назад +3

    my left ear absolutely loved this

    • @WelshiOnYT
      @WelshiOnYT  10 месяцев назад +3

      yeah my mic fuckng sucks

    • @W31RD0.mp4
      @W31RD0.mp4 10 месяцев назад +3

      @Zach777NFSMW record the audio in audacity and export the file as a mono file

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

      my right ear absolutely hated this (its fine tho, i understand, lol)

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

    you saved me cuz the other guy script got outdated and till i found this vid it work also you earned a sub!

  • @byetothischannel
    @byetothischannel 7 месяцев назад +1

    thanks so much, im making a gun game sort of and i need this for a certain weapon.
    YOU ARE A GODDDD!

  • @SootiestArc
    @SootiestArc 7 месяцев назад +5

    This is amazing! I managed to do tons of stuff with the help of this video. Thanks!

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

    tysm helped me i tried the to search but you are the only one that helped

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

    my left ear is enjoying this

  • @ZachXT1
    @ZachXT1 11 месяцев назад +1

    Yo bro we got the same nice, also bro this video is amazing and helped me so much tysm man I subbed

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

    yo tysm for this tutorial this help me alot

  • @desktopokuy
    @desktopokuy 26 дней назад +1

    Help, when I equip another tool, the holding animation of the previous tool I equipped is still playing, how can I fix this?

    • @WelshiOnYT
      @WelshiOnYT  26 дней назад +1

      it's just the testing being unstable, if you join the game through roblox player, it should be fixed

  • @gamerdoge_real
    @gamerdoge_real 7 месяцев назад +1

    thank you bro your a life saver

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

    Help, in studio it goes fine but in roblox the animation doesn't play

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

      try publishing the game and olaying it through there

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

      @@WelshiOnYT didn't work

  • @Core-vhs
    @Core-vhs Год назад +2

    thanks bro u saved my time actually

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

    Me literally holding a baby with straight hands*

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

    BRO YOUR A LEGEND THANKS ALOT!

  • @ziad6149
    @ziad6149 11 месяцев назад +3

    It's working when I test it on the studio but doesn't work when I test it in the main game, any help?

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

    Thanks man helped a lot i know this vid old but still helped

  • @TimelapseWTO
    @TimelapseWTO 5 месяцев назад +1

    Thank you so much man

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

    good video!!!😀😀😀

  • @magicbroom42
    @magicbroom42 Год назад +6

    It is very surprising to find a Russian/Ukrainian dev that makes tutorials, i'm Russian, also, thank you, this helped, good luck (;
    upd: i've got an issue, when i change the item to an other item the animation stays, and doesnt disappear, how can i fix this?

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

      Idk. Coding in Roblox is werid
      Edit: im not a dev, more like a dev that gave up on this $h!t

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

      @@WelshiOnYT Not at all, coding In roblox If English Is your first language Is quite easy. Lua Is the easiest language besides using code blocks.

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

      @@conquestinc my first language isn't English but it's still easy, mainly cuz I'm fluent. B)

    • @matheus_-jo4vm
      @matheus_-jo4vm 7 месяцев назад

      Hey man I know it's been 11 months since you've commented but no one responded, so here you go, but this in the end of your code:
      script.Parent.Unequipped:Connect(function()
      if AnimationTrack.IsPlaying then
      AnimationTrack:Stop()
      end
      end)

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

      No worries, i already figured it out, i've gotten some experience, i replaced the piece of code with my own piece. Thank you anyways!@@matheus_-jo4vm

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

    I like how you got that 2019 intro Cheers to that🙂

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

      u mean 2019 intro, Cheers to that

    • @Rixxles.
      @Rixxles. Год назад

      @@Deity0000 Shut up, you don't gotta be so rude

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

      @@Deity0000 You mean; 2019 intro, cheers to that. Please, Before commenting on someone's grammar, fix your own.

    • @soda.rain_
      @soda.rain_ Месяц назад

      @@ChristMaxxers You mean: YOU mean "2019 intro, cheers to that." Please before commenting about someone else's grammar, fix your own.
      By the way, "u" is just an abbreviation, of course this guy know how to type "you", so you should not criticize him for something so common nowadays.

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

      @@soda.rain_ bro reread everything, i only said that cuz he corrected the guy from the original comment

  • @user-uv7kz2qk2g
    @user-uv7kz2qk2g День назад +1

    how to make it unaffected by walking?

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

    Amazing video!

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

    Ay thanks man with was very helpful

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

    This helped me a lot thank you :)

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

    i don't know if you can read this but the script works. tho it does the same holding animation to the other tools and i don't really want it to be the same animation hold. as i need to sperate it from the other tools so that i can make the other tools custom holding animations. i hope you can tell or help on how to sperate it.

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

    ive been trying this for hours for some reason the equipped function wouldnt work so I had to come to youtube

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

    tysm bro, you helped me a lot!!!!!!

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

    thank you for this. that earned you a subscriber!

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

    Everything works, but when it overlaps with the animation it doesnt exactly work right. Heres my problem, it works but the arm is out of place even tho i animated it. How do i fix it?

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

      go back on the animation you made click the three dots and set the prioity to action, then save it. it should not overlay

  • @Dum-e-360
    @Dum-e-360 10 месяцев назад

    Intro music is so dam bass boosted💀💀

    • @WelshiOnYT
      @WelshiOnYT  10 месяцев назад

      nah ur speakers suck

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

      @@WelshiOnYT bro is cold like that 💀💀🔥🔥🔥

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

    my left ear really enjoyed this video

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

    my left ear: 😊 my right ear: 💀

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

    The moment my roblox updated the animation within the script wont work and the animation i played where made by me so it should have worked.

  • @Connor-mo4ko
    @Connor-mo4ko 16 дней назад

    how can I do this when a player is in a seat? I tried doing this but the animation wont change while the player is in a seat

  • @gameswitheli
    @gameswitheli 9 месяцев назад

    The intro broke my ears

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

    Hey, I also made my pfp in Blender, I think you did too. YAYA!

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

      Nah, I'm too dumb for that. I used mine imator, but it's great that you figured it out!

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

    mine equips for half a second then stops :/

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

    Man finally something for my lazy@ss brain to understand thank you bro

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

    this video was reallly useful

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

    bro its so simple why did it take me five years to find an answer for it
    thanks so much i dont subscribe to anyone but ill give u a like W

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

    AMAZING! You earned a sub, but there is a slight delay.

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

      thanks! and for the delay that's normal

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

      @@WelshiOnYT Should we change the animation priority because when I move, my hand is shaking a lot and it doesn't look good.

    • @matheus_-jo4vm
      @matheus_-jo4vm 7 месяцев назад

      did you found the answer?@@realTLB

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

    thanks bro it worked perfect

  • @BentoWav
    @BentoWav 9 месяцев назад +2

    how do you make it so that it only gets the custom hold once activated (clicked when holding model) and have a different animation before activated

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

      You need a tool activated function to activate the animation instead of making it always helf like that

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

    WOW IT ACTUALLY WORKS!! TYSM

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

    3:10 BoOm 😂

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

    wow bro controled the speakers in my laptop

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

    my left ear found this video extremely helpful 😍

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

      yeah. for some reason my audio was all mono but the track was stereo and i didn't know at the time of the editing. hope i atleast helped!

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

    No way its still alive! Thank you guys so much!

    • @mr.flowerflavor4356
      @mr.flowerflavor4356 Год назад

      Can you pls send me the script

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

      @@mr.flowerflavor4356 local Tool = nil
      local animScript = nil
      script.Parent.Equipped:Connect(function()
      Tool = script.Parent
      animScript = Tool.Parent:WaitForChild("Animate")
      animScript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
      animScript.toolnone.ToolNoneAnim.AnimationId = "www.roblox.com/asset/?id=10709259512"
      end)
      script.Parent.Unequipped:Connect(function()
      animScript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
      animScript.toolnone.ToolNoneAnim.AnimationId = "www.roblox.com/asset/?id=10709259512"
      end)

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

      @@WelshiOnYT thanks

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

      @@WelshiOnYT neither of them work anymore can you help? or make a updated version?

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

    Im trying to make a game your a life saver

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

    my left ear enjoyed this video very much

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

      idk why. that mic that i used is dead

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

      @@WelshiOnYT Lol. Thank you for your help in this video though!!

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

    F@$kin' no way. ITS GOING TO 1K!!!!

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

    Quick question, how could I make this animation only play while I'm idle?

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

    this was helpful but it keeps shaking when i walk and its annoying

  • @hoanggamer-M.E.G-
    @hoanggamer-M.E.G- 9 месяцев назад +1

    --Script animation
    local Tool = nil
    local animScript = nil
    script.Parent.Equipped:Connect(function()
    Tool = script.Parent
    animScript = Tool.Parent:WaitForChild("Animate")
    animScript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
    animScript.toolnone.ToolNoneAnim.AnimationId = --Your animation id here

    end)
    script.Parent.Unequipped:Connect(function()
    animScript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
    animScript.toolnone.ToolNoneAnim.AnimationId = --Your animation id here
    end)

    • @evanpro1973
      @evanpro1973 9 месяцев назад

      why didnt it work ):

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

      doing gods work fr thanks man

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

    WWWW I LOVE TYOU SO MUCH

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

    idc if this was a year ago thank u so much

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

    Thanks bro you are awesome

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

    No way it still works in 2023 thx

    • @WelshiOnYT
      @WelshiOnYT  9 месяцев назад

      it's a pretty simple script, i don't understand why it wouldn't

  • @AidynLEONARDO5
    @AidynLEONARDO5 13 дней назад

    THANK YOUIUUUUU BRROOO

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

    Can i use it for my game or do i have to credit you?

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

      You do not have to credit me.

  • @mr.trickystudio
    @mr.trickystudio 11 месяцев назад +1

    w kid

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

    Helpful Video

  • @mega-god1
    @mega-god1 Год назад +1

    THANK YOU SO MUCH! You helped Alot, You earn a sub

  • @mr.trickystudio
    @mr.trickystudio 11 месяцев назад

    thank you so much

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

    my left ear loved this video!!!

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

    w :) intro lol

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

      thx! sadly, i lost it.

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

    It works for like a second, then the animation goes away idk how to fix it

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

    W video!

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

    Very helpful

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

    i cant select my tool while animating

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

    so it worked but uhh my arms snd hands kind of wiggle back and forth like theyre clapping,what so i do

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

    bro it works thx

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

    please copy and paste the script and send it here pls

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

    Thanks

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

    How to make animation

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

      Go into avatar - animation editor, select a dummy, and make it

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

    YO tysm it works

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

    it does not work for me even if I follow all :(

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

    My problem is so i equip my tool, then i equip another tool without unequiping the previous for example, pressing one on my keyboard to equip the first tool and then pressing two on my keyboard to equip the second tool and both have diffirent holding animations, but theye dont switch animations until i unequip and then equip again... so yeah how do i fix it?

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

      that's lag

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

      ​@@WelshiOnYT No it is not i have a very good computer it cant be because of lag

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

      @@Gabbe211 roblox test mode is glitchy

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

    bro the hold animation works on EVERY TOOL in the game please help how do you fix this????

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

    Can you do an inactive one please?

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

    tysmm

  • @llmichelle.4041
    @llmichelle.4041 2 месяца назад

    comment down
    the script please

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

    i would of watched this if it weren't for the sound that's targeting my left ear.

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

      my mic died the 659th time. i understand why that happens

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

    thanks man

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

    its not working now i tried it almost like 20 times and my animation won't load now

  • @rapscalliana
    @rapscalliana 10 месяцев назад

    Actually worked!

  • @stealth_chan
    @stealth_chan 9 месяцев назад

    hi thank you that helped me but i still have a question, how do i make it holds different items different?

    • @WelshiOnYT
      @WelshiOnYT  9 месяцев назад

      it should work like that

    • @stealth_chan
      @stealth_chan 9 месяцев назад

      @@WelshiOnYT really? Then can you please do a tut how to make hold animation only for one item and other items will be holden different

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

    just make an anim then put the id in an animation then make it load the anim on the humanoid its dead ez you just went a bit to far

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

    i have a question why when i do it, it does it for all my tools

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

    TYSM YOUVEARNED A SUB 👍

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

    Bro you just saved me

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

      no you saved me from poverty

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

    Do you know what to do if you have separate walking and idle anims? I placed the walking anim in but it only plays idle

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

      they're supposed to merge

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

      are you altering the leg animation?

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

      @@WelshiOnYT No i have separate idle and walking animations, the walking is completely different from the idle

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

      @@Hemorrhoideries is your hold animation changing the leg positions?

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

      @@WelshiOnYT No

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

    Nice it works but it lasts like three seconds then ends and I need to re-equip it

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

      check if there's a different animation script

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

      @@WelshiOnYT sorry i have the same problem what do mean by checking if there is a different animation script?

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

      @Zach777NFSMW I fixed it dw , you need to loop the animation in order for it to work

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

      @@theon1y183 great!

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

      how do i loop the animation?

  • @toast-tn8ix
    @toast-tn8ix 9 месяцев назад

    thank you man

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

    thx i made it in roblox studio

  • @2_art
    @2_art Год назад

    dosen't really work for me either, maybe because my animation is in R6???
    please try it in R6 to see if its something on my end

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

      try going into the game settings and change the character type from r15 to r6

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

    thx!