#Buggy Animations

1 messages · Page 1 of 1 (latest)

vapid hearth
#

I'm trying to implement an attack animation, but it feels like it's being cut in half and like simplified?
Also wasn't sure what to tag this as, sorry :'(
also also, I am assuming this is a scripting error but I'm like brand new only been coding for like three days

foggy abyss
#

It ends in half cuz you're stopping the animation after 0.13s

vapid hearth
#

oh, well the animation should only be 0.13s long, or should it be like a full second?

foggy abyss
#

You don't set the animation duration in a script

#

You do it while creating the animation

#

So when the animation was made to last 1s and you stop it after 0.13s it's not gonna speed the animation up

#

It just stops there

vapid hearth
#

oh no, the animation was made to be 0.13s seconds, that's why I had it wait that long

foggy abyss
#

Instead of waiting 0.13s do AnimationPlay.Stopped:Connect(function()
--wait 0.05 here and set the denounce back
end)

#

And don't stop the animation manually

vapid hearth
#

unless I understood wrong the animation still looks the same

#

the only other thing I can think of that could be making it bug is that the tutorial I followed was for an r15 animation, so maybe there's a keyword I need to change?

foggy abyss
#

It has to be the animations fault then

vapid hearth
#

ah, is there a channel for animation in this server?

tight monolithBOT
#

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

foggy abyss
vapid hearth
#

oh, thank you im blind

sturdy niche
#

I was doing a combat system and i used animation.Ended:Wait() then i set the debounce to false after this, idk if it will work for you tho

vapid hearth
#

yeah it doesn't, Ima try just rewriting the whole thing

foggy abyss
#

Does your animation have the first and last frames the same

vapid hearth
#

no, I assumed if it wasn't going to loop I shouldn't

#

oh, I just tried it and I think I found out what was wrong

#

ima try something really quick

vapid hearth
#

the ai's fix did do something, so ima try to understand this

vapid hearth
#

I am so dumb, I just found out what weight is in animation -w-

tight monolithBOT
#

studio** You are now Level 2! **studio