THIS IS SOLLLVVVEDDDD!!!!!!!!
So I remember a way that you could make a new script within a script and could make the new script have code in it.
It was something like this:
local script=Instance.new("Script")
script. I DONT KNOW WHAT TO PUT HERE = [[
print("Hello world!")
-- You could put a whole script in here.
]]

3 comments
I know how to use functions..... Also, I want to make a new script with Instance.new() with code inside.
I think downvoting may have been a little unfair, but whatever, will edit...
Edited with some new info, sorry for not reading the question