As the title suggests, is there a way to run multiple functions at the same time, in the same script? Or do I need to use multiple scripts?
There are a few other posts with a similar topic but they don’t really help me that much
Basically what im trying to do is:
local function Function1()
--do stuff
end
local function Function2()
--do more stuff
end
Function1()
Function2()
Its only running one function after the other finishes. Any explanation would be appreciated since Im still new to coding
I use coroutine.wrap(TheFunction)() which allows to run functions without Yielding. If you have parameters you add them like coroutine.wrap(TheFunction)(First, Second) --Etc.