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: When scripting a random map pick script

Previous Thread :: Next Thread 
Fargey1 is not online. Fargey1
Joined: 03 Apr 2011
Total Posts: 1908
04 Feb 2012 09:21 AM
i have tried this multiple times it all fails even my script i use... can someone help me with it and explain what to do with EVERYTHING
Report Abuse
Trigital is not online. Trigital
Joined: 14 Jan 2012
Total Posts: 133
04 Feb 2012 09:22 AM
Post your broken script and we'll see what is wrong.
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
04 Feb 2012 09:24 AM
maps = {"ploxmap", "lolmap", "lololol"}

while true do
a = game.Lighting(maps[math.random(1, #maps)]):clone().Parent = game.Workspace
wait(10)
a:Destroy()
wait(2)
end

L0l something like dat?
Report Abuse
Fargey1 is not online. Fargey1
Joined: 03 Apr 2011
Total Posts: 1908
04 Feb 2012 09:26 AM
Trig its not the script its like when i start putting the spawns for each map and everything
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Feb 2012 09:26 AM
@socca

That's how you do it, but that script can be way more efficient.
Report Abuse
Trigital is not online. Trigital
Joined: 14 Jan 2012
Total Posts: 133
04 Feb 2012 09:27 AM
You cant have 2 '=' in one line?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Feb 2012 09:33 AM
@trigital

Do you mean this?

deb = true
if deb == true then--two equals?
--code
end

Yes you can. If that's what you mean. You mostly used two equal signs for statements and repeats.
Report Abuse
noobkid is not online. noobkid
Joined: 17 Sep 2007
Total Posts: 649
04 Feb 2012 09:34 AM
No, trigital is right :P
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
04 Feb 2012 09:38 AM
[ Content Deleted ]
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Feb 2012 09:38 AM
Oh I see what he means now. I thought he meant two equal signs together.
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