Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Leaderboard data won't show for other players?

Asked by
Omzure 94
4 years ago

I have been making a leaderboard script and when i test within a published version of the game, for me, the other players' stats won't update and my stats update for me. Is there anyway to fix this problem?

(FilteringEnabled is false)

leaderboard script:


local function onPlayerJoin(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local cash = Instance.new("IntValue") cash.Name = "Cash" cash.Value = 0 cash.Parent = leaderstats local rebirth = Instance.new("IntValue") rebirth.Name = "Rebirth" rebirth.Value = 0 rebirth.Parent = leaderstats end game.Players.PlayerAdded:Connect(onPlayerJoin)
0
well, roblox has been moving towards a safer environment; which means they want you to use filtered enabled; therefore, they aren't adding new handlings for non-filtered enabled games, which could cause all sort of things to happen User#23252 26 — 4y
0
What type of script? WideSteal321 773 — 4y
0
regular script in serverscriptservice Omzure 94 — 4y

Answer this question