of     1   

kseeking
#138864142Tuesday, July 01, 2014 3:29 PM GMT

I'm trying to make a game, but so far the map changing scripts I've used haven't worked.
AnonyAnonymous
#138864971Tuesday, July 01, 2014 3:40 PM GMT

If you want a random map changing script then Maps = {game.Lighting.Map1,game.Lighting.Map2,game.Lighting.Map3} SelectedMap = math.random(1, #Maps) for c = 10,0, -1 do Maps[SelectedMap].Parent = game.Workspace print(Maps[SelectedMap].."Has Been Chosen!") end Try this.
AnonyAnonymous
#138865097Tuesday, July 01, 2014 3:42 PM GMT

Also, change print(Maps[SelectedMap] to print(Maps[SelectedMap].Name.."Has Been Chosen!")
AnonyAnonymous
#138865250Tuesday, July 01, 2014 3:44 PM GMT

Additionally, the above script would just wait ten seconds and then randomly choose one of the maps available based on what's stored within the table.
super10099
#138865285Tuesday, July 01, 2014 3:44 PM GMT

maps = {"1","2"} -- Names of the maps, add more if you wish. t = {10,20}-- Seconds for each map, list the in order while wait() do cuga = math.random(1,#maps) local newworld=game.ReplicatedStorage:FindFirstChild(maps[cuga]):clone() newworld.Parent = game.Workspace wait(t[cuga]) newworld:remove() end
kseeking
#138865833Tuesday, July 01, 2014 3:51 PM GMT

Thx dude
kseeking
#138867817Tuesday, July 01, 2014 4:12 PM GMT

Wait. Its not working now

    of     1