local Players = game:GetService("Players")
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
for _, playingTracks in pairs(humanoid:GetPlayingAnimationTracks()) do
playingTracks:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
animateScript.fall.FallAnim.AnimationId = "rbxassetid:// asset id here" -- Fall
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
this will play the animation during the falling state, but if you want to change it you would have to later on have to
characater.Humanoid.StateChanged:Connect(function(old,new)
if new == End.HumanoidStateType.Freefall then
local animateScript = character:WaitForChild("Animate")
animateScript.fall.FallAnim.AnimationId = "rbxassetid:// new asset id here" -- Fall
end
end
end)