Animation playing problems

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    A loop holding animation that makes the player hold a tool with both arms.

  2. What is the issue? Include screenshots / videos if possible!
    It gives me 2 errors, “MeshContentProvider failed to process https://assetdelivery.roblox.com/v1/asset?id=0 because ‘could not fetch’” and “Players.T0I_C.Backpack.Starter.LocalScript:23: attempt to index nil with ‘LoadAnimation’”.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Adding ID and some properties, no.
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Non-players should not be having humanoids, instead they should be having “AnimationControllers”. Also if the provider could not find the asset id then it probably does not exist. Check the id of your animation in the animation editor and copy the id once you publish it

I did, i published an animation called TOOL2 and copied the id, the id looks weird because of that one randomized id update.

Just to be safe, copy the ID (the second set of numbers in the link to your animation) and paste it into a animation instance, and copy the id from thetr

I tried, the id is the same.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

I asked gpt because I don’t know what’s the problem if you say the link is the same
Network Issues: There might be a temporary network issue or a problem with the internet connection that is preventing Roblox Studio from accessing the asset.

Asset Availability: The asset you’re trying to access might be temporarily unavailable or has been removed from the Roblox server.

Incorrect URL: The URL might be incorrect or malformed. Double-check the asset ID and ensure it is valid.

Permissions: The asset might be private or restricted, and you might not have the necessary permissions to access it.

Roblox Service Status: Occasionally, Roblox services experience outages or disruptions. Checking Roblox’s status page or forums for any ongoing issues might help.

The only one thats close is the “Asset Availability” one. Plus the animation is mine.

Then there’s no other possible explanation, send me a pic of the link to your animation. I’m going to see whether there’s an error in the numbers

Before that, i did find a tag in the keyframe string for TOOL2 and the tag is numbers similar to an id.

Hmm try that? I’m at a loss

Charlimmmmmmit

Nothing, just a deleted shirt texture.

Heres the link: TOOLH - Roblox

Also, switch to R6 to see the holding pose.

Do not use IDs on LoadAnimation, use Animations instead. You can create one in explorer.

Animation.AnimationId = "rbxassetid://ActualAnimId"
local Track = script.Parent:FindFirstChild("Humanoid").Animatior:LoadAnimation(Animation)
1 Like

I did that before, but it didnt work. The ID was a third failed solution.

Can you paste your script please?

local Tool = script.Parent
local RemoteEvent = Tool:WaitForChild("RemoteEvent")
local Players = game:GetService("Players")
local User = Players.LocalPlayer
local Mouse = User:GetMouse()
local Character = User.Character or User.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")

Tool.Activated:Connect(function()
	if Tool.Parent.Name == "Backpack" then return end
	local root = Tool.Parent:FindFirstChild("HumanoidRootPart")
	if not root then return end
	RemoteEvent:FireServer((Mouse.Hit.Position - root.Position).Unit)
end)

while Humanoid:IsDescendantOf(workspace) == false do
	Humanoid.AncestryChanged:Wait()
end

local Animation = Instance.new("Animation")
Animation.AnimationId = "https://assetdelivery.roblox.com/v1/asset?id=111017572193713"
Animation.Parent = script.Parent
local AnimationTrack = script.Parent:FindFirstChild("Humanoid"):LoadAnimation(Animation)

Tool.Equipped:Connect(function()
	AnimationTrack:Play()
end)

Tool.Unequipped:Connect(function()
	AnimationTrack:Stop()
end)

OHH wait, you’re using the wrong symbols quotes, you’re suppose to use " " not “

You need to replace symbol with the correct quotations.

image

Already replaced, currently testing the new code.

And be sure to replace "https://assetdelivery.roblox.com/v1/asset?id=111017572193713" with rbxassetid://111017572193713