Title is not self explanatory. I need ways on how do I make leaderstats show up without placing the folder inside the player.
Normally, the leaderstats folder will need to be placed inside the player for it to show but since players can change their values locally, I don’t want that even if it the memory is as low.
Thing is that placing it in ServerStorage will cause the leaderstats not to show up.
Here’s what I mean.
When placed inside the player:
When not placed inside the player.
This is pretty obvious but is there any possible way?
If you want it to show you will have to put it in the player and if an exploiter wanted to change one of the values, it will only change for them.
If you had for example, a door that you need level 1000 to walk through you can just do the checking server-side which will see the exploiters original value before they changed it locally.
Just don’t make it “leaderstats”? You can use “stats” or “Leaderstats” I believe as well.
If you really, really need to use “leaderstats”, just make a folder correlated to their name then use it as the stats folder while keeping it in ServerStorage under a folder for the list of the players’ leaderstats.
Oh your post was confusing, you unfortunately can’t make it show if it’s not in the player. You generally just want to link changes to the Value objects related to the leaderstats folder. There is no other way to make it show.
If a player’s money is updated for example, update the leaderstat value too with it.
The best place to store stats otherwise as information is either as a table which isn’t an instance or server sided folder only accessible to the server like a folder in ServerStorage.
Maybe you could store the data in tables through serverscript and then make a localscript in the player that fetches the data (either Values or RemoteEvent) and sends it into the leaderstats folder.
It is impossible to make it show up without being placed in the player. There is no solution to this. Your best bet is to post a topic in the studio features category and suggest to implement this feature.
Adding on to this, why are you trying to put stats outside of the player? There is no downside to having it in the player. Exploiters can only change values locally, so if you have a server side check it won’t change anything, and it wont update the player leaderboard holding your leaderstats. Having it in ServerStorage means every time you need to get a stat on the client, you will need to use a RemoteFunction to get the value, which will build lag.
The playerlist script only allows for leaderstats to be placed in the player. You can’t edit the playerlist script as it’s a core gui. You either make your own playerlist or put the folder in player.