Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't this kill?

Asked by 9 years ago
script.Parent.Touched:connect(function(hit)
    local human = hit.Parent:FindFirstChild("Humanoid")
    if human then
        if hit.Parent.Name ~= script.Parent.Parent.Parent.Owner.Value then
            human.Health = 0
        end
    end
end)

It doesn't kill, I moved a clone of me named "Model" through after claiming, and the value was "Player"

0
Was there anything in the output? Grenaderade 525 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

Its cause when u take a model of yourself the body parts in the model and everything in there has to be named too thanks if it didnt help lemme see what i can do

Ad

Answer this question