Hello there, I made an animation that plays when someone touch a part, first the animation loads into humanoid and then It plays the animation, on my screen It all works fine but my friend says that he cant see the animation.
(Possible questions:
Is the animation and the game owned by you?
Yes, both of them
Is It a localscript or a normal script?
A normal script)
I suck at animations so I’ll be happy If someone helps me fix the problem, thanks!
Oh and also heres the part of the script that I’m using to play the animation:
--Inserting the anim
local animation = Instance.new("Animation")
animation.Name = "TA"
animation.Parent = Humanoid
animation.AnimationId = "rbxassetid://7931659911"
--Playing the animation
local AnimPlay = Humanoid:LoadAnimation(animation)
AnimPlay:Play()
The reason is probably because you owned the animation and your friend didn’t. The best way to do it is probably to make the owner of the animation a group that is associated with the game.
Animation replication has been a known issue for years, and as far as I’m aware theres still no fixes for this. Several threads over the years have picked this up and it still has issues replicating, or is inconsistent replicating.
Network ownership doesnt fix it either before someone hops in with the same ‘solution’ that doesnt work
-1. You’re Playing it From A local Script = This Normal works fine but its a bit buggy so I would Play it from the Server
-2. The Publisher of The Animation needs to be the same as the game that means when your game is published under group x but your animation is published as Me
I hope I could Help I also wouldn’t Parent it under the Humanoid and
don’t create a new animation I have a folder in my replicated storage called “Animation” and just use this as Script
local RS = game:GetService("ReplicatedStorage")
local Animations =RS:WaitForChild("Animations")
local TA = Animations:WaitForChild("TA")
I woud be very happy if you pin me as a solution so it helps people that have the same problem
This has been an issue for years. There really isn’t a fix. But it shouldn’t matter in the long run. You just have to make sure that you own all the animations and it should work fine for real players.