Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.