I have tried experimenting with it but it wont work.
Shirt = http://www.roblox.com/Conscript-item?id=154082681
Script
wait(1) group = 892449 -- set this to your group id rankuniforms = true -- set to false if you have one uniform for all members shirtnoranks = "http://www.roblox.com/asset/?id=" -- shirt asset, only needed if rankuniforms is false pantsnoranks = "http://www.roblox.com/asset/?id=" -- pants asset, only needed if rankuniforms is false totalranks = 19 -- total number of ranks rank1 = 10 -- rank number in group admin shirt1 = "http://www.roblox.com/asset/?id=154082680" -- rank 1 shirt asset pants1 = "http://www.roblox.com/asset/?id=154082705" -- rank 1 pants asset rank2 = 20 -- rank number in group admin shirt2 = "http://www.roblox.com/asset/?id=" -- rank 2 shirt asset pants2 = "http://www.roblox.com/asset/?id=" -- rank 2 pants asset rank3 = 30 -- rank number in group admin shirt3 = "http://www.roblox.com/asset/?id=" -- rank 3 shirt asset pants3 = "http://www.roblox.com/asset/?id=" -- rank 3 pants asset rank4 = 40 -- rank number in group admin shirt4 = "http://www.roblox.com/asset/?id=" -- rank 4 shirt asset pants4 = "http://www.roblox.com/asset/?id=" -- rank 4 pants asset rank5 = 50 -- rank number in group admin shirt5 = "http://www.roblox.com/asset/?id=" -- rank 5 shirt asset pants5 = "http://www.roblox.com/asset/?id=" -- rank 5 pants asset rank6 = 60 -- rank number in group admin shirt6 = "http://www.roblox.com/asset/?id=" -- rank 6 shirt asset pants6 = "http://www.roblox.com/asset/?id=" -- rank 6 pants asset rank7 = 70 -- rank number in group admin shirt7 = "http://www.roblox.com/asset/?id=" -- rank 7 shirt asset pants7 = "http://www.roblox.com/asset/?id=" -- rank 7 pants asset rank8 = 80 -- rank number in group admin shirt8 = "http://www.roblox.com/asset/?id=" -- rank 8 shirt asset pants8 = "http://www.roblox.com/asset/?id=" -- rank 8 pants asset rank9 = 90 -- rank number in group admin shirt9 = "http://www.roblox.com/asset/?id=" -- rank 9 shirt asset pants9 = "http://www.roblox.com/asset/?id=" -- rank 9 pants asset rank10 = 100 -- rank number in group admin shirt10 = "http://www.roblox.com/asset/?id=" -- rank 10 shirt asset pants10 = "http://www.roblox.com/asset/?id=" -- rank 10 pants asset rank11 = 110 -- rank number in group admin shirt11 = "http://www.roblox.com/asset/?id=" -- rank 11 shirt asset pants11 = "http://www.roblox.com/asset/?id=" -- rank 11 pants asset rank12 = 120 -- rank number in group admin shirt12 = "http://www.roblox.com/asset/?id=" -- rank 12 shirt asset pants12 = "http://www.roblox.com/asset/?id=" -- rank 12 pants asset rank13 = 130 -- rank number in group admin shirt13 = "http://www.roblox.com/asset/?id=" -- rank 13 shirt asset pants13 = "http://www.roblox.com/asset/?id=" -- rank 13 pants asset rank14 = 140 -- rank number in group admin shirt14 = "http://www.roblox.com/asset/?id=" -- rank 14 shirt asset pants14 = "http://www.roblox.com/asset/?id=" -- rank 14 pants asset rank15 = 150 -- rank number in group admin shirt15 = "http://www.roblox.com/asset/?id=" -- rank 15 shirt asset pants15 = "http://www.roblox.com/asset/?id=" -- rank 15 pants asset rank16 = 160 -- rank number in group admin shirt16 = "http://www.roblox.com/asset/?id=" -- rank 15 shirt asset pants16 = "http://www.roblox.com/asset/?id=" -- rank 15 pants asset rank17 = 170 -- rank number in group admin shirt17 = "http://www.roblox.com/asset/?id=" -- rank 15 shirt asset pants17 = "http://www.roblox.com/asset/?id=" -- rank 15 pants asset rank18 = 180 -- rank number in group admin shirt18 = "http://www.roblox.com/asset/?id=" -- rank 15 shirt asset pants18 = "http://www.roblox.com/asset/?id=" -- rank 15 pants asset rank19 = 255 -- rank number in group admin shirt19 = "http://www.roblox.com/asset/?id=" -- rank 15 shirt asset pants19 = "http://www.roblox.com/asset/?id=" -- rank 15 pants asset plr = script.Parent.Parent repeat wait(.25) until plr.Character ~= nil wait(1) char = plr.Character if plr:IsInGroup(group) then if char:FindFirstChild("Pants") ~= nil then else pnts = Instance.new("Pants") pnts.Name = "Pants" pnts.Parent = char end if char:FindFirstChild("Shirt") ~= nil then else pnts = Instance.new("Shirt") pnts.Name = "Shirt" pnts.Parent = char end if rankuniforms == true then if plr:GetRankInGroup(group)== rank1 then char.Shirt.ShirtTemplate = shirt1 char.Pants.PantsTemplate = Pants1 elseif plr:GetRankInGroup(group)== rank2 then char.Shirt.ShirtTemplate = shirt2 char.Pants.PantsTemplate = Pants2 elseif plr:GetRankInGroup(group)== rank3 then char.Shirt.ShirtTemplate = shirt3 char.Pants.PantsTemplate = Pants3 elseif plr:GetRankInGroup(group)== rank4 then char.Shirt.ShirtTemplate = shirt4 char.Pants.PantsTemplate = Pants4 elseif plr:GetRankInGroup(group)== rank5 then char.Shirt.ShirtTemplate = shirt5 char.Pants.PantsTemplate = Pants5 elseif plr:GetRankInGroup(group)== rank6 then char.Shirt.ShirtTemplate = shirt6 char.Pants.PantsTemplate = Pants6 elseif plr:GetRankInGroup(group)== rank7 then char.Shirt.ShirtTemplate = shirt7 char.Pants.PantsTemplate = Pants7 elseif plr:GetRankInGroup(group)== rank8 then char.Shirt.ShirtTemplate = shirt8 char.Pants.PantsTemplate = Pants8 elseif plr:GetRankInGroup(group)== rank9 then char.Shirt.ShirtTemplate = shirt9 char.Pants.PantsTemplate = Pants9 elseif plr:GetRankInGroup(group)== rank10 then char.Shirt.ShirtTemplate = shirt10 char.Pants.PantsTemplate = Pants10 elseif plr:GetRankInGroup(group)== rank11 then char.Shirt.ShirtTemplate = shirt11 char.Pants.PantsTemplate = Pants11 elseif plr:GetRankInGroup(group)== rank12 then char.Shirt.ShirtTemplate = shirt12 char.Pants.PantsTemplate = Pants12 elseif plr:GetRankInGroup(group)== rank13 then char.Shirt.ShirtTemplate = shirt13 char.Pants.PantsTemplate = Pants13 elseif plr:GetRankInGroup(group)== rank14 then char.Shirt.ShirtTemplate = shirt14 char.Pants.PantsTemplate = Pants14 elseif plr:GetRankInGroup(group)== rank15 then char.Shirt.ShirtTemplate = shirt15 char.Pants.PantsTemplate = Pants15 elseif plr:GetRankInGroup(group)== rank16 then char.Shirt.ShirtTemplate = shirt16 char.Pants.PantsTemplate = Pants16 elseif plr:GetRankInGroup(group)== rank17 then char.Shirt.ShirtTemplate = shirt17 char.Pants.PantsTemplate = Pants17 elseif plr:GetRankInGroup(group)== rank18 then char.Shirt.ShirtTemplate = shirt18 char.Pants.PantsTemplate = Pants18 elseif plr:GetRankInGroup(group)== rank19 then char.Shirt.ShirtTemplate = shirt19 char.Pants.PantsTemplate = Pants19 end else char.Shirt.ShirtTemplate = shirtnoranks char.Pants.PantsTemplate = pantsnoranks end end
When I place in the ID at the end, it wont load me, and Yes, I am in the group.
local baseurl = "http://www.roblox.com/asset/?id=" local clothingData = {{rank = 10, shirt = 154082680, pants = 154082705}, {rank = 20, shirt = 000000000, pants = 000000000}, {rank = 30, shirt = 000000000, pants = 000000000}, {rank = 40, shirt = 000000000, pants = 000000000}, {rank = 50, shirt = 000000000, pants = 000000000}, {rank = 60, shirt = 000000000, pants = 000000000}, {rank = 70, shirt = 000000000, pants = 000000000}, {rank = 80, shirt = 000000000, pants = 000000000}, {rank = 90, shirt = 000000000, pants = 000000000}, {rank = 100, shirt = 000000000, pants = 000000000}, {rank = 110, shirt = 000000000, pants = 000000000}, {rank = 120, shirt = 000000000, pants = 000000000}, {rank = 130, shirt = 000000000, pants = 000000000}, {rank = 140, shirt = 000000000, pants = 000000000}, {rank = 150, shirt = 000000000, pants = 000000000}, {rank = 160, shirt = 000000000, pants = 000000000}, {rank = 170, shirt = 000000000, pants = 000000000}, {rank = 180, shirt = 000000000, pants = 000000000}, {rank = 255, shirt = 000000000, pants = 000000000}} function newPlayer(p) if plr:IsInGroup(1085505) then p.CharacterAdded:connect(function(c) if not char:FindFirstChild("Pants") then Instance.new("Pants", c).Name = "Pants" end if not char:FindFirstChild("Shirt") then Instance.new("Shirt", c).Name = "Shirt" end local rank = p:GetRankInGroup(1085505) for i=1, #clothingData do if v.rank == rank then c.Shirt.ShirtTemplate = baseurl .. v.shirt c.Pants.PantsTemplate = baseurl .. v.pants end end end) end end game.Players.PlayerAdded:connect(newPlayer) for _,v in pairs (game.Players:GetPlayers()) do newPlayer(v) end
What this does is it puts all the data in a table, instead of saving, in your case, 67 variables. Instead of check each and every variable, we simply use a for loop
to zip through them.
Private message me if you are still having troubles.