I've tried with this script and many other scripts but they only damage 1 person at a time
local trapPart = script.Parent
local Debounce = false
local function onPartTouch(otherPart)
local partParent = otherPart.Parent
local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
if ( humanoid ) then
if Debounce == false then
Debounce = true
humanoid:TakeDamage(5.5)
wait(0.2)
Debounce = false
end
end
end
trapPart.Touched:Connect(onPartTouch)

2 comments
Yeah! Thanks so much it works now :^)
You can just use Part:GetTouchingParts()