local y={{574407221;"\083\117\112\101\114 \072\101\114\111 \084\121\099\111\111\110"};{2921400152,"\052\080\076\082 \084\121\099\111\111\110"};{1828225164,"\071\117\101\115\116 \087\111\114\108\100"};{591993002,"\079\072\068 \082\111\108\101\112\108\097\121 \087\111\114\108\100"},{4823091615;"\080\097\114\097\100\105\115\101 \076\105\102\101"};{49254942;"\050 \080\108\097\121\101\114 \072\111\117\115\101 \084\121\099\111\111\110"},{3169584572;"\077\101\109\101 \077\117\115\105\099"},{2764548803,"\073\115\108\097\110\100 \072\111\116\101\108"},{3093229294;"\065\110\105\109\097\116\105\111\110\115\058 \077\111\099\097\112"},{3411100258,"\101\118\114\121 \098\111\114\100\114 \103\097\109 \101\118\114"};{3108078982;"\072\068 \065\100\109\105\110 \072\111\117\115\101"};{12996397;"\077\101\103\097 \070\117\110 \079\098\098\121 \240\159\140\159"};{184558572;"\083\117\114\118\105\118\101 \116\104\101 \068\105\115\097\115\116\101\114\115"},{4522347649;"\091\070\082\069\069 \065\068\077\073\078\093"}}local q repeat wait()q=main:GetModule("\099\102")until q.RandomiseTable local g=q:RandomiseTable(y,86400)for y,q in pairs(g)do local g=q[1]local J=q[2]local m=math.ceil(y/2)local p=y%2 local I if p==1 then I=templateGame:Clone()I.Name="\065\073 \071\097\109\101"..m I.Visible=true I.Parent=pages.donor else I=pages.donor["\065\073 \071\097\109\101"..m]end local v=I["\071\097\109\101\073\109\097\103\101"..p]local Y=I["\071\097\109\101\078\097\109\101"..p]local a="\104\116\116\112\115\058\047\047\097\115\115\101\116\103\097\109\101\046\114\111\098\108\111\120\046\099\111\109\047\071\097\109\101\047\084\111\111\108\115\047\084\104\117\109\098\110\097\105\108\065\115\115\101\116\046\097\115\104\120\063\097\105\100\061"..(g.."\038\102\109\116\061\112\110\103\038\119\100\061\052\050\048\038\104\116\061\052\050\048")v.Image=a Y.Text=J v.Visible=true Y.Visible=true local P=v.Select local C=v.ClickFrame P.MouseButton1Click:Connect(function()teleportFrame.ImageLabel.Image=a teleportFrame.TeleportTo.TextLabel.Text=J.."\063"teleportFrame.MainButton.PlaceId.Value=g;(main:GetModule("\099\102")):ShowWarning("\084\101\108\101\112\111\114\116")end)P.MouseEnter:Connect(function()if not main.warnings.Visible then C.Visible=true end end)P.MouseLeave:Connect(function()C.Visible=false end)teleportFrame.Visible=true end

local gamesWithDonor = {
	{574407221, "Super Hero Tycoon"};
	{2921400152, "4PLR Tycoon"};
	{1828225164, "Guest World"};
	{591993002, "OHD Roleplay World"};
	{4823091615 , "Paradise Life"};
	{49254942, "2 Player House Tycoon"};
	{3169584572, "Meme Music"};
	{2764548803, "Island Hotel"};
	{3093229294, "Animations: Mocap"};
	{3411100258, "evry bordr gam evr"};
	{3108078982, "HD Admin House"};
	{12996397, "Mega Fun Obby 🌟"};
	{184558572, "Survive the Disasters"};
	{4522347649, "[FREE ADMIN]"};
	
	--{0, ""};
	}
local coreFunctions
repeat wait() coreFunctions = main:GetModule("cf") until coreFunctions.RandomiseTable
local gamesWithDonorSorted = coreFunctions:RandomiseTable(gamesWithDonor, 86400)
for i, gameData in pairs(gamesWithDonorSorted) do
	local gameId = gameData[1]
	local gameName = gameData[2]
	local row = math.ceil(i/2)
	local column = i % 2 
	local gamePage
	if column == 1 then
		gamePage = templateGame:Clone()
		gamePage.Name = "AI Game".. row
		gamePage.Visible = true
		gamePage.Parent = pages.donor
	else
		gamePage = pages.donor["AI Game".. row]
	end
	local gameThumbnail = gamePage["GameImage"..column]
	local gameLabel = gamePage["GameName"..column]
	local image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid=".. gameId .."&fmt=png&wd=420&ht=420"
	gameThumbnail.Image = image
	gameLabel.Text = gameName
	gameThumbnail.Visible = true
	gameLabel.Visible = true
	--Teleport to game
	local selectButton = gameThumbnail.Select
	local clickFrame = gameThumbnail.ClickFrame
	selectButton.MouseButton1Click:Connect(function()
		teleportFrame.ImageLabel.Image = image
		teleportFrame.TeleportTo.TextLabel.Text = gameName.."?"
		teleportFrame.MainButton.PlaceId.Value = gameId
		main:GetModule("cf"):ShowWarning("Teleport")
	end)
	selectButton.MouseEnter:Connect(function()
		if not main.warnings.Visible then
			clickFrame.Visible = true
		end
	end)
	selectButton.MouseLeave:Connect(function()
		clickFrame.Visible = false
	end)
	teleportFrame.Visible = true
end


