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: I really don't know this...

Previous Thread :: Next Thread 
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 01:45 PM
time = 210
Maps = game.Lighting.Maps
while true do
    for i, v in pairs(Maps:GetChildren()) do
        if Workspace:FindFirstChild(v.Name) then
        Workspace[v.Name]:Destroy()
        wait(time)
    end
  end
 end
Message = Instance.new("Message", Workspace)
Message.Text = "Changing maps . . ."
wait(3)
MapTable = Maps:GetChildren()
local randomnum = math.random(1,#MapTable)
RandomMap = MapTable[randomnum]
Message.Text = "Map Loaded: " .. RandomMap.Name
wait(2)
RandomMap:Clone().Parent = Workspace
wait(1)
Message:Destroy()
end

This script has no errors when used in the output, but it won't generate any map whatsoever. I have tried everything that I know, yet it still won't do anything.
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 01:53 PM
what is this...
Report Abuse
sting4672 is not online. sting4672
Joined: 29 Oct 2009
Total Posts: 1396
19 Jan 2013 01:57 PM
This script has no errors but you might have coded it incorrectly
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 01:58 PM
Uhh, that's what I just said... And your "tip" wasn't really that helpful.
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
19 Jan 2013 02:00 PM
There's an extra end?

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ 【▬】
Report Abuse
sting4672 is not online. sting4672
Joined: 29 Oct 2009
Total Posts: 1396
19 Jan 2013 02:03 PM
Would the extra "end" break the script though? I didn't think it would
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:04 PM
With or without that it still wouldn't work.
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:09 PM
Maybe I could just ask people about this at night, where most of the Scripting Helpers are online.
Report Abuse
sting4672 is not online. sting4672
Joined: 29 Oct 2009
Total Posts: 1396
19 Jan 2013 02:09 PM
May as well take it out and give it a shot, have nothing to lose
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:12 PM
I just did, and nothing happened.
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:17 PM
Should I let this thread die?
Report Abuse
TheElderScripts is not online. TheElderScripts
Joined: 19 Apr 2011
Total Posts: 54
19 Jan 2013 02:28 PM
That won't work unless there's already a map on the field (from the map file in Lighting) when it starts. Or at least that's what the problem looks like, I may be wrong.
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:34 PM
I was asking why it wasn't generating a map at first, but if it only works when there is already a map, well then what would I need to do to generate a map at first?
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:45 PM
Soo umm what
Report Abuse
Inevitably is not online. Inevitably
Joined: 13 Jul 2012
Total Posts: 514
19 Jan 2013 02:59 PM
Anyone going to help me?
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