Making an suicide attempt for attention often goes very badly. Like @pannazidofski said, have you tried talking to 'them' yet?
I HIGHLY recommend NOT attempting, for attention, especially if you prefer not to die, since it is obviously dangerous..maybe even with long-lasting damage, depending on the method.
Maybe there are better ways to get attention and compassion from whomever you seek it (family?).
There is a resources compilation in the suicide discussion section of this website. I highly recommend that you spend hours reading over this info to decide on a method, if you truly want to attempt suicide. Again though, I highly recommend reconsidering your potential attempt.
I will admit, that sometimes you can get attention from attempting, but it's very risky, which is why I don't recommend it.
I wish you the best.