print(math.random(1,#Maps))
i have 2 maps always prints 2 like wdfffff
#Code for i,v in pairs(game.Players:GetChildren()) do v:Kick('Destruction will come') end
Maps = {}
for i,v in pairs(game.ServerStorage.Maps:GetChildren()) do
table.insert(Maps,v)
end
Wont really work m8
#Code for i,v in pairs(game.Players:GetChildren()) do v:Kick('Destruction will come') end
"Maps = {}
for i,v in pairs(game.ServerStorage.Maps:GetChildren()) do
table.insert(Maps,v)
end"
why not just do
local maps = game.ServerStorage.Maps:GetChildren()?
kind of point less...