You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I’m trying to stop all animations that the player is currently playing
so i can use my custom animater -
What is the issue? Include screenshots / videos if possible!
The methods ive tried are not working, it halts the animator but the animations that were playing
dont actually stop
(context: im trying to remake the Slap Battles killstreak gloves phases, 250 having custom animations)
heres a demo of it not working, as you can see below the idle and the holding animations continue to play
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried solutions from other forum posts, shown below
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
char.Animate.Enabled = false
local Anims = char.Humanoid.Animator:GetPlayingAnimationTracks()
for _,animation in Anims do
animation:Stop()
end
for i,v in pairs(char.Humanoid:GetPlayingAnimationTracks()) do
v:Stop()
end
local humanoid = char:FindFirstChild("Humanoid")
if humanoid then
local animator = humanoid:FindFirstChild("Animator")
if animator then
local animations = animator:GetPlayingAnimationTracks()
for i = 1, #animations do
animations[i]:Stop()
end
end
If you require more info, I’m happy to answer
Sorry for any mistakes/errors i make/made
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.