Actually, it is quite a grey area. Fanfic&#x2F;spec scripts could be considered derivative works and therefore infringe on the copyright on the original work, but there are provisions for fair use and parody.