How to insert a value into a script.Source function

Hello!

I want to be able to insert a value into a script.source function and have it successfully go into the other script without it not showing up as my attempts have been showing.

I was able to get the other lines sent to the script but as soon as I inserted the value, everything but that value sent through.

I tried this:
NewScript.Source ="line1\nline2\n"..CHNPC.AudioID.Value.."\nline3"

but the output was:

line1
line2

line3

Have you made sure that CHNPC.AudioID.Value isn’t nil?

Also, I’m assuming you’re trying to make a plugin? Script.Source is a locked property and doesn’t work except if it runs in a plugin environment.