Like most of Shakespeare's plays, it was based off an existing story. It is mainly based off a 1588 play called "Pandosto" by Robert Greene. Shakespeare made less changes to the story than he would usually make. The main difference is that he changed it from a sad ending to a happy ending. Shakespeare made other, smaller changes. All the characters have different names, and Bohemia and Sicilia are swapped around.
l aɪ k WORD_BOUNDARY m oʊ s t WORD_BOUNDARY ə v WORD_BOUNDARY ʃ eɪ k s p ɪ ɹ z WORD_BOUNDARY p l eɪ z WORD_BOUNDARY ɪ t WORD_BOUNDARY w ʌ z WORD_BOUNDARY b eɪ s t WORD_BOUNDARY ɔ f WORD_BOUNDARY ʌ n WORD_BOUNDARY ɛ ɡ z ɪ s t ɪ ŋ WORD_BOUNDARY s t ɔ ɹ i WORD_BOUNDARY ɪ t WORD_BOUNDARY ɪ z WORD_BOUNDARY m eɪ n l i WORD_BOUNDARY b eɪ s t WORD_BOUNDARY ɔ f WORD_BOUNDARY ʌ WORD_BOUNDARY w ʌ n WORD_BOUNDARY θ aʊ z ə n d WORD_BOUNDARY f aɪ v h ʌ n d ɹ ɪ d WORD_BOUNDARY eɪ t i WORD_BOUNDARY eɪ t WORD_BOUNDARY p l eɪ WORD_BOUNDARY k ɔ l d WORD_BOUNDARY p æ n d ɑ s t oʊ WORD_BOUNDARY b aɪ WORD_BOUNDARY ɹ ɑ b ə ɹ t WORD_BOUNDARY ɡ ɹ iː n WORD_BOUNDARY ʃ eɪ k s p ɪ ɹ WORD_BOUNDARY m eɪ d WORD_BOUNDARY l ɛ s WORD_BOUNDARY t̠ʃ eɪ n d̠ʒ ɪ z WORD_BOUNDARY t ə WORD_BOUNDARY ð ə WORD_BOUNDARY s t ɔ ɹ i WORD_BOUNDARY ð ʌ n WORD_BOUNDARY h iː WORD_BOUNDARY w ʊ d WORD_BOUNDARY j uː ʒ uː ə l i WORD_BOUNDARY m eɪ k WORD_BOUNDARY ð ə WORD_BOUNDARY m eɪ n WORD_BOUNDARY d ɪ f ɹ ə n s WORD_BOUNDARY ɪ z WORD_BOUNDARY ð æ t WORD_BOUNDARY h iː WORD_BOUNDARY t̠ʃ eɪ n d̠ʒ d WORD_BOUNDARY ɪ t WORD_BOUNDARY f ɹ ʌ m WORD_BOUNDARY ʌ WORD_BOUNDARY s æ d WORD_BOUNDARY ɛ n d ɪ ŋ WORD_BOUNDARY t ʊ WORD_BOUNDARY ʌ WORD_BOUNDARY h æ p i WORD_BOUNDARY ɛ n d ɪ ŋ WORD_BOUNDARY ʃ eɪ k s p ɪ ɹ WORD_BOUNDARY m eɪ d WORD_BOUNDARY ʌ ð ə ɹ WORD_BOUNDARY s m ɔ l ə ɹ WORD_BOUNDARY t̠ʃ eɪ n d̠ʒ ɪ z WORD_BOUNDARY ɔ l WORD_BOUNDARY ð ə WORD_BOUNDARY k æ ɹ ɪ k t ə ɹ z WORD_BOUNDARY h æ v WORD_BOUNDARY d ɪ f ɹ ə n t WORD_BOUNDARY n eɪ m z WORD_BOUNDARY æ n d WORD_BOUNDARY b oʊ h iː m iə WORD_BOUNDARY æ n d WORD_BOUNDARY s ɪ s ɪ l iə WORD_BOUNDARY ɑ ɹ WORD_BOUNDARY s w ɑ p t WORD_BOUNDARY ə ɹ ɹ aʊ n d WORD_BOUNDARY