Won't damage the opponent. :( What did I do wrong?
script.Parent.Handle.Blade.Touched:Connect(function(hit) if script.Parent.IsPaused.Value == false then if game.Players:GetPlayerFromCharacter(hit.Parent) then local humanoid = hit.Parent.Humanoid humanoid.Health:TakeDamage(script.Parent.Damage) script.Parent.IsPaused.Value = true wait(1) script.Parent.IsPaused.Value = false end end end)