I want to put my Mouse.Button1Down and Mouse.Button1Up in only one debounce. I don't know if it's even possible and how.
script.Parent.Equipped:Connect(function(mouse)
mouse.Button1Down:Connect(function()
lunge:Play()
end)
mouse.Button1Up:Connect(function()
lunge:Stop()
slash:Play()
wait(1)
slash:Stop()
script.Parent.Blade.Touched:Connect(function(hit)
if CanDamage.Value == true then
CanDamage.Value = false
hit.Parent.Humanoid:TakeDamage(damage)
end
end)
end)
end)

1 comment
Yes.