Using adjustspeed to “pause” a character’s animations, only works a fraction of the time,
the print shows the animations that are playing, but they almost never are affected
if status.Class == "freeze" then
for _, tracks in pairs(animator:GetPlayingAnimationTracks()) do
print(tracks)
tracks:AdjustSpeed(0)
return
end
end
1 Like
DataSigh
(DataSigh)
2
Your issue is that you’re breaking out of the for loop because of the return Removing it should work:
if status.Class == "freeze" then
for _, tracks in pairs(animator:GetPlayingAnimationTracks()) do
print(tracks)
tracks:AdjustSpeed(0)
end
end
XXXTMS
(tms)
3
Couldn’t you just do tracks:Stop()? Also remove the return, I don’t think it is required
DataSigh
(DataSigh)
4
Stop ends the animation, but adjusting its speed freezes the characters animation position
thanks, i keep overlooking the most obvious things lol
1 Like
system
(system)
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.