If statement not working

It is checking if inside the blocks name is “Block” or Invisi then delete it but the print(HitParts.Name) is returning Baseplate

if HitParts.Name == "Block" or "Invisi" then
				Part = HitParts

Fixed it, It needs to be

if HitParts.Name == "Block" or HitParts.Name == "Invisi" then

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.