--I've tried this script :
B = game.Workspace.Part
while true do
B.BrickColor = BrickColor.new("Really red")
wait(2)
B.BrickColor = BrickColor.new("Really black")
wait(2)
end
--I've tried this script :
B = game.Workspace.Part
while true do
B.BrickColor = BrickColor.new("Really red")
wait(2)
B.BrickColor = BrickColor.new("Really black")
wait(2)
end
I think you should user Color3 instead of BrickColor. I usually use Color3 instead of BrickColor
Color3 uses Red/Green/Blue values instead of color names.
Use the script with Color3:
B = game.Workspace.Part
while true do
B.BrickColor = Color3.new(255, 0, 0) -- makes the brick "Really red"
wait(2)
B.BrickColor = Color3.new(0, 0, 0) -- makes the brick "Really black"
wait(2)
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
i see no problem, You could make the script better by making B a local variable...