A state of emergency has been declared after three 12-year-old girls killed themselves — a year after 11 children attempted to take their lives in a nearby town.

Jenera Roundsky texted a friend to say goodbye before her body was found by another child near an outdoor hockey rink in Wapekeka First Nation in Canada last Tuesday.

She’s the third youngster to take her own life after Jolynn Winter, 12, died on Jan. 8, and Chantel Fox, also 12, was found dead two days later.

The girls are understood to have formed a suicide pact last summer and the town has now declared a state of emergency, according to CBC.

Chantel Fox’s uncle Joshua Frogg said Jenera had been in a mental health facility since the girls’ deaths but returned home a few weeks ago, against the wishes of community leaders.

Frogg told the broadcaster: “There was no plan of care, there was no safety plan for her.

“We don’t have enough personnel to keep watching people on a 24/7 basis that are at high risk, we try but we just don’t have the resources.”

He also said an 18-year-old boy sent home to the remote community after being treated at the same unit had attempted suicide that weekend.

Nearly 40 young people are considered to be at risk of suicide, which is the equivalent of about 10 percent of the population, according to CBC.

In declaring a national emergency, the town is requesting immediate help from Ontario, including funds and forms of aid.

Community officials reportedly first asked for help after becoming aware of a suicide pact last summer but claim it was slow to arrive.

It comes after the nearby town of Attawapiskat First Nation declared an emergency in April 2016, following the attempted suicides of 11 kids.

The indigenous community of just 2,000 people was said to be in the midst of a “suicide crisis” after there were 101 suicide attempts by people between the ages of 11 and 71 from September 2015 to April 2016.

Jackie Hookimaw, whose 13-year-old great-niece Sheridan was among those to take their own lives, described the extremes that parents are having to take.

She told the Mirror: “Parents and elders are having to lock away their kitchen knives and prescription pills so children don’t use them to kill themselves.”

Sheridan, who was mercilessly bullied for being overweight, made heartbreaking final recordings on her phone before hanging herself.

Officials said the town only had four health workers — none of whom was equipped to deal with mental health issues.

Suicide and self-inflicted injuries are among the top causes of death for First Nations, Métis and Inuit people, according to studies from Health Canada.

There are high levels of poverty among Canada’s 1.4 million indigenous people and life expectancy is far below the national average.