Answers for "kill brick script roblox"

1

roblox kill brick script

function onTouched(part)
	local h = part.Parent:findFirstChild("Humanoid")
	if h~=nil then
		h.Health = h.Health-100
	end
end
script.Parent.Touched:connect(onTouched)
-- Put this in the part you want it to work in
-- Message me for anymore help #Muppet6931
Posted by: Guest on February-26-2021
0

kill brick script roblox

function onTouched(Obj)
	local h = Obj.Parent:FindFirstChild("Humanoid")
	if h then
		h.Health = 0
	end
end

script.Parent.Touched:Connect(onTouched)
Posted by: Guest on May-30-2021

Browse Popular Code Answers by Language