-
What do you want to achieve? Keep it simple and clear!
I wanna add leaderboard stat
-
What is the issue? Include screenshots / videos if possible!
for some reason after i added leaderboard for points(my stat) my player tab look like this: 

-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tryed to re-copy code from dev hub, but still
local Players = game:GetService("Players")
local function leaderboardSetup(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Points = Instance.new("IntValue")
Points.Name = "Points"
Points.Value = 0
Points.Parent = leaderstats
end
-- Connect the "leaderboardSetup()" function to the "PlayerAdded" event
Players.PlayerAdded:Connect(leaderboardSetup)
Here is location of script: 
Your script is working on my end but perhaps try this:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local points = Instance.new("IntValue")
points.Name = "Points"
points.Value = 0
points.Parent = leaderstats
end)
Weird, still that thing, idk what to do
must work, because everything great
Do you get any errors in console?
Make sure you don’t have any other scripts which could be clashing with the leaderstats script.
No i don’t getting any error, i had a script for leaderboard before, but i clearly deleted it from game
Press CTRL+SHIFT+F and search for “leaderstats”. You should see a menu like this:

Can see only one like in your screenshot
Maybe studio glitch
Ammy try publish game
Yeah it is studio glitch, because i changed light theme to dark theme i think. So it’s glitch. In game i can see it perfectly. And by the way. I’m having some issue with filler here. When i’m getting a size of filler to submit it, it always gives me a result of 1 part of full fill.
local PlayerService = game:GetService("Players")
local Player = PlayerService.LocalPlayer
local GuiService = Player.PlayerGui
local GameGUI = GuiService.GameGUI
local RNGBar = GameGUI.GameFrame.PlayableFrame.RNGBar
local RNGProgress = RNGBar.RNGP
local RNGBarFiller = RNGBar.Filler
local RNGClicker = script.Parent
local RNGMultiValue = script.Parent.RNGMulti
local RNGNumber = 0
local ClickWait = 0
local debounce = false
local RNGnumbern = 10
local FullF = 1
local Filler1Part = 1/RNGnumbern
local FillerProgress = 0
RNGClicker.MouseButton1Click:Connect(function()
if debounce then
return
end
debounce = true
RNGNumber = math.random(1,10)
RNGProgress.Text = RNGNumber.."/"..RNGnumbern
ClickWait = 20
repeat
ClickWait -= 1
RNGClicker.Text = (math.round(ClickWait - 1)/10)
wait(0.1)
until ClickWait <= 0.3
ClickWait = 0
RNGClicker.Text = "Click to Generate!"
debounce = false
FillerProgress = (math.round(RNGNumber * Filler1Part)/10)
print(FillerProgress)
end)
Bruh now it even just says 0, before it was printing 0.1
Okay fixed by myself, thanks you a lot!!!
math.round() will cause it to round to the nearest integer, which in this case would be 0 from 0.1. I see you have fixed it, congrats.
Alr figured that, lol, just sometimes amma be stupid ty