A terrifying scene unfolded on Wednesday at Grouse Mountain in Vancouver, British Columbia, as an 8-year-old skier was dangling precariously from the ski lift.

A group of teenagers on the mountain created a makeshift safety net to catch the boy.

The plan worked, and the teens were rewarded with season passes to the mountain.

A group of teenagers turned into a mountain rescue team on Wednesday after seeing an 8-year-old skier dangling from the ski lift.

At Grouse Mountain in Vancouver, British Columbia, the group worked together to quickly create a makeshift safety net to cushion the young skier's fall, CNN reported.

James MacDonald, 14, had the idea to use the orange netting used to indicate off-limits areas of the mountain as a trampoline to catch the boy, who was being held only by his father.

When MacDonald's friends Josh Ravensbergen, Gabriel Neilson, and Ethan Harvey caught up with him under the lift, each had a role in the rescue mission. While Ravensbergen helped a man strip some padding off one of the nearby poles to create a softer landing area, Neilson tried to keep the young boy calm.

With everything as set as it could be under the circumstances, they asked the boy to remove his skis and take the jump.

You can watch the whole thing play out below:

Julia Grant, a representative for Grouse Mountain, told CNN in a statement: "Safety is our top priority and we will be taking appropriate action based on the results of the investigation."

The president of Grouse Mountain, Michael Cameron, also met with the teens to thank them and offer them season passes.

The kids are all right.