function hit()
print("got it")
if hit.Parent:FindFirstChild("Humanoid") then
print("ayy")
end
end
script.Parent.Lighten.Touched:Connect(hit)
script.Parent.Lighten2.Touched:Connect(hit)
It's in a script which has other things too It doesn't print anything too.

2 comments
fail, the humanoid won't be inside the part
my bad xd