I have tried to write gear removers but they haven't worked. I wanna know how i would go by making a block that would make it so that you can't deal any damage with a sword.
Try this
Add a script into the part
script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.MaxHealth = math.huge hit.Parent.Humanoid.Health = hit.Parent.Humanoid.MaxHealth end end) script.Parent.TouchEnded:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.MaxHealth = 100 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.MaxHealth end end)