^^^ I tried that it didn't work
// add instance field
private boolean soundPlayed;
// the 'if' block
if (getX() == 1185 && !soundPlayed)
{
getWorld().addObject(new Label(), 400, 249);
soundSound.play();
soundPlayed = true;
}