Hi, I’m making an ability thing where the animation plays on the server and effects are on client.
I have ran into 1 problem. When im firing a RemoteEvent to clients with AnimationTrack as a second argument, it does not transfer there and becomes nil.
When I’m trying to detect animation through
Animator:GetPlayingAnimationTracks(), the AnimationTrack’s name is just “Animation” and it’s Animation’s object parent is nil, though it’s AnimationId is still the same.
Is it possible to fix or would it be better to handle animations on client?
local Animation = Character.Humanoid.Animator:LoadAnimation(path to animation) Animation:Play() EffectsRemote:FireAllClients(Character, Animation)
EffectsRemote.OnClientEvent:Connect(function(Character, Animation) print(Animation) --nil end)