Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to disable all animations?

Asked by
Galicate 106
5 years ago

Im making custom animations for my character, and I want it so that when i press "S" instead of playing the forwards walking animation while moving backwards, there is a custom backwards walking animation and so on. So how can I remove all animations?

0
You need to make a script that will delete existing Animate script inside character and paste your Animate script with Custom Animations AswormeDorijan111 531 — 5y
0
Just copy the Animate script from your character in studio, paste it in StarterCharacterScripts, and replace all the default animations with your custom-made animations. The Animate script in StarterCharacterScripts will overwrite the default one Rare_tendo 3000 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

if you want to disable all animations in your game, use this:

for _, descendant in pairs(workspace:GetDescendants())do
if descendant:IsA("Animation") then
        descendant:Stop()
    end
end)
Ad

Answer this question