Here's the script in my sword:
script.Parent.Parent.Equipped:Connect(function()
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if hit.Parent.Name ~= script.Parent.Parent.Parent.Name then
if script.Parent.Parent.CanDamage.Value == true then
hit.Parent.Humanoid:TakeDamage(22)
end
end
end
end)
end)
No errors pop up or nothing :v

1 comment
I am not able to understand much by that script where the error is. as said by @alphexus try adding debounce and also can u send and image of explorer