system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: When a movie comes on tv and they swap out the curse words with other words who says the lines the actors? Or do the networks do it? Is there a separate script for that?
gpt
It depends on the movie.  Sometimes, they'll have the original actors record "clean" versions when they're doing the normal additional dialog recording after filming.   There's even some productions where they'll film takes with the "clean" dialog during principal photography.

Other times, they'll just use voice actors who can do a reasonable approximation of the original actor's voice.  They can also snip other bits of the original actor's dialog from mother places in the movie to replace the swear words.

In general, the "clean" versions don't show up in the script since they're done well after the fact unless it's one of the cases where they shoot alternate scenes during filming.