How To Make an M1 System | Roblox Studio

  Рет қаралды 71,646

Ludius

Ludius

Күн бұрын

Пікірлер: 561
@TeleVision-ho3cy
@TeleVision-ho3cy 4 ай бұрын
LOVE IT! Theres barely any tutorials that explains each line of codes, and actually helps you understands instead of making it boring, its more fun since in your eyes its not just a bunch of words together its an actually system that works together to make it work
@urosdoesstuff6163
@urosdoesstuff6163 21 күн бұрын
i dont see anyone pasting the M1 script so here: local bindableFunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationsFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local localPlr = plrs.LocalPlayer local char = localPlr.Character or localPlr.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerformed = 0 local currentM1 = 0 local m1Debounce = false local comboEndCooldown = 2 local waitBeforeReset = 0.5 bindableFunction.OnInvoke = function(actionName, inputState, inputObject) if not m1Debounce then m1Debounce = true m1sPerformed = m1sPerformed + 1 currentM1 +=1 local correspondingM1Anim = rsAnimationsFolder:FindFirstChild("M1 ("..currentM1..")") local m1Track = animator:LoadAnimation(correspondingM1Anim) m1Track:Play() task.wait(m1Track.Length - 0.1) task.spawn(function() local oldM1sPerformed = m1sPerformed task.wait(waitBeforeReset) if oldM1sPerformed == m1sPerformed then currentM1 = 0 end end) if currentM1 == 4 then task.wait(comboEndCooldown) currentM1 = 0 end m1Debounce = false end
@ProjectKagenou
@ProjectKagenou 15 күн бұрын
thank you so much i love you (no diddy)
@DefinitlyNico
@DefinitlyNico 11 күн бұрын
thanks man
@ChildAbducter69420
@ChildAbducter69420 10 күн бұрын
omg thank you so much for forgetting the second end at the bottom of the script
@GiggleSaurasman
@GiggleSaurasman 8 күн бұрын
THX BRO
@MJ20mj
@MJ20mj 8 күн бұрын
ty
@rettekram
@rettekram 3 ай бұрын
Thanks for putting this together! My son created the animations and we worked together to add these scripts to his game.
@unfortunate4you
@unfortunate4you 5 ай бұрын
Yet another amazing tutorial video. This one really helped as I am currently working on a battleground game. Thanks Ludius and keep up the good stuff.
@TeamNolimit-NL
@TeamNolimit-NL 4 ай бұрын
me to i am looking for devs since i am a solo if u r interested reply :)
@SomethingIsWrong12
@SomethingIsWrong12 4 ай бұрын
Yo could you tell me the script for the M1 cause my script doesn't work
@TeamNolimit-NL
@TeamNolimit-NL 4 ай бұрын
@@SomethingIsWrong12 yo look bro im tried to it doesnt work it may be a m1 system but not a combat system
@SomethingIsWrong12
@SomethingIsWrong12 4 ай бұрын
@@TeamNolimit-NL It worked for me
@SomethingIsWrong12
@SomethingIsWrong12 4 ай бұрын
@@TeamNolimit-NL it didn't work for me cus I misspelled Length
@shiesty4343
@shiesty4343 5 ай бұрын
Everyone saying he fell off but be happy there are still people helping less advanced scripters like bro
@iamLudius
@iamLudius 5 ай бұрын
Everyone saying I fell off, when was I on? Jajajajajaj
@Viennabunny36
@Viennabunny36 4 ай бұрын
​@iamLudius I recognize that laugh, that's how people that speak Spanish laugh, I'm mexican lol
@SomethingIsWrong12
@SomethingIsWrong12 4 ай бұрын
@@iamLudius Can you write me what do I do on line 31 on M1 cause I'm from a different country and I don't understand what u said.
@JustAKidNameJc
@JustAKidNameJc 2 ай бұрын
@@iamLudius Yo bro can you make a copy paste of this script because when i did the script it wont work
@Pan-TSB
@Pan-TSB 2 ай бұрын
@@JustAKidNameJc I did dw
@IAmMuFufuLoveJesusChristYipee
@IAmMuFufuLoveJesusChristYipee 5 ай бұрын
man I just LOVE it when a cool person uploads a non outdated tutorial from 2 years ago for a something that I'm having massive trouble with.. YIPEEE!!!1111 :D
@KiyoshiV2
@KiyoshiV2 5 ай бұрын
first, thanks man ive been a scripter for 2ish months and you've been helping me since and still are. i wanna say thank you and keep doing what you do
@NotXenoxXeno
@NotXenoxXeno 5 ай бұрын
You aren’t frist
@KiyoshiV2
@KiyoshiV2 5 ай бұрын
@@NotXenoxXeno yes i am lol
@NotXenoxXeno
@NotXenoxXeno 5 ай бұрын
@@KiyoshiV2go to newest first and scroll to bottom lol
@theguyunderwater
@theguyunderwater 4 ай бұрын
your second bru
@KiyoshiV2
@KiyoshiV2 4 ай бұрын
@@theguyunderwater i was first bud
@Xelous
@Xelous 19 күн бұрын
for anyone wondering, do server sided hitboxes with prediction placement, client hitboxes only look smooth on the clients end and is best for low ping players, higher ping players are doomed, goodluck
@Sub2Neo5380
@Sub2Neo5380 2 ай бұрын
i love how ludius is always explaning step by step and each, keep doing this bro 🔥🔥❤❤
@SkilledToad
@SkilledToad 13 күн бұрын
IF YOU MADE YOUR ANIMATIONS IN R6, YOU NEED TO CLICK FILE (top left) - SAVE TO ROBLOX - SAVE - CLOSE, then it will bring you back to the experience, - HOME (top bar) - GAME SETTINGS (middle of screen at top) - AVATAR - R6 - SAVE IF YOU MADE YOUR ANIMATIONS R15 THEN DO THE SAME THING BUT CLICK R15 INSTEAD OF R6!😅
@TheUndyingCoat
@TheUndyingCoat 5 ай бұрын
If you want a fix to the first m1s not loading properly you can preload the anims using the ContentProvider service (I can provide the script if you want). Hope this helps!
@Totoroswrld
@Totoroswrld 5 ай бұрын
hey, could I get that script?
@ProtonC100
@ProtonC100 4 ай бұрын
slide the script rq
@Astrolightation
@Astrolightation 4 ай бұрын
​@@ProtonC100it's ez bro
@Astrolightation
@Astrolightation 4 ай бұрын
​@@ProtonC100Iterate ur animation folder, use context provide service in for i, v loop Use context provide "LoadAsync" method.
@Globalnotes12
@Globalnotes12 4 ай бұрын
Yes please provide the script🙏
@Mrcryptic-ce5kk
@Mrcryptic-ce5kk 5 ай бұрын
Another Banger from Ludius bro im a big fan keep going :)
@Bunny_Masko
@Bunny_Masko 2 ай бұрын
Damn this is the first dev that make a tutorial easy to understand 1+ Sub
@Your14DayTrialHasEnded
@Your14DayTrialHasEnded 5 ай бұрын
This is why I’m subscribed, peak content
@shawtyshorts-vw9co
@shawtyshorts-vw9co 11 күн бұрын
dont end it bro people love you
@shawtyshorts-vw9co
@shawtyshorts-vw9co 11 күн бұрын
so true
@MrPresident-l9d
@MrPresident-l9d 10 күн бұрын
@shawtyshorts-vw9co bro invented a time machine
@abdoubouguerrah
@abdoubouguerrah 5 ай бұрын
Ludius is the real deal , can't wait for the next vedio ma man
@Valk547
@Valk547 4 ай бұрын
OK GUY FOR THE "LoadAnimation requires an object" IN THE M1 SCRIPT IN LINE 31 DELETE THE SPACE NEXT TO THE M1 "("M1("..currentM1..")")".
@Cutemanyoutz
@Cutemanyoutz 4 ай бұрын
Didnt work
@bobbyybobby2630
@bobbyybobby2630 4 ай бұрын
the goat
@winstonmartin6179
@winstonmartin6179 5 ай бұрын
for Input,Manager local prls = game:GetService("Players") local lp = plrs.LocalPlayer local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local m1BF = m1Script:WaitForChild("Function") mouse.Button1Down:Connect(function() m1BF:Invoke() end)
@Obese_Fish
@Obese_Fish 4 ай бұрын
thank you
@K1tac
@K1tac 4 ай бұрын
@AnarcisaAviles97 local binadbleFunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationsFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local char = lp.Character or lp.CharacterAppearanceLoaded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerformed = 0 local currentM1 = 0 local m1Debounce = false local comboEndCooldown = 2 -- change to whatever u want local waitBeforeReset = 0.5 -- change to whatever u want binadbleFunction.OnInvoke = function() if not m1Debounce then m1Debounce = true m1sPerformed += 1 currentM1 += 1 local corrrespondingM1Anim = rsAnimationsFolder:FindFirstChild("M1 ("..currentM1..")") local m1Track = animator:LoadAnimation(corrrespondingM1Anim) m1Track:Play() task.wait(m1Track.Length - 0.1) task.spawn(function() local oldM1sPerformed = m1sPerformed task.wait(waitBeforeReset) if oldM1sPerformed == m1sPerformed then currentM1 = 0 end end) if currentM1 == 4 then task.wait(comboEndCooldown) currentM1 = 0 end m1Debounce = false end end
@Chr1stisEternal
@Chr1stisEternal 4 ай бұрын
Make sure to change 'local prls' to 'local plrs'
@henryfure1558
@henryfure1558 3 ай бұрын
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@Sub2Neo5380
@Sub2Neo5380 2 ай бұрын
pls do the M1
@Totoroswrld
@Totoroswrld 5 ай бұрын
how do you fix loadanimation requires an animation object? M1:33 edit: for anyone having this same issue, make sure your M1 (1) in the animations folder is actually M1(1) and M1(2) and so on so forth so it does not have a space. The concatenation in the m1 script does not have a space, that is why.
@katotempesto
@katotempesto 5 ай бұрын
life saver thank you vro
@Yupoir
@Yupoir 5 ай бұрын
Bro thank you bruh I almost spent 10 hour trying figure this out man
@treetop2543
@treetop2543 4 ай бұрын
mine still isnt working :( but ill keep trying
@ashbipc7251
@ashbipc7251 4 ай бұрын
I love you bro
@FixWolix
@FixWolix 4 ай бұрын
W bro u explained everything tysm i kinda understand code now!
@GamingScripter
@GamingScripter 5 ай бұрын
Kids Remember You can always preload the animation to avoid the animation being weird for the first time
@Yatsukahagi
@Yatsukahagi 2 ай бұрын
rly how?
@riffler9929
@riffler9929 5 ай бұрын
Well what abt the hit box?
@dannyeditsz
@dannyeditsz 3 ай бұрын
this is just the animation
@ICantFall
@ICantFall 3 ай бұрын
if u have the problem of M1 doing infinite first or some m1 animation, just desactivate the loop on the m1 animations and put the id again
@yahyaprogaymer69420
@yahyaprogaymer69420 3 ай бұрын
YOUR THE GOAT BRO TYSM IT WORKS
@thelegendofflam6163
@thelegendofflam6163 3 ай бұрын
how do i fix the play is not a valid member of animation track
@yahyaprogaymer69420
@yahyaprogaymer69420 3 ай бұрын
did you the animation id of your m1s in playerpack?
@Mf_Anisins
@Mf_Anisins 18 күн бұрын
someone get this man a teaching liscence.
@kinekchan
@kinekchan 21 күн бұрын
why does animations show up only for me and other people cant see them???
@OneStup1dN00b
@OneStup1dN00b 3 ай бұрын
bro it doesn’t fricking work! i’ve tried looking at the comments for help, then i do find one, use its help and then it doesn’t change ANYTHING! I HAVE COPIED ALL THE CODE WORD FOR WORD AND IT DOESNT WORK STILL!
@Vinjo300
@Vinjo300 8 күн бұрын
did you do the animation
@FrownyCrown
@FrownyCrown 17 күн бұрын
Bro I did everything right spent 3hours trying to fix it and it doesn’t even work
@BumBum_SM
@BumBum_SM 28 күн бұрын
I went to test then out but it didn't work, and I don't know how to code so i really don't know what the issue is.
@_levi20
@_levi20 2 ай бұрын
Can you help me? every single time i try to do a tutorial, i click and nothing happens, this one included. I made sure i am on r6 and every single line of script is correct. i am not getting any errors and nothing is happening, please can you help me figure this out?
@Sleepy_Yazzy
@Sleepy_Yazzy 2 ай бұрын
The same thing is happening to me rn
@da_rage7906
@da_rage7906 2 ай бұрын
same
@Tomokoyu.Creator
@Tomokoyu.Creator Ай бұрын
try this local bindableFunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationsFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local char = lp.Character or lp.CharacterAppearanceLoaded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerformed = 0 local currentM1 = 0 local m1Debounce = false local comboEndCooldown = 4 local waitBeforeReset = 2 bindableFunction.OnInvoke = function() if not m1Debounce then m1Debounce = true currentM1 += 1 local correspondingM1anim = rsAnimationsFolder:FindFirstChild("M1("..currentM1..")") if correspondingM1anim then local m1Track = animator:LoadAnimation(correspondingM1anim) m1Track:Play() task.wait(m1Track.Length - 0.1) task.spawn(function() local oldM1sPerformed = m1sPerformed task.wait(waitBeforeReset) if oldM1sPerformed == m1sPerformed then currentM1 = 0 end end) if currentM1 == 4 then task.wait(comboEndCooldown) currentM1 = 0 end else warn("Animation N/A: M1(" .. currentM1 .. ")") end m1Debounce = false end end
@intotheworldofdall
@intotheworldofdall 11 күн бұрын
same bro
@HarleyWoods-zm1tl
@HarleyWoods-zm1tl 8 күн бұрын
Same
@thewhat9204
@thewhat9204 19 күн бұрын
Does anyone know how you can make it a tool? i mean so that the m1s only work when holding the tool
@wonderwhy5642
@wonderwhy5642 5 ай бұрын
our scripting mentor has done it again
@iamLudius
@iamLudius 5 ай бұрын
:]
@TrackCrack735
@TrackCrack735 3 күн бұрын
didn't work for some reason the error is saying "LoadAnimation requires an Animation object" how is that fixable😭
@levontherealoneistg
@levontherealoneistg Ай бұрын
just crashed my entire unsaved studio project when i tried to load it.....
@Dxg1412
@Dxg1412 Ай бұрын
you know the pain after understanding and writing whole thousands line of code for m1 and it didnt work it just feels like to quit
@DountBoi
@DountBoi Ай бұрын
I get it bro
@damianos9707
@damianos9707 5 күн бұрын
same
@Monkeybasherstudio
@Monkeybasherstudio 6 сағат бұрын
i get it my m1 dont work
@kingbgamer
@kingbgamer 4 ай бұрын
Everyting works except when i do the m1s its just repeating it without me pressing m1
@watchyogdofyevu9355
@watchyogdofyevu9355 3 ай бұрын
You saved your animation looped, save your animation with looped dissabled or you can change it with animation.Looped = false i think that was line of code i could be wrong tho
@kingbgamer
@kingbgamer 3 ай бұрын
@watchyogdofyevu9355 thanks it worked
@ForALittleSupport
@ForALittleSupport 2 ай бұрын
Thank you bro I couldn't figure out how to ResetTimer for the life of me 🙏🙏
@PerishTutorials
@PerishTutorials 2 ай бұрын
could you also make a tutorial on how to make hitboxes and stun please?
@AnimeMountain-o6o
@AnimeMountain-o6o 3 ай бұрын
i don't know why it is not working for me
@AnimeMountain-o6o
@AnimeMountain-o6o 3 ай бұрын
it shows Infinite yield possible on 'Workspace.gamebo***er1243:WaitForChild("humanoid")'
@Toinfinity089
@Toinfinity089 10 сағат бұрын
Sooo the m1s don’t work, idk the problem
@EddieByte
@EddieByte 5 ай бұрын
keep up the gud wok :D
@Obese_Fish
@Obese_Fish 4 ай бұрын
It just doesnt work wth, i copied everything and did all the animations, i click m1 and nothing happens
@moshizi5067
@moshizi5067 4 ай бұрын
same
@kawruu666
@kawruu666 4 ай бұрын
same
@d4sl1ckon37
@d4sl1ckon37 4 ай бұрын
same
@Google-Account-S
@Google-Account-S 3 ай бұрын
Did you save the game and set the avatar settings to r6?
@lianawilliams123
@lianawilliams123 3 ай бұрын
SAME'
@drdoritodanny
@drdoritodanny 2 ай бұрын
Nothing will work for me, can anyone help? I did everything right... I think atleast
@Real-Bandit
@Real-Bandit 5 ай бұрын
@iamludius when i try too make the script i stumble on an error that says "LoadAnimation requires an Animation object" what do i do? my script 1: local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local m1BF = m1Script:WaitForChild("Function") mouse.Button1Down:Connect(function() m1BF:Invoke() end) my script 2: local bindablefunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationsFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local char = lp.Character or lp.CharacterAppearanceLoaded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerformed = 0 local currentM1 = 0 local m1Debonce = false local comboEndCooldown = 2 local waitBeforeReset = 0.5 bindablefunction.OnInvoke = function() if not m1Debonce then m1sPerformed += 1 currentM1 += 1 local correspondingM1anim = rsAnimationsFolder:FindFirstChild("M1("..currentM1..")") local m1Track = animator:LoadAnimation(correspondingM1anim) m1Track:Play() task.wait(m1Track.Length - 0.1) task.spawn(function() local oldM1sPerformed = m1sPerformed task.wait(waitBeforeReset) if oldM1sPerformed == m1sPerformed then m1sPerformed = 0 end end) if currentM1 == 4 then task.wait(comboEndCooldown) end m1Debonce = false end
@tryhard-om6ld
@tryhard-om6ld 5 ай бұрын
at the end you only put 1 "end" you need to click enter 2 times and then put another end so basicly it will look like this m1Debounce end end
@treetop2543
@treetop2543 4 ай бұрын
@@tryhard-om6ld i had that still doesnt work
@InanamGames
@InanamGames 4 ай бұрын
@@treetop2543 does the name of your animations have a space between M1 and the "( )"?
@CibersOnYT
@CibersOnYT 4 ай бұрын
ehhh you forgot m1Debonce = true after if not debounce then
@BamBOOzler-s1f
@BamBOOzler-s1f 4 ай бұрын
did u forget to put animations in?
@JaggyDev
@JaggyDev 5 ай бұрын
ludy the goat
@connor-p6t
@connor-p6t 2 ай бұрын
1:55 Uhh does anyone know what this is? i have had a bit of experience in roblox studio, but i have NEVER seen this!
@xybergxming7762
@xybergxming7762 2 ай бұрын
an animation
@breadsticksareshort2249
@breadsticksareshort2249 5 ай бұрын
Hey... I copied the script word for word and checked it over three times to make sure that it matches with the one you created. How come it's still not working??? I need help T-T
@pedropixel64
@pedropixel64 5 ай бұрын
what is not working?
@breadsticksareshort2249
@breadsticksareshort2249 5 ай бұрын
@@pedropixel64 It's an infinite yield issue i couldn't resolve
@_banana50
@_banana50 2 ай бұрын
Where is the "oldM1sPerformed" variable made because it is telling me that the variable doesn't exist.
@mangw9384
@mangw9384 4 ай бұрын
W music choice
@GAMEGAME52010
@GAMEGAME52010 Ай бұрын
the entire script broke for me BECAUSE OF A SINGLE DOT that was supposed to be a ":" instead of the "." i would have never found it without the help of the debug thing in roblox studio Edit: Whenever you punch, there is no damage
@AlexEdits11111
@AlexEdits11111 2 ай бұрын
do i need those other scripts under invoke or like ddo i still get to live
@Sub2Neo5380
@Sub2Neo5380 2 ай бұрын
im replying @dont_reply11111
@Xenon_99o9
@Xenon_99o9 5 ай бұрын
Thanks for the vid the explanation were really good but do you know if it would work on a tool?
@K1tac
@K1tac 4 ай бұрын
wbt dash next (or maybe the hitboxes so they can take damage ^^)
@K1tac
@K1tac 4 ай бұрын
also downslams and uppercuts maybe?
@Cxruu
@Cxruu 3 ай бұрын
input manager script local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local m1BF = m1Script:WaitForChild("Function") mouse.Button1Down:Connect(function() m1BF:Invoke() end)
@vinothnivas383
@vinothnivas383 15 күн бұрын
Man the thing doesnt work Even after writing all the code, the code is breaking at "if not m1Debounce then" its saying I need an animation object to play the animation too
@realMightyOof
@realMightyOof 3 ай бұрын
why my animations didnt work
@youtonene6466
@youtonene6466 5 ай бұрын
Is this going to be a two-part series, because I see no server script that you can actually do m1s with
@godtype9706
@godtype9706 5 ай бұрын
$100 a month? You need to give some of us a better explanation on what you’ll be teaching, or there will be a lot of missed sales/refunds. Tired of paying 50-100 per course only for it to be full with basic repetitive beginner courses
@GamingScripter
@GamingScripter 5 ай бұрын
It's worthless I learned on my own And I can confidently say I'm better than him
@tae-roon3580
@tae-roon3580 5 ай бұрын
Wait what happened?
@RyanEXElol
@RyanEXElol 5 ай бұрын
Worthless, you can learn for 3 years like me and get better. For FREE
@Savagesshowdown
@Savagesshowdown 5 ай бұрын
​@@RyanEXElolhow did you learn are you self taught? Or with tutorials
@alexi0637
@alexi0637 5 ай бұрын
​​@@Savagesshowdown as another scripter you need some tutorials at the start to learn something but i raccoment buying the advanced scripting book or something like that or even read it online simce it tells you anythjng man if you do jot rrad it at the start you will only regret it
@GiggleSaurasman
@GiggleSaurasman 8 күн бұрын
it says ''LoadAnimation requires the asset id to not be empty'' for the Input Manager line 10 what do i do
@JaxxonVerdeck-t3u
@JaxxonVerdeck-t3u 3 ай бұрын
wait why is there no InputManager in the StarterCharacter Script?
@RamavathHarivamsh
@RamavathHarivamsh 3 ай бұрын
you have to make a local script and rename it to input manger
@JaxxonVerdeck-t3u
@JaxxonVerdeck-t3u 3 ай бұрын
@@RamavathHarivamsh ohhh
@JaxxonVerdeck-t3u
@JaxxonVerdeck-t3u 3 ай бұрын
@@RamavathHarivamsh ty
@inkstudiossz6690
@inkstudiossz6690 5 ай бұрын
Idk why but mines doing work I keep getting the error that LoadAnimation requires an Animation object on line 12 of my 1st local script do I have to change the code in my 2nd local script or something? Edit:nvm I was doing some dumb stuff with animation names that’s why the local script can’t find the animations
@Totoroswrld
@Totoroswrld 5 ай бұрын
how did you fix it?
@toji_reborn
@toji_reborn 2 ай бұрын
help 12:47:02.045 Cannot load the AnimationClipProvider Service. - Client - M1:33
@CreepyBug
@CreepyBug 2 ай бұрын
You need to paste it on tge anim
@BizaahYT
@BizaahYT 5 ай бұрын
you really shouldn't be resetting your m1's like that. your current method is extremely vulnerable instead you should be using a tick based check at the start of your m1's you'd first save a tick() value of when you last m1 was fired and then if the tick value + {m1 Reset time} is smaller then the current tick() then you reset the m1's
@MysticSeeker
@MysticSeeker 5 ай бұрын
isnt both ways vulnerable if they both are on the client?
@Nagt12
@Nagt12 2 ай бұрын
yoooooooooooo Bizaah
@J-gh6zz
@J-gh6zz Ай бұрын
@@MysticSeekeryes nd he has no server script meaning its only an animation with no damaging
@Ahero-j6e
@Ahero-j6e 2 ай бұрын
Video Starts at 1:27
@AadamDestroyer
@AadamDestroyer 2 ай бұрын
Wait is it 1 m1 per animation or is it all four m1 in one animation
@RagedCascade359
@RagedCascade359 5 ай бұрын
Good tutorial man saved me a lot of time lol. But is it possible to make a down slam or uppercut?
@segaxd3290
@segaxd3290 5 ай бұрын
how to damage players while the m1 is playing
@iamLudius
@iamLudius 5 ай бұрын
Check out my newest upload :]
@ItsNova4
@ItsNova4 4 ай бұрын
8:23 why is mine green does it still work if its green
@sh33p.c0m
@sh33p.c0m 27 күн бұрын
I followed the video and it's not working for me at all, can someone help?
@NotKozy-h1o
@NotKozy-h1o 2 ай бұрын
If you do make a animation what is the animation priority supposes to be
@Getout23g
@Getout23g 3 ай бұрын
Can someone help me? It only makes me do 1 m1 and then it dosen't work
@yutishkumar8358
@yutishkumar8358 5 ай бұрын
Bro pls make a tutorial for wall run. love ur vids
@iamLudius
@iamLudius 5 ай бұрын
Could be a good video idea, it may be a little bit long tho
@yutishkumar8358
@yutishkumar8358 5 ай бұрын
@@iamLudius if u work on this idea then check out the wall run mechanism in jujutsu shenanigans it's the best one I have seen so far
@combatdev
@combatdev 4 ай бұрын
im pretty sure it doesnt work, everything is fine with my script but it doesnt specify the input unless ive missed something
@justrad7637
@justrad7637 4 ай бұрын
when clicking left click the animations loop and dont end
@mitramichael669
@mitramichael669 20 күн бұрын
since you have o unloop the animations
@unkownz3k919
@unkownz3k919 Ай бұрын
ok animation works but how do you get it so it can do damage
@4-footshorty869
@4-footshorty869 Ай бұрын
How do u save the animations into the folder ? I already have my 4 m1s animated
@NuhUhsGDPSyt
@NuhUhsGDPSyt 3 ай бұрын
I’ve done 23 guid videos. None have worked :/
@galaxite167
@galaxite167 3 ай бұрын
Try to check your work if you want working script here InputManager: local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local M1BF = m1Script:WaitForChild("Function") mouse.Button1Down:Connect(function() M1BF:Invoke() end) M1: local bindableFunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local char = lp.Character or lp.CharacterAppearanceLoaded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerfomed = 0 local currentM1 = 0 local m1Debounce = false local comboEndCooldown = .75 local waitBeforeReset = 0.5 bindableFunction.OnInvoke = function() if not m1Debounce then m1Debounce = true m1sPerfomed += 1 currentM1 += 1 local correspondingM1anim = rsAnimationFolder:FindFirstChild("M1 ("..currentM1..")") local m1Track = animator:LoadAnimation(correspondingM1anim) m1Track:Play() task.wait(m1Track.Length - 0.1) task.spawn(function() local oldM1sperformed = m1sPerfomed task.wait(waitBeforeReset) if oldM1sperformed == m1sPerfomed then currentM1 = 0 end end) if currentM1 == 4 then task.wait(comboEndCooldown) currentM1 = 0 end m1Debounce = false end end
@baconninja9706
@baconninja9706 3 ай бұрын
One problem. When I walk and m1 the upper animation doesnt show up and instead the walking animation pop up. Could you please fix that in your next video?
@setak-mj3qf
@setak-mj3qf 8 күн бұрын
i did all that but when i click on play and load in nothing seems to happen when i click my m1.. please help someone
@wzrdrblx
@wzrdrblx 6 күн бұрын
same tell me if you find a solution
@Toinfinity089
@Toinfinity089 10 сағат бұрын
Same here
@Glishhhh_xp.
@Glishhhh_xp. Ай бұрын
Thankss bro, but i have a question, how i do de uppercut and the downslam?, and where you can modificate the damage?
@The_Strongest_bounty_hunter
@The_Strongest_bounty_hunter 5 ай бұрын
Can you make a top bar plus v3, part 2 where you can link buttons to certain mechanics just like the strongest battlegrounds where you can switch and choose characters? Thank you! I’m making a demon slayer battlegrounds game and I need to do how to do this.
@ColtonPlaze
@ColtonPlaze 5 ай бұрын
it did not work i did every single thing you said i did the same exact script and it does not work edit: yall i fixed it i know it now im fine
@iamLudius
@iamLudius 5 ай бұрын
You did something wrong, try double checking everything again :]
@ColtonPlaze
@ColtonPlaze 5 ай бұрын
@@iamLudius hmm I figured it out now but thanks
@Jonahdoesart
@Jonahdoesart 5 ай бұрын
@@ColtonPlaze What was wrong?
@Triogaming01_R
@Triogaming01_R 5 ай бұрын
you might have to use output to see the problem on your code
@ColtonPlaze
@ColtonPlaze 5 ай бұрын
@@Triogaming01_R i figured it out its fine now
@JustAKidNameJc
@JustAKidNameJc 2 ай бұрын
why it does not work?
@halfmango272
@halfmango272 5 ай бұрын
As a starting scripter, What sources should I use to learn scripting?
@TheOriginalPlu
@TheOriginalPlu 5 ай бұрын
I learned from a mix of SushiMaster, RedPlys and just using the DevForum along with trying stuff out. If I couldn't do the thing I wanted, I'd search for a solution or try until I could do it. - Hope this helps :)
@disp4754
@disp4754 5 ай бұрын
Devking's advanced scripting series
@TheOriginalPlu
@TheOriginalPlu 5 ай бұрын
I went through the DevForum to find stuff that wasn't on tutorials and attempted them myself. For other things you can watch people like RedPlys or SushiMaster to learn.
@thewarlordhimself
@thewarlordhimself 4 ай бұрын
He isn't going to sugarcoat it.....
@Tails.6
@Tails.6 4 ай бұрын
how did you animate with r6 in moon animator 2 also how did you use the animations you made
@D4v1dPostesSuff300
@D4v1dPostesSuff300 4 ай бұрын
it doesn't work... the animations dont work wen i click and idk what to do...
@SlowmoChris
@SlowmoChris 4 ай бұрын
I get an error message at the m1BF:Invoke() line, WHY!?
@user-lc8fn5bp3i
@user-lc8fn5bp3i Ай бұрын
It works, but idk why after the 4 m1 they dont reset, someone can help?
@TheNoobBaconBruh
@TheNoobBaconBruh 2 ай бұрын
Doesnt work... rip
@Palmer_Editz100
@Palmer_Editz100 5 ай бұрын
please help me it says "LoadAnimation requires an Animation object
@Scibble
@Scibble 5 ай бұрын
how do i make this combat as a tool that you can equip instead of being built in to the character pleas
@no_tengo.ideaxd
@no_tengo.ideaxd Ай бұрын
the animation of the m1s are so slow, anyone know how to fix it?
@ngoctutrangnguyen
@ngoctutrangnguyen 4 ай бұрын
i want to fix this when i running : Legth is not a valid member of AnimationTrack "M1 (1)"
@RipGamer_PRO-hr1vz
@RipGamer_PRO-hr1vz 3 ай бұрын
Its Length
@Vexed-dev
@Vexed-dev Ай бұрын
Please hel i gt error the ni fixed error by getting erid oif space by m1 now nothing happens when i left cliock i added debug and found it does register when i click just doesnt work here is my code maybe i did soemthing wrong local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local m1Bf = m1Script:WaitForChild("Function") mouse.Button1Down:Connect(function() print("Mouse Button1 clicked!") -- Test the event if m1Bf then m1Bf:Invoke() end end) -- Ensure Bindable Function exists in script local bindableFunction = script:WaitForChild("Function") local rs = game:GetService("ReplicatedStorage") local rsAnimationsFolder = rs:WaitForChild("Animations") local plrs = game:GetService("Players") local lp = plrs.LocalPlayer local char = lp.Character or lp.CharacterAppearanceLoaded:Wait() local hum = char:WaitForChild("Humanoid") local animator = hum:WaitForChild("Animator") local m1sPerformed = 0 local currentM1 = 0 local m1Debounce = false local comboEndCooldown = .25 local waitBeforeReset = .5 -- Mouse input handling local mouse = lp:GetMouse() local m1Script = script:WaitForChild("M1") local m1Bf = m1Script:WaitForChild("Function") -- Ensure the mouse input event is properly connected mouse.Button1Down:Connect(function() if m1Bf then m1Bf:Invoke() -- Invoke the function to perform the M1 action else warn("Function not found!") end end) -- Bindable function to handle the M1 combo logic bindableFunction.OnInvoke = function() -- Ensure no debounce is in progress if not m1Debounce then m1Debounce = true m1sPerformed = m1sPerformed + 1 currentM1 = currentM1 + 1 -- Search for the corresponding M1 animation local correspondingM1anim = rsAnimationsFolder:FindFirstChild("M1 ("..currentM1..")") if correspondingM1anim then local m1Track = animator:LoadAnimation(correspondingM1anim) m1Track.Priority = Enum.AnimationPriority.Action m1Track:Play() -- Wait for animation to finish before continuing the next action task.wait(m1Track.Length - 0.1) task.spawn(function() -- Reset the M1s after a delay local oldM1sPerformed = m1sPerformed task.wait(waitBeforeReset) if oldM1sPerformed == m1sPerformed then currentM1 = 0 -- Reset M1 combo if no further M1 was performed end end) else warn("Animation M1 ("..currentM1..") not found!") end end -- Reset combo when the final M1 in the combo is completed if currentM1 == 4 then -- Last M1 in combo task.wait(comboEndCooldown) currentM1 = 0 end m1Debounce = false end please help
@uniguy4647
@uniguy4647 4 ай бұрын
Why did you used Bindable function instead of Module script?
@marlon0742
@marlon0742 3 ай бұрын
i did everything and even double checked if i miss spelled anything and it still doesnt work HEELPP
@rickyauri1761
@rickyauri1761 5 ай бұрын
why cant my game m1? is there is mistake in animation or what?
@iamLudius
@iamLudius 5 ай бұрын
You’d have to double check :]
@joedirt-w1l
@joedirt-w1l 3 ай бұрын
Could someone go over how to add where it does damage to each punch and maybe how to toggle a ragdoll at the end? thanks!
@Da_Shoe442
@Da_Shoe442 Ай бұрын
i managed to make a stun anim and make it so they cant move for a few seconds, but for some reason the scripts arent disabling so that the person hit cant M1 can anyone help?
Can 6 DEVS Make a STORY Game Without Communicating?
15:32
RoDev
Рет қаралды 2,9 МЛН
the 4 steps people use to make amazing particles
22:49
nearunderstandings
Рет қаралды 308 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Classic Roblox Games: How Are They Doing?
17:09
Chappy
Рет қаралды 483 М.
The Fall of Roblox's Biggest Games
16:48
CubeINC
Рет қаралды 6 МЛН
How To Make A Combat System In Roblox Studio [TUTORIAL]
19:05
VuukStudios
Рет қаралды 699 М.
The 4 Stages Of A Roblox Scripter | Roblox Studio
10:05
Ludius
Рет қаралды 10 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 307 М.
Why these ROBLOX GAMES DIED...
11:12
Flush
Рет қаралды 638 М.
Good roblox games with 0 players..
9:53
Sketch
Рет қаралды 902 М.
How To Master Roblox Scripting (Even If You're Lost!)
6:55
SmartyRBX
Рет қаралды 39 М.
Disturbing ARG Footage Of A Stalked Roblox Player
21:10
SenPrista
Рет қаралды 702 М.