| |
|
Astro1282
|
  |
| Joined: 06 Aug 2009 |
| Total Posts: 471 |
|
|
| 29 Mar 2014 09:42 PM |
| How do you want the map to change? |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 09:44 PM |
| Well, I'm making a game almost like Murder Mystery on an alt. Kinda changing maps like that. |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Mar 2014 09:49 PM |
pick random map from table get it by using path clone it into workspace
i'm asian |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 09:50 PM |
while true do for i,v in pairs(game.ReplicatedStorage:GetChildren()) do rand=math.random(1,#v) cl=game.ReplicatedStorage["Map"..tostring(rand)]:clone() cl.Parent=Workspace.CurrentMap end for i,v in pairs(game.Workspace.CurrentMap:GetChildren() do v.Parent=game.ReplicatedStorage end wait(30) -- Change this to however long you want to wait between map switches.
Make a model in Workspace named CurrentMap Take your maps and put them in ReplicatedStorage. Name them Map1,Map2,Map3 etc. and don't skip any numbers.
|
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 09:52 PM |
... so many people do not use generic for correctly
i'm asian |
|
|
| Report Abuse |
|
|
Astro1282
|
  |
| Joined: 06 Aug 2009 |
| Total Posts: 471 |
|
|
| 29 Mar 2014 09:54 PM |
| Do you have two or more separate maps ready? |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Mar 2014 10:06 PM |
pizza re-check your script
i'm asian |
|
|
| Report Abuse |
|
|