I am relativity new to Filtering Enabled. I have ran into a problem with a script of mine:

  --Client Script
script.Parent.OnHumanoidAnim.OnClientEvent:Connect(function(plr, hum)
    
local animation = script.Parent.Animation
    
local Play = hum.Parent:FindFirstChild("Humanoid"):LoadAnimation(animation)
    
Play:Play()
    
end)

And

--Portion of the Server Script. It is long.
script.Parent.OnHumanoidAnim:FireClient(hit.Parent:FindFirstChild("Humanoid"))

1 comment

0

It's a tuple of arguments that the OnClientEvent function receives, excluding the player argument. The arguments fired by FireClient() must also be in the receiving function.