im getting a bit confused on how i can make this script get a random map from a group in game.Lighting.Maps
local maps = game.Lighting.Maps:GetChildren()
while true do
for i =1,#maps do
maps[i].math.random(3) -- "3" would be the amount of maps in the group
wait(1) -- just to make sure it wont crash..
print (maps[i].Name) -- this would just be to see if it works
end
end
