part.Touched:Connect(function(part)

                local incase = false

    local humanoid = part.Parent:FindFirstChild("Humanoid")
     local rot = part.Parent:FindFirstChild("HumanoidRootPart")
    if part.Name == char.Name then
        incase = true
    end

    if (humanoid ~= nil)  and  incase == false then 

humanoid.Health = humanoid.Health -1.2

humanoid.WalkSpeed = humanoid.WalkSpeed -.3
        --
    end 



                -------------
            end)

1 comment