Yeah so uhh i wrote this code ```lua
local DefaultAnimations = {}
task.spawn(function()
AnimateScript.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Animation") then
DefaultAnimations[descendant.Name] = descendant
end
end)
AnimateScript.DescendantRemoving:Connect(function(descendant)
if descendant:IsA("Animation") then
DefaultAnimations[descendant.Name] = nil
end
end)
for i, v in ipairs(AnimateScript:GetDescendants()) do
if v:IsA("Animation") then
DefaultAnimations[v.Name] = v
end
end
end)
local function PauseFromPlayingDefaultAnimations()
local AnimateScript = GetCharacter():WaitForChild("Animate")
AnimateScript.Enabled = false
for i,v in ipairs(GetAnimator():GetPlayingAnimationTracks()) do
if DefaultAnimations[v.Name] then
v:Stop()
end
task.wait()
end
end
local function UnpauseFromPlayingDefaultAnimations()
AnimateScript.Enabled = true
endthat pauses the Animate script then stops the default animations and more but when i calllua UnpauseFromPlayingDefaultAnimations()``` in the air it does the idle animation instead of the falling animation until i hit the ground so does anybody know how to fix this
** You are now Level 2! **