Please be nice and dont be mean to the code, https://code.stypi.com/neontails190/Game%20Block%20V1.lua I need help with the brickcolor random thing. Any one can help? Please don't mess with it. I'm gonna backup.
COMMUNITY QUESTION
Can you help me with my thing?
1 answer
You forgot a 'wait' function.
while true do
GB.BrickColor=BrickColor.Random()
wait()
end
A 'while' loop will more than likely, if it hasn't already, crash Roblox if you did not put a wait in it.
2 comments
0
I am under the impression that "wait()" is a function, not a method.
0
Mm, updated. Thank you.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Its lagging for me while i do the brickcolor random :/
Don't use stypi for your code -- just include it in the post! If you absolutely must, using something like Hastebin which is much easier to read, locks your original, and is clean and fast to load.