i have a lot of trouble with remote events, and i'm making a equip animation for a gun, can you guys correct me pls??
local player = game:GetService("Players").LocalPlayer
local equip_anima = script.Parent:WaitForChild("Equip")
equip_anima.OnServerEvent:Connect(function()
local animaequip = equip_anima:WaitForChild("Equiping")
local animaequiptrack = player.Character:WaitForChild("Humanoid"):LoadAnimation(animaequip)
animaequiptrack:Play()
end)

2 comments
i dont see anywhere where "player" is defined. it should be the parameter of "OnServerEvent". it wouldnt hurt to make better variable names either!
just putting this out there for you, but the whole point of variables is so that you can assign a long line of code or something to a short variable. So what that means is don't make a variable name that is almost as long as the line of code you're trying to simplify.