How do i make the blackhole part hit all the players it touches but not loop the damage so it wont instantly kill the player
touch = true
blackhole.Touched:connect(function(hit)
local ehum = hit.Parent:findFirstChild("Humanoid")
if ehum and ehum ~= hum then
local target = hit.Parent
if touch == true then -- If i take this off, it would hit all the players
touch = false -- but also loop the damage and instantly kill them
ehum:TakeDamage(35)
ehum.Sit = true
wait(0.1)
target.Torso.Anchored = true
wait(3)
target.Torso.Anchored = false
end
Please help me if you can

1 comment
You're missing an "end", and you never defined "hum".