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???
