Help With Leaderboard

Okay so I figured out the error, there’s something in either one of your scripts that’s destroying the GUI that it supposed to place usernames and stuff on.

Do you know what it is?

I missed spelled Sample and put Simple but it still did not work

if Frame.Name ~= "Simple" and Frame:IsA("Frame") then	
if Frame.Name ~= "Sample" and Frame:IsA("Frame") then

This happens
Screenshot 2023-07-16 at 13.50.20

Well I can go through it again, but in one of your scripts I did see something about it cloning the sample GUI?

Weird that didn’t happen to me hold on.

Use this.

That did not work---------------

It’s the solution to fixing the entire PlayerHandler Frame from destroying, also I fixed the cloning thing but the issue is it doesn’t rename the Player’s sample frame name, rank and parts text label.

Can you make and following this video to see if I made a mistake some where. I checked it two times though

try

game.Players.PlayerAdded:Connect(function(Player)
      PartsDataStore:SetAsync(Player.UserId, Player:WaitForChild("leaderstats"):WaitForChild("Parts").Value)
end)

Or directly give the variable where the leaderstat Part value is created

Yeah I’m going through the video now and I saw that you made some errors.

There’s another script inside of the game that creates the leaderstats folder and the parts value inside of the folder.

I’d recommend using ProfileService

@Cyber_Designer Yeah it seems like the script itself is broken.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.