so i made a trap with region3 here is the code
local RegionPart = game.Workspace.Level1.Traps.trap.KillArea
local pos1 = RegionPart.Position - (RegionPart.Size / 2)
local pos2 = RegionPart.Position + (RegionPart.Size / 2)
local region = Region3.new(pos1, pos2)
RegionPart:Destroy()
while true do
wait()
local partsInRegion = workspace:FindPartsInRegion3(region, nil, 1000)
for i, part in pairs(partsInRegion) do
if part.Parent:FindFirstChild("Humanoid") ~= nil then
local char = part.Parent
char.Humanoid:TakeDamage(99)
end
end
end
the problem is it takes to long to kill you so i can run right through the kill area if i want to die i have to stand there for a while i did not put any waits or anything
help would be awesome

2 comments
This won't work, you need to loop through the partsInRegion and add a touched event individually.
yeah this does not work