Hello to everyone who is reading this post.
I have a problem and it is that the animations do not load
As you can see the animation does not load
But the only one who does charge the animations is the owner, that is, my friend, but only within roblox studio
but if he goes to the roblox player and enters the game it does not load
As you can see in those two images, the only one who can see the animations is the owner of the animations except the other users.
Does anyone know why it is?
Edit:
this is the error that appears
4 Likes
Roblox does not allow you to use other people’s animations, in order to use animations in your game, they have to be owned by you. Recently, i’ve had a problem with the Failed to load animation - sanitized ID , but then a friend came to me and gave me an exotic solution for this problem
I do not recommend using this often, this might be an engine bug that will be fixed later, but for now, here’s what you can do:
I’ve been using a ReplicatedStorage folder called “Animations”, wich contained Animation objects in there, just like this:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local AnimationsFolder = ReplicatedStorage.Animations
my friends solutions was, instead of getting this said animation i just created, you can parent an animation object to your script:
local Animations = script.Animations
local EXAnimation = Animations.ExampleAnimation
hope it helps those who are struggling with this, if i missed something, or said anything wrong, please tell me!
Thank you @ALittleMeyye for helping me with this
Reference used: ( Sanitized ID - Solution from a friend of mine )
hope this helps.
4 Likes
Then I make a folder in replicatedstorage and put the animations there?
1 Like
you put a folder inside your script and place your animations into it.
2 Likes
type I create a localscript in replicatedstorage?
1 Like
wherever your script that handles animations is (assuming you have one,) place the folder in there.
1 Like
or exactly how I have to do it
1 Like
You can organize your animations like so:
and reference it in a script (assuming its a LocalScript) like this:
you dont have to place your script into ReolicatedFirst, i just chose it for example purposes.
3 Likes
Thank you very much and sorry for wasting your time.
1 Like
No it’s fine, asking for help is never a waste, i’m glad you were able to get it working.
1 Like
I was having a problem with my tool animation but i tried this and it didnt work, i made a topic here: My animation wont work - Help and Feedback / Scripting Support - Developer Forum | Roblox
1 Like
from what i’ve read, post 4 should be the solution, have you tried it yet?
try playing the anim using a animator by placing the animator into the humanoid and coding it like this:
local animator = humanoid:WaitForChild("Animator")
local loadanim = animator:LoadAnimation(anim)
2 Likes