I am a pretty new coder making a ball game where the point is basically that, if you dash into another player/ball they get killed. So to make the ball I took an R6 dummy and inserted a sphere part. But when i try to use the regular Touched nothing happens. I was thinking maybe the part I used in the dummy doesnt count as a bodypart? Because I kind of just made it barely bigger than the dummy and made all the other body parts uncollidable and totally transparent.
So what I wanna do is kind of
function (Touched)
if ThePartThatTouched = Game.Workspace.Map then
print ("Map")
else
print ("else")
if ThePartThatTouched = NameOfTheSphereIUsedInTheDummy
ThePartThatTouched:FindFirstChild("Humanoid").Health = 0
end
end
script.Parent.TouchesAnotherPart (Touched)
Thank you very much for reading!

1 comment
why not add a script in the part that kills the player if it touches it make like a hitbox on the player