It doesn't show any errors with the local script but only the animations do not run.
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
repeat wait() until plr.Character.Parent == workspace.FlightModel
repeat wait()until plr.Character.Parent == workspace
mouse.KeyDown:Connect(function(key)
key = key:lower()
if key == "w" or key == "a" or key == "s" or key == "d" then
plr.Character.Animate.fall.FallAnim.AnimationId = "rbxassetid://2269489808"
while true do
wait(.1)
plr.Character.LowerTorso.BodyVelocity.Velocity = Vector3.new(plr.Character.Humanoid.MoveDirection.X * 100, plr.Character.LowerTorso.BodyVelocity.Velocity.y, plr.Character.Humanoid.MoveDirection.Z * 100)
end
end
end)
mouse.KeyUp:Connect(function(key)
key = key:lower()
if key == "w" or key == "a" or key == "s" or key == "d" then
plr.Character.Animate.fall.FallAnim.AnimationId = "rbxassetid://2230124960"
end
end)

2 comments
I suggest using UserInputService (https://wiki.roblox.com/index.php?title=API:Class/UserInputService) instead of KeyDown (deprecated), you're using it wrong.
Please post your script in a code block.