Please, its urgent, and been happening for days now. I am using the Humanoid’s Animator to load the animation, and its giving me this error.
I don’t know what to do, I have tried everything I seen.
Please, its urgent, and been happening for days now. I am using the Humanoid’s Animator to load the animation, and its giving me this error.
[quote="TheSpecialNone, post:1, topic:1956681"]
S'il vous plaît, c'est urgent et cela se passe depuis des jours maintenant.
[/quote]
for category,value in pairs(Animations) do
if category == Subcategory then
for name,ID in pairs(value) do
local AnimID = string.gsub(ID["ID"], "%D", "")
local button = ReplicatedStorage.Extras.AnimButton:Clone()
button.Name = ID["Name"]
local PreviewAnim = Instance.new("Animation")
PreviewAnim.Name = ID["Name"]
PreviewAnim.AnimationId = "rbxassetid://"..AnimID
PreviewAnim.Parent = button
local Track = button.ViewportFrame.WorldModel.Dummy:WaitForChild("Humanoid"):LoadAnimation(PreviewAnim)
button.Parent = script.Parent.ItemLayout
end
end
end
Uh? What is this meant to do to solve the solution??
I tried this, still won’t work. This is how I am loading my animations:
local anim
local success, err = pcall(function()
local Animator = Humanoid:WaitForChild("Animator")
anim = Animator:LoadAnimation(script.Parent:WaitForChild("Animations"):WaitForChild("T_F"))
end)
Even when trying multiple methods, it is still failing to work. Methods I used:
The Humanoid:LoadAnimation()
has been deprecated. Deprecating LoadAnimation on Humanoid and AnimationController
For anyone who needs the solution, I have figured it out. I know the last reply to this topic was 4 months ago, but I am posting this for other people coming to this topic.
Here is the fix.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.