I have a bunch of local scripts that I want to put into 1 to be more organized. I dont know how to make them all work in 1 local script. I was thinking of "couroutine.create(function()" but it wasnt working. Any help?
COMMUNITY QUESTION
How would I put multiple local scripts into one local script?
1 answer
If you want to a REALLY rudimentary mix, you could just use spawn(), although personally I think you should personally make sure you want to do it in every aspect.
spawn(function()
-- Code of one local script
end)
spawn(function()
-- Code of second local script
end)
spawn(function()
-- Code of third local script
end)
This is personally a really bad, but possible way of doing it.
1 comment
0
i got it to work with coroutine.create, thanks for trying tho
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
=u=; Maybe if we could see some of the code you're trying to splice together we could help a bit more. With the context we have so far the only thing I can say is either use coroutines or mash the bits together and hope for the best.