I am new to using RemoteEvents and been trying to play a death animation on a NPC with FilteringEnabled on. How could I do it so that all clients or players can see the animation?
COMMUNITY QUESTION
How can I play a death animation in a NPC using a RemoteFunction with FilteringEnabled on?
1 answer
NPC.Humanoid.Died:connect(function()
[remotelocationhere].REMOTENAME:FireAllClients()
end)
[remotelocation].OnClientEvent:connect(function()
[insert animation ids]
animation:Play()
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I tried this, I get a error in the Server Log saying, "OnClientEvent can only be used on the client"