Answers for "make a kill brick roblox studio"

2

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
1

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

Code answers related to "make a kill brick roblox studio"

Browse Popular Code Answers by Language