Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I (Still) need help with my brick colour changing ?

So this is my script rn

while true do 
	script.Parent.BrickColor = BrickColor.new("Dark orange") 
	wait(1) 
	script.Parent.BrickColor = BrickColor.new("Black")
	wait(1) 
end

Please help me Snipperdiaper


######Edited: Format your code, and tab correctly!

7 comments

0

There shouldn't be any problem with that script. Did you make sure that you put the script under the brick like this? https://imgur.com/a/YwDDDQs

1

Please use code blocks and say what is actually wrong with your script.

1

Put it in a code brick, my man.

0

@waifuSZn @summerEquinox @magicmariomario I put it in a group of bricks

1

No, I mean, a code brick like shown in the answer. Click the Lua logo and paste your code into it so it is easier to read.

0

@waifuSZN it worked with a single part but i need it to work with a group

0

snipperdiaper union all the parts together and then rename that union P1

1 answer

✓ Accepted answer

You copied the block code not the raw code so now theres the line numbers in your code

while true do
	script.Parent.BrickColor = BrickColor.new("Dark orange")
	wait(1)
	script.Parent.BrickColor = BrickColor.new("Black")
	wait(1)
end

Hover over the code ABOVE and click on view source and copy the code from there or If you dont know how to do that just remove the numbers YOUR code

2 comments

0

Don't just spoonfeed. Actually explain what went wrong in his script and how your solution works. The community guidelines say, "Explain what went wrong." and "Provide code as an example. Include the explanation of the code."

0

Well im just telling him how to copy the raw code because i didnt know how to do that when i was new here

This discussion is preserved as it was. New answers, comments, and votes are closed.