Loading...

Kill part help | Forum

Atari
Atari Apr 22 '25

27 Posts

May someone give me the script for a kill part in the 2014 client


Thank you

cazum9
cazum9 Apr 23 '25

91 Posts

Put this in a script and its parent being a part:


--This works for players and humanoids


local Part = script.Parent


Part.Touched:connect(function(instance)

  if instance.Parent:findFirstChild("Humanoid") then

        instance.Parent.Humanoid.Health = 0

  end

end)


Atari
Atari Apr 23 '25

27 Posts


Quote from cazum9

Put this in a script and its parent being a part:


--This works for players and humanoids


local Part = script.Parent


Part.Touched:connect(function(instance)

  if instance.Parent:findFirstChild("Humanoid") then

        instance.Parent.Humanoid.Health = 0

  end

end)



Thank you! I will be crediting you in Atari's obby 
nchay41
nchay41 Aug 22 '25

88 Posts

oh nvm it doesn't exist anymore