miguild = GuildID[house2:GetAsync("Joined")]
house3 = house:GetOrderedDataStore("Members",miguild)
house4 = house:GetDataStore("Members",miguild)
script.Parent.GuildName.Text = miguild
if house3:GetSortedAsync(false, 50,1,10) ~= nil then
pages = house3:GetSortedAsync(false, 50,1,10)
data = pages:GetCurrentPage()
print("datatroo")
if data ~= nil then
for k,v in pairs(data) do
print("Printing Members")
If you need more Ill give u more, But I just cant get the second to last line to run I tried to add anything and reword everything but It still doesn't work, so as a last attempt I came to you guys.
output: datatroo
Update: From tests, it skips this for loop and continues to other things

2 comments
does house = game:DetService("DataStoreService")?
house = game:GetService("DataStoreService") house2 = house:GetDataStore(player.Name,"Players")