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: help :S

Previous Thread :: Next Thread 
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
02 Jan 2010 01:50 PM
there is something wrong with this script, i just dont know what :S

function PartyByAase69()

while true do

local Party = game.Workspace:FindFirstChild("Brick")
if (Party ~= nil) then
Party.BrickColor = BrickColor.new (math.random(), math.random(), math.random())
Party.Name = "Partied"
wait(1)
end
end

PartyByAase69()
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
02 Jan 2010 01:54 PM
The BrickColor.new function expects ONE argument.
Report Abuse
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
02 Jan 2010 01:57 PM
didnt help :S

so i need only one math.random, and not three?
Report Abuse
presentfactory is not online. presentfactory
Joined: 26 Nov 2008
Total Posts: 8237
02 Jan 2010 01:58 PM
math.random(1, 255)
Report Abuse
presentfactory is not online. presentfactory
Joined: 26 Nov 2008
Total Posts: 8237
02 Jan 2010 01:59 PM
Party.Color3 = Color3.new (math.random(), math.random(), math.random())
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
02 Jan 2010 01:59 PM
Well, you aren't making a multicolor brick, right?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
02 Jan 2010 01:59 PM
@Present:

It's Party.Color. Remember now? Just edit your RMD to supply that.
Report Abuse
presentfactory is not online. presentfactory
Joined: 26 Nov 2008
Total Posts: 8237
02 Jan 2010 02:00 PM
Party.Color = Color3.new (math.random(), math.random(), math.random())
Report Abuse
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
02 Jan 2010 02:02 PM
still getting the same message(s):

end expected near eof (to close either function or while. cause i get function with two end's, and while with one end)
Report Abuse
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
02 Jan 2010 02:03 PM
im trying to make a script that makes every brick go like a dance floor... so you dont need to take a dancefloor script in every bricks
Report Abuse
Gavin9788 is not online. Gavin9788
Joined: 24 Nov 2010
Total Posts: 1389
02 Jan 2010 02:06 PM
function PartyByAase69()

while true do

local Party = game.Workspace:FindFirstChild("Brick")
if (Party ~= nil) then
Party.BrickColor = BrickColor.new (math.random(), math.random(), math.random())
Party.Name = "Partied"
wait(1)
end end end

PartyByAase69()
Report Abuse
Gavin9788 is not online. Gavin9788
Joined: 24 Nov 2010
Total Posts: 1389
02 Jan 2010 02:07 PM
Still wont work though, you would have to fix the color.
Report Abuse
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
02 Jan 2010 02:23 PM
now thats not the real problem... my place is freezing up when running it with this script =(
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