You can write your topic however you want, but you need to answer these questions:
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.
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’”.
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
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 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.
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)