Ziad 0 Posted November 21, 2022 Share Posted November 21, 2022 i want to run a background thread and run a loop in it like Example: thread.create(function() while true do os.sleep(1) end end) i tried coroutine and thread but it doesn't run it in background Quote Link to post Share on other sites
i want to run a background thread and run a loop in it like
Example:
thread.create(function() while true do os.sleep(1) end end)
i tried coroutine and thread but it doesn't run it in background
Link to post
Share on other sites