Player.CharacterAdded:Wait() dupes the leaderboard numbers? (Linked Leaderboard V.3)

  1. What do you want to achieve?
    i want to be able to get rid of the horrid code that is:
while true do
			if newPlayer.Character ~= nil then break end
			wait(5)
		end

and i want to replace it with

newPlayer.CharacterAdded:Wait()
  1. What is the issue?

This solution for some ungodly reason makes all the numbers added to the players stats duplicated…

  1. What solutions have you tried so far?

i tried everything posted on the devforum but i just couldn’t find an answer that solved my issue

.
.
.
.

P.S - send help this code is breaking my brain

1 Like

Could you show your entire code?