“Bunuh skrip bata roblox” Kode Jawaban

roblox bunuh naskah bata

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
MrMuppetTheMan

roblox bagaimana membuat bata membunuh

local killBrick = -- index your kill brick here

local function onTouched(hit)
	local humanoid = hit.Parent:FindFirstChild("Humanoid")
	if humanoid ~= nil then
		humanoid:TakeDamage(humanoid.MaxHealth)
    	-- doesn't kill if a ForceField is guarding the Character
	end
end

killBrick.Touched:Connect(onTouched)
tomsterBG

Bunuh skrip bata roblox

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

script.Parent.Touched:Connect(onTouched)
Motionless Manatee

Jawaban yang mirip dengan “Bunuh skrip bata roblox”

Pertanyaan yang mirip dengan “Bunuh skrip bata roblox”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya