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
 

Need help with a script

Previous Thread :: Next Thread 
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
07 Jun 2012 11:53 PM
I want the brick to stay the way its suppose to for 10 seconds the change color the start to disappear and my script isn't working can someone tell me whats wrong with my script?

while true do
game.Workspace.Part.Transparency = 0
wait(10)
brick.BrickColor = BrickColor.Black()
game.Workspace.Part.Transparency = 0.2
wait(0.8)
game.Workspace.Part.Transparency = 0.4
wait(0.8)
game.Workspace.Part.Transparency = 0.6
wait(0.8)
game.Workspace.Part.Transparency = 0.8
wait(0.8)
game.Workspace.Part.Transparency = 1
game.Workspace.Part.CanCollide = true
wait(5)
end

please :D
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
07 Jun 2012 11:55 PM
You never declared "brick".
Report Abuse
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
07 Jun 2012 11:56 PM
What do you mean?
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
07 Jun 2012 11:56 PM
"brick.BrickColor = BrickColor.Black()"

You never defined 'brick'.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
07 Jun 2012 11:56 PM
Where you change the BrickColor, you used "brick", but you never declared brick:

brick = workspace.Part
Report Abuse
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
07 Jun 2012 11:57 PM
OOhhhh... OK let me try it and ill see if it works :D
Report Abuse
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
07 Jun 2012 11:58 PM
wait where do i put that at?
Report Abuse
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
07 Jun 2012 11:59 PM
W00T I GOT IT TO WORK!!! THANKS :DD
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
08 Jun 2012 12:47 AM
1. while true do
2. game.Workspace.Part.Transparency = 0
3. wait(10)
4. brick.BrickColor = BrickColor.Black()
5. game.Workspace.Part.Transparency = 0.2
6. wait(0.8)
7. game.Workspace.Part.Transparency = 0.4
8. wait(0.8)
9. game.Workspace.Part.Transparency = 0.6
10. wait(0.8)
11. game.Workspace.Part.Transparency = 0.8
12. wait(0.8)
13. game.Workspace.Part.Transparency = 1
14. game.Workspace.Part.CanCollide = true
15. wait(5)
16. end"

Errors:
Line 4: "BrickColor.Black()" does nothing, find other ways

Solution:
Test scripts out before asking on here.

Report Abuse
family1212 is not online. family1212
Joined: 17 Jan 2010
Total Posts: 67
14 Jun 2012 06:42 PM
I did test it out...
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