#damage isnt working.

1 messages · Page 1 of 1 (latest)

mild mango
heady gulch
#

.Touched only works when it collides through a physical action

#

use :FindPartsInPart() instead

mild mango
heady gulch
#
while true do
  task.wait()
  for _,i in pairs(workspace:GetPartsInPart(script.Parent)) do
    if i.Parent:FindFirstChild("Humanoid") then
      i.Parent.Humanoid:TakeDamage(script.Parent.Parent.damage.Value)
    end  
  end  
end

i can explain it if you want

mild mango
#

btw did roblox change

#

like

#

.touched

heady gulch
#

no

#

.touched only works in physical interactiond

mild mango
#

because it always used to do dmg if false cancollide

heady gulch
#

remember to add the owner condition btw

mild mango
fair brambleBOT
#

studio** You are now Level 1! **studio

heady gulch
#

whats the issue?

mild mango
#

same script

heady gulch
mild mango
#

it should do

#

but yeah btw @heady gulch thanks

heady gulch
#

it works now?

heady gulch