Hi, i'm trying to override the animations of the player, but the walk animation does not work, it just comes as the legs and arms straight together. Here is my script - it is a normal script located in Server Script Service:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
warn("forcing out regular anims, replacing...")
wait(3)
char.Animate:WaitForChild("jump"):WaitForChild("JumpAnim").AnimationId = "http://www.roblox.com/asset/?id=507765000"
print("jump")
wait(0.2)
char.Animate:WaitForChild("fall"):WaitForChild("FallAnim").AnimationId = "http://www.roblox.com/asset/?id=507767968"
print("fall")
wait(0.2)
char.Animate:WaitForChild("walk"):WaitForChild("WalkAnim").AnimationId = "http://www.roblox.com/asset/?id=507777826"
wait(0.2)
print("walk")
char.Animate:WaitForChild("run"):WaitForChild("RunAnim").AnimationId = "http://www.roblox.com/asset/?id=5077677142"
print("run")
wait(0.2)
char.Animate:WaitForChild("idle"):WaitForChild("Animation1").AnimationId = "http://www.roblox.com/asset/?id=507766388"
char.Animate:WaitForChild("idle"):WaitForChild("Animation1"):WaitForChild("Weight").Value = 9
wait(0.075)
char.Animate:WaitForChild("idle"):WaitForChild("Animation2").AnimationId = "http://www.roblox.com/asset/?id=507766666"
char.Animate:WaitForChild("idle"):WaitForChild("Animation2"):WaitForChild("Weight").Value = 1
print("idle")
wait(1)
end)
end)
Line 11 is my target that i'm confused on. It is the default animation for moving, yet, as i said, the player comes out as it's legs and arms straight. This script is for r15 character only.
Could i have some help please?
Thanks in advance, DarxMasterX

3 comments
For some reason the lines were too long, so line 11 which is my target spills a little bit onto line 12
did you check the animation priorities?
yes, they are exactly as they are meant to be