CHANDLER, Ariz. — It was an unreal moment during the final seconds of Basha High School's varsity basketball game against rival Perry High School on Tuesday night.
With just four seconds left in the game, Basha's #24 Trenton McLaughlin took a page out of the Mamba's playbook.
The 6'4" junior threw up a desperate three-pointer as the crowd chanted "Kobe" -- the legendary basketball player whose number McLaughlin wears.
"I knew if it was going to go in it had to be a bank. It was just an unbelievable moment," McLaughlin said.
McLaughlin nailed the shot and won the game for his team in the final seconds -- an amazing clutch shot like basketball fans had seen before from Lakers superstar Kobe Bryant.
The crowd went crazy, chanting "Kobe" as they stormed the court after the big win.
"Kobe definitely played a part in it," McLaughlin said. "Right when I hit the shot, I was just swarmed by people wearing Kobe jerseys."
The teen has been a Kobe fan for most of his life.
Basha's head coach Mike Grothaus said the final play was drawn up for McLaughlin, the team's best player and college prospect.
Coach Grothaus admitted the play was taken from the head coach of the Boston Celtics, ironically, the longtime rival of the Lakers.
"A rivalry game, you know it just came down to the wire. We had an opportunity to make a big play and Trent McLaughlin hit a great shot," Grothaus said.
The unbelievable shot was made as the world continues to mourn the loss of Bryant, who was killed in a helicopter crash near Los Angeles Sunday that claimed the lives of 8 others, including his 13-year-old daughter Gianna.
RELATED: 'She was extraordinary': Husband of woman killed in Kobe Bryant helicopter crash grapples with loss
The video capturing the game-winning shot has made its rounds on social media. The video has been viewed more than 700,000 times.