i can not find the option to hide it the default leaderboard
COMMUNITY QUESTION
How to remove roblox leaderboard to use mine?
2 answers
Use game.StarterGui:SetCoreGuiEnabled("PlayerList",false). This is the most effective way of doing it.
Note: The code has to be in a LocalScript or it probably won't work correctly
Try this
function onPlayerEntered(newPlayer)
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
local cash = Instance.new("IntValue")
cash.Name = "Score" --Change score to the name of the leaderboard
cash.Value = 0
cash.Parent = stats
stats.Parent = newPlayer
end
game.Players.ChildAdded:connect(onPlayerEntered)
This discussion is preserved as it was. New answers, comments, and votes are closed.
