Marvel took extreme measures to keep “Avengers: Infinity War” scripts a secret.

Marvel went through great lengths to keep the “Avengers: Infinity War” scripts a secret.

“They offered a room to sit in and read off an iPad for five hours in a room without anything else around you,” star Elizabeth Olsen said on ABC’s “Jimmy Kimmel Live” Thursday.

Most of the “Infinity War” cast didn’t even know what happened in the full movie until the premiere, because they were given fake scripts to help prevent leaks.

“We read scripts that were fake scripts and then they had fake twists and scenes that never were shot, and you’d talk to the director and they’d say, ‘All of that stuff at the end? Not happening.'”.

In an interview with “Total Film,” Bettany said the real scripts were on three protected iPads, which some people had a chance to read. Among the cast members who said they read the full script were Benedict Cumberbatch and Robert Downey Jr., but other cast members were deliberately kept from the script.

Tom Holland, who plays Spider-Man, was identified by some of his cast members as the “Least trustworthy” while on “Jimmy Kimmel Live.” He didn’t even know who he was fighting in the movie because he was told he was “Terrible at keeping secrets,” Holland told ComicBook.