Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why won't this kill?

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"

1 comment

0

Was there anything in the output?

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.