Police in Attleboro are investigating a racial slur found written on playground equipment at an elementary school this week.