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: spawn=game.Workspace.[math.random(1, #RedSpawn1,RedSpawn2)]

Previous Thread :: Next Thread 
brayden99 is not online. brayden99
Joined: 30 Sep 2007
Total Posts: 1243
12 Oct 2011 02:31 PM
Is this random thing writen right?





spawn=game.Workspace.[math.random(1, #RedSpawn1,RedSpawn2)]
Report Abuse
brayden99 is not online. brayden99
Joined: 30 Sep 2007
Total Posts: 1243
12 Oct 2011 02:51 PM
No ones going to help I guess?
Report Abuse
newnoahdain is not online. newnoahdain
Joined: 07 Jan 2010
Total Posts: 217
12 Oct 2011 02:53 PM
I don't know, I can't see much wrong with it. Perhaps try capitalizing random (in math.random

Perhaps you could post the output results..
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
12 Oct 2011 03:05 PM
There can only be two arguments when using math.random().

Regards,
~Scarfacial
Report Abuse
Lightmaster9 is not online. Lightmaster9
Joined: 14 May 2009
Total Posts: 8659
12 Oct 2011 03:07 PM
TABLES.
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
12 Oct 2011 03:08 PM
spawn=game.Workspace["RedSpawn"..math.random(1,2)]..""

name the spawns RedSpawn1 and RedSpawn2
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
12 Oct 2011 03:09 PM
Sorry that one i messed up.


spawn=game.Workspace["RedSpawn"..math.random(1,2)..""]
Report Abuse
brayden99 is not online. brayden99
Joined: 30 Sep 2007
Total Posts: 1243
12 Oct 2011 03:33 PM
THANKS !!!! IT WORKS!! lol
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
12 Oct 2011 07:49 PM
lol np
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