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 » Scripters
Home Search
 

Re: Brick Color Changing Animation...

Previous Thread :: Next Thread 
ShooterDude54 is not online. ShooterDude54
Joined: 24 Aug 2010
Total Posts: 848
23 Oct 2011 11:45 AM
I know this doesnt belong here. Nobody in the Scripting Helpers forum is actually a scripter. So here's this pretty simple script that isn't functional and I dont know why.

So heres my script:
while true do
script.Parent.Mesh.VertexColor = Vector3.new(0.3, 0.3, 0.3)
wait(.5)
script.Parent.Mesh.VertexColor = Vector3.new(1, 1, 0.5)
wait(.01)
script.Parent.Mesh.VertexColor = Vector3.new(0.3, 0.3, 0.3)
wait(.01)
script.Parent.Mesh.VertexColor = Vecotr3.new(1, 1, 0.5)
wait(.01)
end

I've tried to find the problem, but I cant. I don't see whats wrong with it. Heres what I did:
1. I got a meshed brick and named it "Light"
2. I made this script, then named it "Animate"
3. I moved this script from the Workspace to the Light.

What's wrong? I wanted to make a flashing light, but it wont work without this...
Report Abuse
Danster5oo is not online. Danster5oo
Joined: 27 Aug 2010
Total Posts: 10003
23 Oct 2011 11:58 AM
'Nobody in the Scripting Helpers forum is actually a scripter'
Blashemy

'I know this doesnt belong here'
Yet you still post it here

Also, Y U NO OUTPUT?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
23 Oct 2011 12:15 PM
VertexColor = Vector3.new(0.3, 0.3, 0.3)

It's Color3.
Report Abuse
Legend26 is not online. Legend26
Joined: 08 Sep 2008
Total Posts: 10586
23 Oct 2011 12:18 PM
Does VertexColor actually work?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
23 Oct 2011 12:19 PM
@Legend: Yes.
Report Abuse
flump is not online. flump
Joined: 30 Jul 2008
Total Posts: 1039
23 Oct 2011 12:20 PM
Vertexcolor works if there is a TextureId as it edits the texture not the block
Report Abuse
ShooterDude54 is not online. ShooterDude54
Joined: 24 Aug 2010
Total Posts: 848
23 Oct 2011 03:46 PM
My block is Dark stone grey, which is the 1, 1, 0.3, and the yellow is 0.3, 0.3, 0.3.

Everybody in scripting helpers is looking for help. Not giving it out :U
I've posted this there, too.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
23 Oct 2011 04:16 PM
"VertexColor = Vector3.new(0.3, 0.3, 0.3)

It's Color3."

Lies, go look at the SpecialMesh class.

~+[Y U NO WORSHIP BLOCCO?]+~
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
24 Oct 2011 07:47 AM
You can get custom colors???






Why did nobody tell me??? I would propably have needed this a long time ago while making a flashing light on top of an antenna! T.T
Report Abuse
arundel is not online. arundel
Joined: 21 Apr 2008
Total Posts: 5762
24 Oct 2011 09:47 AM
@Radio, even a long time ago you could give decals custom colors AND transparency by using a mesh which's ID leads to a blockmesh, then give it a textureid! :3
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
24 Oct 2011 10:15 AM
print(BrickColor.new("Color").Color3)

Now put those numbers inside the Color3.new:

Color3.new(numbers)
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
24 Oct 2011 10:27 AM
@myrco

that picks the closest brickcolor
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
24 Oct 2011 10:28 AM
¬_¬
No.
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
24 Oct 2011 10:42 AM
O RLY
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
24 Oct 2011 10:42 AM
nowait i didnt read wut cho said
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
24 Oct 2011 02:35 PM
I believe you can use either Color3 or Vector3 for a VertexColor. That's what I heard a while back anyways :l

@OP: "Vecotr3"

Fix your typos. Then your script might work.

Regards,
~Scarfacial
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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