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
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!
This is not even close. Please remove your answer.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Its easy, Usally in the Player there is a Number or Int value, Remove this or change it to 0
So you want it to show everyone else's coins and points, just not your own in the topbar?
M39 I want only the play name and no coins or points