what im tring to do is to choose if the plataform(which is a part) CanCollide proprety is false or true depending on the color of a brick called randomAll
local P = workspace.Plataform
local randomAll = workspace.Colour.Randomizer --- Colour is a folder and Randomizer is a part
while true do
if randomAll.BrickColor.Color == BrickColor.new("New Yeller") then
P.CanCollide = false
end
if randomAll.BrickColor.Color == BrickColor.new("Really black") then
P.CanCollide = false
end
end
please,someone tell me whats wrong whit this? i tied a lot of others combinations No errors, just that when the script reaches this part,it just skips it..

3 comments
im noob at scripting.
is BrickColour readeble?cause i know it can be changed i mean.like an user id, you can ”see it”, but you cant change it.
Add a wait() , should help a lot :D