User:TechNyanners/sandbox

Resistance fighters led by General Leia Organa evacuate their main base as a First Order fleet reaches them. Poe Dameron leads an effective counterattack which results in the destruction of a First Order juggernaut vessel, but costs The Resistance its remaining bomber-craft. The Resistance vessels jump into hyperspace to escape, but the First Order gives pursuit using a tracking device. TIE fighters are dispatched to destroy the bridge of the Resistance's lead ship, killing Admiral Ackbar and many Resistance leaders. Only Leia survives, by using the Force to save herself but is incapacitated, leaving Vice Admiral Amilyn Holdo in command. Disapproving of her passive strategy, Poe, Finn, BB-8, and mechanic Rose Tico embark on a secret plan to disable the tracking device.

Having arrived on Ahch-To with Chewbacca and R2-D2 aboard the Millennium Falcon, Rey meets Luke Skywalker. Luke refuses to initiate her in the ways of the Force because of his past failure with teaching Kylo, even after learning of Han Solo's death. Unbeknownst to Luke, Rey and Kylo begin communicating with each other through visions. Prompted by R2-D2, Luke eventually agrees to teach Rey. Luke and Kylo give Rey differing accounts of the incident that swayed Kylo toward the dark side, with Luke explained that he contemplated killing Kylo upon discovering his corruption by Supreme Leader Snoke, but only for a split second. Unfortunately, that was enough to convince Kylo that Luke intended to murder him, at which point Kylo turned to the dark side. Rey leaves Ahch-To to confront Kylo. After she departs, the force spirit of Yoda visits Luke to help him understand that failure is the greatest of teachers, and that being unafraid to fail is the true path of the Jedi.

Aboard the Resistance lead vessel, Poe instigates a mutiny against Holdo believing her leadership would see the Resistance destroyed. Finn, Rose, and BB-8 recruit the pirate and computer hacker DJ at a casino on Canto Bight, believing that he will be able to help them disable the tracking device. They infiltrate Snoke's ship, but are captured by Captain Phasma, though BB-8 manages to escape. Meanwhile, Rey lands on the same ship and is seized by Kylo, who takes her to Snoke. During a confrontation with Snoke, Rey tries to turn Kylo to the side of the Resistance. Snoke reveals that he controlled the mental connection between her and Kylo as part of a plan to destroy Luke. Ordered to kill Rey, Kylo instead kills Snoke and works together with Rey to kill Snoke's guards. Kylo invites Rey to rule the galaxy with him, but Rey refuses. Using the Force, they struggle for possession of Anakin Skywalker's lightsaber until they break it in two, and Rey escapes.

Leia, having recovered, incapacitates Poe and Holdo regains command. Holdo reveals that her plan had always been to quietly spirit away the Resistance's survivors, undetected, in the shadow of the command cruiser and to an old, secret Rebel Alliance base on the nearby planet Crait. Holdo remains on the ship to further distract The First Order. However, DJ reveals information about the Resistance's transport ships to The First Order, which then begins annihilating the escaping ships. So that at least some can survive, Holdo sacrifices herself by ramming Snoke's flagship at lightspeed, bringing the barrage to a halt. Enraged, Kylo declares himself the new Supreme Leader, and orders a massive deployment to the surface of Crait. As Snoke's flagship continues to burn and fall apart, BB-8 frees Rose and Finn. After Finn duels and beats Captain Phasma, they join up with the evacuation.

The First Order arrives outside the Rebel base's sealed entrance with massive artillery including AT-ATs and a battering cannon. Realizing the Resistance's survivors will be doomed if the battering-cannon is fired, Poe, Finn, and Rose lead a charge with old speeders. The charge is unsuccessful. Poe, Finn, and Rose are the only survivors, and then only because Rey arrives in the Millennium Falcon to draw away TIE fighter aerial support. The battering cannon blows open the base's entrance with a single shot.

Luke suddenly appears in the base and ventures out to stand before the assembled First Order forces, alone. Kylo orders all artillery to fire upon Luke in a massive barrage of firepower. However, when the smoke clears, Luke is shown standing and unfazed. Kylo takes to the ground to challenge Luke in a lightsaber duel. As the duel takes place, Kylo is unable to so much as contact Luke and when he finally does, he realizes he had been tricked. Luke was still on Ahch-On, and had used a Force projection to distract The First Order. The Resistance survivors had been using the time to escape via hidden cave pathways, before being rescued from the planet by Rey and the Falcon. Before recalling his Force projection, Luke promises Kylo that he will not be the last Jedi.

On Ahch-On, Luke is pleased he was able to save his friends and The Resistance. He sits to meditate and moments afterward, his body vanishes and the robes he was wearing float off as he joins with the Force. Leia and Rey suddenly become aware that Luke is gone, but are proud that he left peacefully and with purpose. As they escape, the Resistance survivors are content knowing that they have all they need for a new Rebellion to again take root.

On Canto Bright, a young boy goes outside underneath the night sky. He reaches out for a broom using the Force, and then gazes up into the stars.