when the player activates the tool from a server script a remoteEvent picks up and should play the animation, but nothing is happening. even when the animation priority is set to Action. Please help!
local tool = script.Parent
local remoteEvent = tool:WaitForChild("RemoteEvent1")
remoteEvent.OnClientEvent:Connect(function()
print("p")
local animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Animation)
animation:Play()
end)

1 comment
You don't need a remote event for that, animations are replicated from client to server