I didnt go that deep into the script, but just a quick reminder: hit.Parent is a character and not a player, so ur selection table now looks like this:
local selection = {"Character", "Character"}
therefore v is not equal to el, use GetPlayerFromCharacter() to get player