Script which work while the script has been deleted

Ohhhh, I see what you’re talking about now. I’m not sure what would still be creating the leaderstats then.
I would do Ctrl + Shift + F and type in leaderstats to see what scripts would still be creating it.
I would save first because I’ve had a few crashes lately with using Find All though

Sadly I didn’t find my script :confused:

You’re positive that you don’t have a stray script of any kind anywhere that could be creating it?
Neither on the client or the server? Are you sure you deleted it, and didn’t place it anywhere with it’s RunContext set to Server? There’s many things that could be happening because this error is kind of strange if the script was deleted beforehand.

Yes because I tested it in a new place

Check if there isn’t a duplicate leaderstats parented to your player during a playtest on the client.

It would seem that this is it :smiley:
image

Ok now how delete this because when I delete it, it doesn’t work when I do play he is always present

This seems like a place created by you, does it still do this even though you go to a blank template?
If it does, I’m about to throw a very ‘out there’ theory but it could be the reason

Sadly it does, what is your theory ?

Okay, this is pretty out there but bare with me. I think you saved that script as a Plugin along the way.
Unfortunately deleting a plugin requires you to go through your files, which would be located at %LOCALAPPDATA%\Roblox\Plugins. WinKey + R should open a prompt to open that.

Oh no wait look at this
image

Oh, you didn’t save it as a local plugin like I thought.
You saved it as a cloud plugin.

1 Like

It was that finally thanks you so much :smiley: