I suggest you read this post for proper post formatting: About the Scripting Support category
Anyways, line 3 is looking at the script’s parent, not the Part
that hit it. Change line 3 to:
if hit.Parent:FindFirstChildWhichIsA("Humanoid") then
I suggest you read this post for proper post formatting: About the Scripting Support category
Anyways, line 3 is looking at the script’s parent, not the Part
that hit it. Change line 3 to:
if hit.Parent:FindFirstChildWhichIsA("Humanoid") then