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 » Scripters
Home Search
 

Re: /

Previous Thread :: Next Thread 
CheckWork is not online. CheckWork
Joined: 24 Jul 2012
Total Posts: 435
25 Feb 2013 01:48 PM
I made this script earlier with some help, is it all correct?

local waitingTime = 4:00 -- time inbetween each map
local maps = game.Lighting.Maps:GetChildren()

while (true) do
for i = 1, #maps do
local currentMap = maps[i]
local clone = currentMap:Clone()
clone.Parent = Workspace
wait(waitingTime)
clone:Destroy()
end
print("Getting new map...")
end
Report Abuse
BlakTankerCvC is not online. BlakTankerCvC
Joined: 31 Jan 2013
Total Posts: 586
25 Feb 2013 01:49 PM
no you got errors everywhere

its better if you just throw it out

- the life of a baller
Report Abuse
mew903 is not online. mew903
Joined: 03 Aug 2008
Total Posts: 22071
25 Feb 2013 01:51 PM
You do realize the point of the scripters forum isn't to post all of your scripts, right?

Anyways, "local waitingTime = 4:00" would cause a syntax error because you cannot declare integers in a "x:x" format; so I suggest just changing it to 240 since you probably mean 4 minutes, and the wait function parses the given integer as seconds. Other than that everything else seems to be in order.
Report Abuse
CheckWork is not online. CheckWork
Joined: 24 Jul 2012
Total Posts: 435
25 Feb 2013 01:55 PM
So, this is correct?



local waitingTime = 240 -- time inbetween each map
local maps = game.Lighting.Maps:GetChildren()

while (true) do
for i = 1, #maps do
local currentMap = maps[i]
local clone = currentMap:Clone()
clone.Parent = Workspace
wait(waitingTime)
clone:Destroy()
end
print("Getting new map...")
end


~Sorry, I'm new to scripting~
Report Abuse
mew903 is not online. mew903
Joined: 03 Aug 2008
Total Posts: 22071
25 Feb 2013 02:05 PM
Seems to be in order, yes.
Report Abuse
UnAdmin is not online. UnAdmin
Joined: 10 Jul 2012
Total Posts: 4706
25 Feb 2013 03:33 PM
I made a crap version once. Pastebin:/tqCnQ0yz

~ᴬᴵᴺ'ᵀ ᵀᴴᴬᵀ ᴬ ᴷᴵᶜᴷ ᴵᴺ ᵀᴴᴱ ᴴᴱᴬᴰˑ~
Report Abuse
sammy1229 is not online. sammy1229
Joined: 05 Aug 2010
Total Posts: 669
25 Feb 2013 03:36 PM
My script :)
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
25 Feb 2013 04:02 PM
Awww.. I have seen that free model before!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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