I’m making a credits page, that uses the UiGridLayout tool to order the developers, but I can’t seem to order them through their roles, does anyone have a solution for this? I’ve tried messing with SortOrder but I couldn’t find anything.
for i, v in pairs(ReplicatedStorage.DeveloperSettings:GetChildren()) do
if v:IsA("Folder") then
local newFrame = ReplicatedStorage.DeveloperFrame:Clone()
newFrame.Name = i
newFrame.Parent = sp
newFrame.DevName.Text = v.DevName.Value
newFrame.DevRole.Text = v.Role.Value
newFrame.DevName.TextColor3 = v.NameColour.Value
end
end
(Clones DeveloperFrame for every instance of a folder I have for developer settings in RS.)
EDIT: I just added newFrame.LayoutOrder = v.Order.Value to this script and added an IntValue to v, so I can manually change each LayoutOrder