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 could I edit this so it gets a map out of a folder?

Previous Thread :: Next Thread 
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
05 Dec 2012 10:02 PM
This is a map changer script I made for my game, and it gets a map from the Lighting and puts it in the Workspace, but how could I make it so it gets a map from a folder (a model) that's in the Lighting?



while true do
game.Lighting.Map1:clone().Parent = game.Workspace
wait(305)
local msg = Instance.new("Message")
msg.Parent = game.Workspace
msg.Text = ("")
wait(0.0)
msg:remove()
game.Workspace.Map1:remove()
wait(0.0)

game.Lighting.Map2:clone().Parent = game.Workspace
wait(305)
msg.Parent = game.Workspace
msg.Text = ("")
wait(0.0)
msg:remove()
game.Workspace.Map2:remove()
wait(0.0)
end
Report Abuse
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
05 Dec 2012 10:05 PM
Hmm. Do you want the folder's children to be visible?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
05 Dec 2012 10:06 PM
I don't know. Just a model I insert into the Lighting which will be the folder. The folder will be named "Maps."
Report Abuse
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
05 Dec 2012 10:09 PM
Yes, make a model of all the maps together, name it Maps. Then do this:
game.Lighting.Maps.(Map you want):Clone()
Report Abuse
mic144 is not online. mic144
Joined: 14 Oct 2009
Total Posts: 1598
05 Dec 2012 10:11 PM
local backup = game.Lighting.ModelYouwant:Clone()
backup.Name = "ModelYouWant1"
backup.Parent = game.Workspace


~I ate Telamon's chicken~
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
05 Dec 2012 10:37 PM
@Dodeca

Would I group all the maps together or put a Model in the Lighting named "Maps" and then put the maps in there?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
06 Dec 2012 08:06 AM
Bump, anyone know?
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