generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How would I make changing maps?

Previous Thread :: Next Thread 
Direwolfgirl is not online. Direwolfgirl
Joined: 03 Jun 2013
Total Posts: 11164
29 Mar 2014 09:41 PM
Help.
Report Abuse
Astro1282 is not online. Astro1282
Joined: 06 Aug 2009
Total Posts: 471
29 Mar 2014 09:42 PM
How do you want the map to change?
Report Abuse
Direwolfgirl is not online. Direwolfgirl
Joined: 03 Jun 2013
Total Posts: 11164
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
Direwolfgirl is not online. Direwolfgirl
Joined: 03 Jun 2013
Total Posts: 11164
29 Mar 2014 09:46 PM
Bump
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
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
Imacheeseburger is not online. Imacheeseburger
Joined: 16 Jun 2011
Total Posts: 142
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
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
29 Mar 2014 09:52 PM
...
so many people do not use generic for correctly

i'm asian
Report Abuse
Astro1282 is not online. 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
Imacheeseburger is not online. Imacheeseburger
Joined: 16 Jun 2011
Total Posts: 142
29 Mar 2014 09:55 PM
No, but it works :D
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
29 Mar 2014 10:06 PM
pizza re-check your script


i'm asian
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image