Getting "Invalid argument #1 to spawn (function or thread expected)" error after task is finished

I’m using task.spawn in my game in order to load saves, but I get this error after the save finished loading. Why is that?

4 Likes