I tried to make 2 different if statements so that if the value of a intvalue is 1 or 2 they would be place on a different team on the leaderboard. If someone could find another way to do it or do it with the 2 if statements that would mean a lot to me. It seems no one knows how to fix this some how. Heres's the model: http://www.roblox.com/Leaderboard-in-progress-item?id=367613452
MaximumPlayers1 = 12 local Position = 1 for i = 1, MaximumPlayers1 do local NewGui = script.Parent.Reference:Clone() NewGui.Parent = script.Parent.Players NewGui.Place.Value = Position NewGui.Visible = false NewGui.Position = UDim2.new(0, 10, 0, 30+((35*Position) - (1*Position))) -- Team 2 will be 300 below this one NewGui.Name = "Player"..Position NewGui.Text=(script.Parent.Parent.Parent.Parent.Name) script.Parent.Reference.Visible=false Position = Position+1 end while true do local List = script.Parent.Players:getChildren() for childs = 1, #List do List[childs].Visible = false end local Players = game.Players:getChildren() for children = 1, #Players do List[children].Visible = true List[children].Player.Name = Players[children].Name if Players[children].Name == "SilentBlockz" then List[children].duck.Visible = false end end wait(1) end