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)

3 comments
"script.Parent.Damage.Value"? is it like an interger value or a nimber value?
number
Do you have an animation in the sword?