|
| 07 Jul 2009 10:27 AM |
OKay iv got the Dancefloor script (I made it and its my first one and it does work ((so proud of myself right now XD)) this is it
print("Jossisanoob's Dancefloor Script Loaded") while true do script.Parent.BrickColor = BrickColor.new("Cyan") wait(0.50) script.Parent.BrickColor = BrickColor.new("Hot pink") wait(0.50) script.Parent.BrickColor = BrickColor.new("Bright violet") wait(0.50) script.Parent.BrickColor = BrickColor.new("Lime green") wait(0.50) script.Parent.BrickColor = BrickColor.new("Really red") wait(0.50) script.Parent.BrickColor = BrickColor.new("Navy blue") wait(0.50) script.Parent.BrickColor = BrickColor.new("New Yeller") wait(0.50) end
okay now this where i get a bit stuck, i want it to use them colours shown above (which it does) but at a random order. and dont say using is is
while true do script.Parent.BrickColour = BrickColor.new(mathrandom) wait(0.50) end
as that jsut picks any random colour (its roughly the script for random colour not to sureo n it)
please help me |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 07 Jul 2009 10:28 AM |
| script.Parent.BrickColor = BrickColor.Random() |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2009 10:30 AM |
that aint the script am wanting, i want it so it takes a colour from the oens that iv shown in the script but showes them at random. if that is the script where would i put it in
|
|
|
| Report Abuse |
|
|
|
| 07 Jul 2009 10:32 AM |
| yeah it aint as its jsut picking absolutly any colour from the selectiion i want it to ONLY choose ones from the script that i showed at the start |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 07 Jul 2009 10:36 AM |
--Make a list of colours colors = { BrickColor.new("Cyan"), BrickColor.new("Hot pink"), BrickColor.new("Bright violet"), BrickColor.new("Lime green"), BrickColor.new("Really red"), BrickColor.new("Navy blue"), BrickColor.new("New Yeller") }
while true do --pick a random colour from the list script.Parent.BrickColor = colors[math.random(#colors)] wait(0.5) end |
|
|
| Report Abuse |
|
|
McSqueezy
|
  |
| Joined: 05 Jul 2009 |
| Total Posts: 903 |
|
|
| 07 Jul 2009 10:36 AM |
| there is a much easier way wihtout doing that..... just make a color script or if ur not good at scripting get one from free models put it in a brick then copy the brick like 20-50 times [small through big] then group to model then name it "dancefloor" and woolah! awsome dancefloor without even trying.......... |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 07 Jul 2009 10:38 AM |
| Maybe, but they'll never learn to script themselves that way. |
|
|
| Report Abuse |
|
|
McSqueezy
|
  |
| Joined: 05 Jul 2009 |
| Total Posts: 903 |
|
|
| 07 Jul 2009 10:42 AM |
| true, true, although they could look inside the script [the one they got from free models] study it then try to make one on their own.... its called fast studying thats technically what i did.... i know i loook like a noob cuz i have no outfit but i like the noob look... pretty kewl..... anywaise u can teach urself......... and there are always easier ways then others....................................... |
|
|
| Report Abuse |
|
|
McSqueezy
|
  |
| Joined: 05 Jul 2009 |
| Total Posts: 903 |
|
|
| 07 Jul 2009 10:43 AM |
| if they studied tryied it and it worked..... they technically jsut taught themselves how to make a script.... thats almost impossible...... u know |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2009 10:53 AM |
| i taught myself how to script by reading other scripts then figuring out what word does what, thanxs |
|
|
| Report Abuse |
|
|