For some reason, if the test and playerP are == to each other it will run. In testing both the test and playerP will equal the player's name.
local PLAYERS = game:GetService("Players")
local playerP = PLAYERS.LocalPlayer
game.ReplicatedStorage.RemoveNPC.OnClientEvent:Connect(function(test)
print("Fired")
print(test)
print(playerP)
if playerP ~= test then
print("B")
local way = game.Workspace:WaitForChild("wayFind")
way:Destroy()
print("E")
end
end)

2 comments
Try using not (playerP == test)
I am using ~=