activities the damage

script.Parent.Activated:Connect(function()
    if not bussy then
        bussy = true
        takedamage = true
script.Parent.Handle.Script.Disabled = false    
    aim.Slash:Play()
    script.Parent.Trail.Transparency = NumberSequence.new(.5)
    wait(1)
    bussy = false
    takedamage = false
    script.Parent.Handle.Script.Disabled = true
    script.Parent.Trail.Transparency = NumberSequence.new(1)
    end

sword damage

script.Parent.Touched:Connect(function(part) -- its disabled at first 


        local humanoid = part.Parent:FindFirstChild("Humanoid") 
    if (humanoid ~= nil) then

        humanoid:TakeDamage(25)
        script.Parent.Script.Disabled = true




        end
        end)

1 comment

0

Please do not repost a moderated question. https://scriptinghelpers.org/help/how-post-good-questions-answers