Тёмный

How to make a Combat System: M1s | Roblox Studio 

SPARK
Подписаться 818
Просмотров 11 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@DarkSide6
@DarkSide6 9 месяцев назад
ur contents are 99.1 percent pure, nice cook!
@spark730
@spark730 9 месяцев назад
thank you jesse
@asomxtik
@asomxtik 9 месяцев назад
Amazing video I love the structure of the video making things very understandable
@bebt8475
@bebt8475 9 месяцев назад
Fr
@ehrbgferegwjrn
@ehrbgferegwjrn 3 месяца назад
my man been cooking so hard with the Client Structure, subbed
@MishanJux
@MishanJux 9 месяцев назад
I love the way you divide the video in different parts, It really helps beginner like to understand clearly, and can u also post "stun" Video, I am waiting
@spark730
@spark730 9 месяцев назад
Yeah I'm trying to make it even better
@Draco-FishProductions
@Draco-FishProductions 4 месяца назад
This is the only tutorial where they actually explain!
@magictrickslearning
@magictrickslearning 10 месяцев назад
Pls make a video about how to put tools in character selector
@dudley877
@dudley877 10 месяцев назад
Your the best. Please keep making videos
@ShrekMeme228
@ShrekMeme228 10 месяцев назад
insane. U are my favourite youtuber!!!!!
@ppx005
@ppx005 5 месяцев назад
Hey spark, was just testing the script with a friend. When someone dies the script seems to break and the m1s no longer work. Moving the script in starter player scripts to character scripts fixes it
@marandyassinvlogs3273
@marandyassinvlogs3273 2 месяца назад
I had the same problem thank you❤
@aledcaa5036
@aledcaa5036 10 месяцев назад
Thank you so much!
@Vortex-qb2se
@Vortex-qb2se 9 месяцев назад
Great video, but people, don't forget something only you can add - the soul. Just because a system works does not mean it is fun. Understand this statement however you want, it is definitely not a hate, though. I'm just saying 99% of the roblox games only require spamming M1s and no additional skills to play the games.
@spark730
@spark730 9 месяцев назад
yeah ofc, this is just a basic one. It should just be used to get an idea of how M1s work, if you're making your own game you should be trying to make something new and fun
@wextherr
@wextherr 9 месяцев назад
aerial combos and some bandits 😃
@Zawaito
@Zawaito 9 месяцев назад
can you tell me which plugins are you using?
@spark730
@spark730 9 месяцев назад
A tutorial on stun was in the works but unfortunately I had to go out of city. It'll be out in like a week
@ilyeslabbassi7508
@ilyeslabbassi7508 9 месяцев назад
You next character jin kazama or heihachi Mishima or Ogre
@K5T4U
@K5T4U 2 месяца назад
my m1 1 and 3 but not 2 or 4 can someone help
@Natebeau1
@Natebeau1 2 месяца назад
hi i did everything you did but on my friends screen it doesnt show animation and the thing doesnt damage
@gamerrobloxloles8893
@gamerrobloxloles8893 5 месяцев назад
Can someone help me when it cone to the list/dictionary it only works for one when I put in the others I get an error
@REDISSOGOOD
@REDISSOGOOD 7 месяцев назад
mine keeps saying error even tho im doing exactly what hes doing
@REDISSOGOOD
@REDISSOGOOD 7 месяцев назад
yh idk what im doing wrong but its not working my animations arent working
@AstroPurpleGamer
@AstroPurpleGamer 9 месяцев назад
Can u continue the skill selector for battleground games so that you can't switch characters unless the player is full hp or not in combat mode and can u make a tutorial on an early access character.
@CUBENDeR-CUBIE
@CUBENDeR-CUBIE 9 месяцев назад
you're just asking him to script an entire game for you💀
@AstroPurpleGamer
@AstroPurpleGamer 9 месяцев назад
@@CUBENDeR-CUBIE How
@Kumbolreal
@Kumbolreal 9 месяцев назад
Is there a way you can make a thing when you change characters you will get the moves they have? If not it's fine🙂
@hdgaming7063
@hdgaming7063 9 месяцев назад
I imagine create 2-3 different animations and rotate inbetween them using the wait command after one animation, set to false after first animation so the attack can run again, then it runs the second animation, set to false, third animation, sets to false, back to first attack. Use a If-then command to where if it's ran all animations to restart
@Kumbolreal
@Kumbolreal 9 месяцев назад
@@hdgaming7063 uhhhh what
@yongamerxd4727
@yongamerxd4727 7 месяцев назад
Hi! SPARK me again how con i created my attributes? To make the animations work when i die???
@Yousefhannoura
@Yousefhannoura 10 месяцев назад
Legend
@RinenTheOne
@RinenTheOne 4 месяца назад
13:39 saving were i left off
@dripmms5518
@dripmms5518 8 месяцев назад
instead i am doing a max combo of 4 and it doesn't get past the 2nd combo I have no idea why it does the printing but it just doesn't work elseif combo > 1 or combo < 4 then NewPressTime = tick() -- we end the stop watch local ActualTime = NewPressTime - PressTime -- doing the math how many seconds have passed since the stop watch has started if ActualTime < 3 then warn(combo) M1Cooldown = true PressTime = tick() M1Animations[combo]:Play() warn("played") remote:FireServer(combo) else M1Reset() combo = 1 warn("combo reset") end elseif combo == 4 then NewPressTime = tick() local ActualTime = NewPressTime - PressTime warn(ActualTime) M1Animations[4]:Play() print("here") remote:FireServer(combo) end
@spark730
@spark730 8 месяцев назад
In the first elseif statement u added "or" instead of "and" so make sure to fix that. Furthermore, make sure that the combo counter itself is actually increasing every time u press mousebutton1
@YOSTUDIOS45
@YOSTUDIOS45 6 месяцев назад
how could i turn it into a tool?
@shnkoo6302
@shnkoo6302 8 месяцев назад
im having a weird issue with the damage animation. whenever i do a single m1 on the dummy, the animation goes into an infinite loop, i even copied the script again and still having the same issue.
@spark730
@spark730 8 месяцев назад
Your animation itself might be looped, so you gotta make sure that looped is false before u run it
@shnkoo6302
@shnkoo6302 8 месяцев назад
@@spark730 fixed it :) thx!
@Knotnot31
@Knotnot31 9 месяцев назад
im at 16 mins and when i click 4 times it plays the first two but then the 2nd one again and i can just keep using the 2nd animation forever
@spark730
@spark730 9 месяцев назад
Your combo counter might not be increasing, try checking that
@Knotnot31
@Knotnot31 9 месяцев назад
omg thank you@@spark730
@DARKNESS-pk1rr
@DARKNESS-pk1rr 7 месяцев назад
i did exactly everything you did, and mine doesnt work, like, it doesnt deal damage to the dummy, can you help me?
@amabozo
@amabozo 7 месяцев назад
maybe your dummy doesn't show the healthbar gui
@Flexcat_exe
@Flexcat_exe 8 месяцев назад
I cant see the m1 Animation but the Script is correct
@taqwagroomingcenter3122
@taqwagroomingcenter3122 Месяц назад
LOvely avatar
@dipper5696
@dipper5696 8 месяцев назад
Yeah I fixed the code up and um the code stops working after you die I don't know why that's happening
@spark730
@spark730 8 месяцев назад
Becuz the attributes need to be created again
@dipper5696
@dipper5696 8 месяцев назад
Thanks appreciate I'll work on figuring it out@@spark730
@giancarloleon786
@giancarloleon786 9 месяцев назад
Is this just happening to me? When i punch a dummy it hits me instead of the dummy but beside that great tutorial ill be waiting for the next one :D
@spark730
@spark730 9 месяцев назад
Yeah that's a small mistake I made in the code, but I fixed it in the video. Make sure Ur damaging the OpponentRootPart instead of Ur own
@giancarloleon786
@giancarloleon786 9 месяцев назад
Yeah ty i asked my friend and he told me how to fix it great vid i really liked how you explained everything in the beginning. And than you for answering
@whoiszenno
@whoiszenno 8 месяцев назад
i have a bug . i hit the dummy only 3 times and he dies. i think its something with the hitbox , i think it registers too much hits or something like that? can someone help me?
@whoiszenno
@whoiszenno 8 месяцев назад
i checked everything the script is exactly the same , everything works but i can kill someone with only 3 hits. i set the damage to 3 . its weird
@gghostvn9257
@gghostvn9257 10 месяцев назад
Can u make m1 uppercut and downslam pls 😢
@Zawaito
@Zawaito 9 месяцев назад
following the code's logic, its probably just a series of if statements that check if you're pressing another key alongside m1 deepwoken's code probably checks whether or not crouch == true then play a different animation. now as to how you can lift both characters i have no clue
@ImUkoo
@ImUkoo 9 месяцев назад
since when did indians use roblox studio? i thought they stayed to windows type beat
@spark730
@spark730 9 месяцев назад
Lmaoooo, im not indian
@Hittzo
@Hittzo 7 месяцев назад
16:48
@lauchdertv2074
@lauchdertv2074 6 месяцев назад
I have a question, because if you Spam click it stops playing all animations except the first one, can sb help me ?
@24KAllusions
@24KAllusions 9 месяцев назад
pls add ults to character select
@notfakepixxel
@notfakepixxel 9 месяцев назад
Can you send the animation ID's? I can't animate and was wondering if I could use them!
@shalalabadili3838
@shalalabadili3838 7 месяцев назад
can you make it so that when the animation plays the m1s make you move slower so that you dont run while your punching
@yami5007
@yami5007 8 месяцев назад
I figured that when using an autoclicker after m1 ing 5 times , on the second m1 chain , animations collide and they dont have a cooldown between. Couldnt find a way to fix that .
@spark730
@spark730 8 месяцев назад
ok so the code under the 2nd elseif statement "elseif combo >1 and combo < 5 then" you need to copy all that code, create 3 new elseif statements "elseif combo ==2", elseif combo == 3 and for 4. then paste the code you copied earlier under those statements. I think the code goes too fast when you're using an autoclicker and some stuff just breaks so separating the 2nd elseif statement into 3 different statements should help.
@nanakj0o170
@nanakj0o170 8 месяцев назад
wanted to ask if there was a way to do it without using a marker cuz i tried to do it without but the anim didnt play i even added a print to see if it works and it worked but anim didnt load
@spark730
@spark730 8 месяцев назад
At least the anim should play even without the marker, there's probably some other error in Ur code as well. But if I get the anim working, then just wait until the anim is stopped and then fire to the server
@Draco-FishProductions
@Draco-FishProductions 4 месяца назад
Everything worked except the damage, I checked and everything is exactly as written. What's the issue?
@justpassingby3883
@justpassingby3883 4 месяца назад
Having the same issue, the hitbox doesn’t work. Been trying to fix it on my own but nothing working.
@Draco-FishProductions
@Draco-FishProductions 4 месяца назад
@@justpassingby3883 I'll try again in the morning where I'm at and get back to you if I find anything
@clxfs4203
@clxfs4203 2 месяца назад
Did you ever get it working?
@MatinABN1
@MatinABN1 6 месяцев назад
This is the first indian ive seen that is good at talking english
@spark730
@spark730 6 месяцев назад
Not an indian
@Mr.PurpleMonke
@Mr.PurpleMonke 4 месяца назад
does it work with r6?
@Draxx_112
@Draxx_112 9 месяцев назад
Can you make kill streak like in saitama battlegrounds
@Gladiator-GamePartsPlays
@Gladiator-GamePartsPlays Месяц назад
I know how to make leaderstats for that.
@Zawaito
@Zawaito 9 месяцев назад
why make a function for m1 reset instead of just setting combo back to 0?
@spark730
@spark730 9 месяцев назад
try it
@Zawaito
@Zawaito 9 месяцев назад
@@spark730 cant do it rn but from the start i love this take! You're right i should try and learn from it... Anyways, i thought about it a little after and i think the reason is that it would just void the m1... Like, instead of playing the animation it would just set it to 0 and end, taking 2 m1s to reset... Is that correct?
@spark730
@spark730 9 месяцев назад
@@Zawaito exactly bro, nice to see you learning. It'll reset combo to 0 but it won't play the first m1. We'd have to press left mouse button again in order to play the first M1. So yeah, that's why we make it a function.
@Zawaito
@Zawaito 9 месяцев назад
@@spark730 yesterday i also took the time to challenge myself... I was able to turn the m1 process into a function. But i still had to write a separate code for when combo == 5. Also, as i dont have moon animator i used "print" and defined anims as strings saying "first hit" all the way up to the last one. Do you know of any good substitutes for moon animator?
@spark730
@spark730 9 месяцев назад
@@Zawaito roblox studio has its own built in animator too, so that's the only one I know thats good for beginners. Other than that there's also blender but that'll be hard to use.
Далее
Roblox Module Scripts (The Right Way)
15:20
Просмотров 19 тыс.
Programming Rarity is Harder Than You Think
12:31
Просмотров 268 тыс.
Китайка и Максим Крипер😂😆
00:21
Bedrock. Why?!
22:37
Просмотров 405 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,9 млн
10 Minutes VS 1 Hour VS 1 Day ROBLOX ANIME GAME!
10:24
Просмотров 401 тыс.
Can You Beat Hitman 3 Without Breaking ANY Laws?
22:37
Making FNAF In Roblox
12:12
Просмотров 740 тыс.
BEST roblox horror game wins 1,000 robux
9:59
Просмотров 14 тыс.