Animations not playing on server

Not working.
I loaded animations on the server-side and sent a table with loaded animations to the client.

Server Side

local animate = Instance.new("RemoteFunction", game.ReplicatedStorage)
animate.Name = "Animate"

function animate.OnServerInvoke(plr, hum, anms)
	local anmtable = {}
	for _,v in pairs(anms) do
		anmtable[v.Name] = hum:LoadAnimation(v)
	end
	
	animate:InvokeClient(plr, anmtable)
end

Client:

local anms = game.ReplicatedStorage:WaitForChild("Animate")
local anmtable

anms:InvokeServer(hum, game.ReplicatedStorage.Anims.Player:GetChildren())

function anms.OnClientInvoke(t)
anmtable = t
end
1 Like