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

For some reason, why wont this show up in my leaderboard?

Asked by
Jedxi 0
7 years ago
Edited by OldPalHappy 7 years ago

So, I made a simple script.

game.Players.PlayerAdded:connect(function(plr)
    local stats = Instance.new("IntValue")
    stats.Name = "leaderstats"
    stats.Parent = plr
    local elig = Instance.new("StringValue")
    elig.Name = "Allowed"
    elig.Parent = stats
    if plr:GetRankInGroup(950346) > 43 then
        elig.Value = "True"
    else
        elig.Value = "False"
    end
end)

But in game this is what it looks like: http://prntscr.com/ezoauc

Notice how there's no text saying "Allowed"? It should be there.

In Studtio, on the other hand, shows up like this: http://prntscr.com/ezoalt

Anyone have any idea why???

1 answer

Log in to vote
0
Answered by 7 years ago

This same error has happened to me in some games.

It is most likely a client glitch, and rejoining a couple of times may fix it. That is how I fixed my error.

If not, it could be your script.

Ad

Answer this question