Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My Animate Keep's Saying,"Failed To Load Animation"?

Asked by 6 years ago

The title says it all. Here is a portion of my animate code. is there anything I did wrong? I have all my joints in Torso named like they should. It works in studio but won't work in real Roblox!?!?

local Figure = script.Parent
local Torso = Figure:WaitForChild("Torso")
local RightShoulder = Torso:WaitForChild("Right Shoulder")
local LeftShoulder = Torso:WaitForChild("Left Shoulder")
local RightHip = Torso:WaitForChild("Right Hip")
local LeftHip = Torso:WaitForChild("Left Hip")
local Neck = Torso:WaitForChild("Neck")
local Humanoid = Figure:WaitForChild("Humanoid")
local pose = "Standing"

local currentAnim = ""
local currentAnimInstance = nil
local currentAnimTrack = nil
local currentAnimKeyframeHandler = nil
local currentAnimSpeed = 1.0
local animTable = {}
local animNames = { 
    idle =  {   
                { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
                { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
            },
    walk =  {   
                { id = "http://www.roblox.com/asset/?id=1190516399", weight = 10 } 
            }, 
    run =   {
                { id = "http://www.roblox.com/asset/?id=1190516399", weight = 10 } 
            }, 
    jump =  {
                { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 } 
            }, 
    fall =  {
                { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 } 
            }, 
    climb = {
                { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 } 
            }, 
    sit =   {
                { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 } 
            },  
    toolnone = {
                { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 } 
            },
    toolslash = {
                { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 } 
0
it must be a valid animation asset?? greatneil80 2647 — 6y
0
what do you mean valid animation asset? starblasto 43 — 6y
0
you have to own the animations for them to run or have them public Decemus 141 — 6y
0
I do own them. If it's a group game does it have to be from your group or owner? starblasto 43 — 6y

Answer this question