If I had a leaderstats with coins and points and I wanted to keep default roblox player list (I can't make my own) how would I get rid of the coins and points near their name on the player list.
I've seen some games do it
To get rid of the stats on the player list, yet still keep the player list, you can simply store the 'points' and 'coins' value somewhere else.
The way a leaderboard is constructed is when you have some sort of folder(this can be an actual folder object, or a Model, StringValue, IntValue, etc) named 'leaderstats' inside of the player. That folder should contain all of the stats present on the leaderboard.
By placing these stats somewhere else, such as inside the player, you remove it from the leaderboard gui. But note that you will need to reference the values from here as well.
So say you had a script that would award the player points.. because you moved the location of the actual 'points' value you're going to need to redefine where the 'points' stats are. This transition would looks something like this;
local points = game.Players.LocalPlayer.leaderstats.Points
to this;
local points = game.Players.LocalPlayer.Points
Put a new script into workspace. Edit it's contents to say:
game.Players.PlayerAdded:connect(function(player) player.leaderstats:Destroy() end)
This should work perfectly. If I does not, let me know.
game.StarterGui:SetCoreGuiEnabled("Health",false)
Make sure its local script!