local player = game:GetService("Players").LocalPlayer local function SetUpAnims() local character = player.Character or player.CharacterAdded:Wait() local animate = character:WaitForChild("Animate") local anims = { idle = "http://www.roblox.com/asset/?id=112047311902723", walk = "http://www.roblox.com/asset/?id=111787391060096", run = "http://www.roblox.com/asset/?id=127553436228201" } animate:WaitForChild("idle"):WaitForChild("Animation1").AnimationId = anims.idle animate:WaitForChild("idle"):WaitForChild("Animation2").AnimationId = anims.idle animate:WaitForChild("walk"):WaitForChild("WalkAnim").AnimationId = anims.walk animate:WaitForChild("run"):WaitForChild("RunAnim").AnimationId = anims.run end SetUpAnims() player.CharacterAdded:Connect(SetUpAnims)