Luau Make Kill Brick

[Solved] Luau Make Kill Brick | Lua - Code Explorer | yomemimo.com
Question : luau how to make a kill brick

Answered by : tomsterbg

local killBrick = -- index your kill brick here
local function onTouched(hit)	local humanoid = hit.Parent:FindFirstChild("Humanoid")	if humanoid == nil then return end	humanoid:TakeDamage(humanoid.MaxHealth) -- doesn't kill if a ForceField is guarding the Character
end
killBrick.Touched:Connect(onTouched)

Source : | Last Update : Sat, 14 May 22

Answers related to luau make kill brick

Code Explorer Popular Question For Lua