Problems with .Changed string

I’m currently working on a script that identifies when a sound has stopped playing, and loops the sound if a value is True. I’m having an issue with having the script identify when the sound has stopped playing, I don’t know of any other ways to solve this error.

image
(Error is happening from lines 10-19)

EDIT: I can’t just loop the sounds and have a value trigger it that way, the sounds are different lengths by about one tenth of a second and over time they get thrown off.

Have you tried using Sound.Ended?