Leaderstats acting strange

@FoxysCove102 Not quite sure while this is happening, but I do notice some other things:

  1. 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

  2. Always use a pcall when dealing with datastores in case of failure