How to make a module function continue even after the scriot that called it is deleted

Hello.

I dont really have any code to share, i just need advice.

You read the title, How to make a module function continue even after the scriot that called it is deleted. Basically: how to make the code continue when script is deleted?

task.spawn(function()
–code
end)

1 Like

My spaghetti code is so filled with that one thing that it amuses me that never came to mind

Ill have to try it tomorrow when i have studio access