INDIANAPOLIS—An accident Thursday night during ESPN’s X Games did more than break Travis Pastrana’s right foot and ankle.

The wreck during the Moto X Best Trick competition also knocked Pastrana out of his planned NASCAR Nationwide Series debut at Lucas Oil Raceway in Indianapolis.

Pastrana twice attempted a 720-degree Toilet Paper Roll on his motorcycle—in driving terms, a full flip with a full twist. He landed short both times, and in the second crash on the dirt landing ramp, the bike landed on his right leg.

Pastrana was carried on a stretcher from Staples Center in Los Angeles and transported to a local hospital, where X-rays confirmed the broken bones.

Pastrana-Waltrip Racing subsequently withdrew its entry in Saturday night’s Kroger 200 and sent its transporter back to North Carolina.

“We understood he might get hurt,” team owner Michael Waltrip said Friday at Indianapolis Motor Speedway. “Now, I wouldn’t tell you that I’m naive, and when I think of Travis Pastrana, I think of Superman. I just assumed it would all be OK. I sat around a big table with a bunch of Michael Waltrip Racing employees and friends, and when he fell over the first time and got back up and went again, I’m like, ‘Perfect. That’s Travis. He’ll get there.’

“And then on the second attempt, obviously we weren’t so fortunate. But, I got an amazing, sweet email from him last night saying how devastated he was, but how passionate he was about putting that behind him and getting on with his NASCAR career. We’re targeting Richmond (Sept. 9) as our next start. He’s going to work with his doctors and find out if that’s realistic and make sure that that is something that we can look forward to.

“I sent him a note and said, ‘I’m old now, so having something to look forward to is really important to me.’ ”