@FoxysCove102 Not quite sure while this is happening, but I do notice some other things:
-
Don’t use the parent parameter in the
Instance.new()function, this can cause performance issues. Set the parent after you set all the properties so it only has to replicate once. (More on why not to use: PSA: Don't use Instance.new() with parent argument ). This could have something to do with it but I doubt it -
Always use a
pcallwhen dealing with datastores in case of failure