#i cant fix my code please help me

1 messages · Page 1 of 1 (latest)

sick whale
#

i doing my first battleground and my animations only 4work then they dont work please help
I followed the guide, here is the guide itself: https://www.youtube.com/watch?v=E02er6mwsrI&list=PLH1di03gos6aX70lrhAVRittXJZaUA9dO

How To Make a BATTLEGROUNDS GAME In Roblox Studio 2024

Get all of my project files on my patreon:
https://bit.ly/3SOBP6J
JOIN THE DISCORD!
https://discord.gg/cztJHYSfVE
UI Model:
https://bit.ly/3VT9QFW

What is Roblox? ROBLOX is an online virtual playground and workshop, where kids of all ages can safely interact, create, have fun, and learn. ...

▶ Play video
chilly kelpBOT
#

studio** You are now Level 1! **studio

sick whale
#

only 4 i have

gusty briar
hallow merlin
#

It should be
if PunchCombo.Value >= #script.PunchAnimationCycle:GetChildren() then
instead of
if PunchCombo.Value > #script.PunchAnimationCycle:GetChildren() then
What happened was after your 4th m1, it doesn't reset the PunchCombo.Value to 1 and instead it counts up to 5. It happened because 4 is not more than 4, that's why it has to be >= instead of > as it checks if the punchcombo is more OR equal to 4.
I hope this helped

sick whale
#

Thank you very much guys

hallow merlin
#

No problem, glad I could help