Is It Possible To Keep Connections Running After The Script has Been Deleted?

Is It Possible To Keep Connections Running After The Script has Been Deleted?

I don’t think so. Once you’re destroying that script, the connections you made in that script will disconnect.

I remember at one point, you could do something similar. If you disabled a script while it was running it would keep the current thread still running until it terminated, or something along the lines of that.

I have no clue if this still works or not, but here’s what it looked like at the time:

script.Disabled = true
print("hi") -- This would print

Or you could make an infinite loop (what)

script.Disabled = true
print("hi") -- This will print every second (but why?)
task.wait(1)
script.Disabled = false

Other than that, I don’t believe its possible.