Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

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

Asked by 5 years ago
Edited by Goulstem 5 years ago

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!
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 magicalmariomario 0 — 5y
1
Please use code blocks and say what is actually wrong with your script. SummerEquinox 643 — 5y
1
Put it in a code brick, my man. waifuSZN 123 — 5y
0
@waifuSZn @summerEquinox @magicmariomario I put it in a group of bricks snipperdiaper 120 — 5y
View all comments (3 more)
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. waifuSZN 123 — 5y
0
@waifuSZN it worked with a single part but i need it to work with a group snipperdiaper 120 — 5y
0
snipperdiaper union all the parts together and then rename that union P1 RedDeadDevil1908 54 — 5y

Closed as Non-Descriptive by piRadians and Goulstem

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

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

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." User#21908 42 — 5y
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 RedDeadDevil1908 54 — 5y
Ad