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

How can you make a brick change colors?

Asked by 6 years ago

What I mean is, The R,G,B setting. Also I'm new here.

0
script.Parent.Color = Color3.new(000,000,000) ziploz 7 — 6y
0
use Color3.fromRGB(R, G, B), it creates a new Color3 using RGB integer values between 0 and 255 or use color3.new(r, g, b), it creates a new Color3 using RGB values between 0 and 1. Is_Hunter 152 — 6y

2 answers

Log in to vote
2
Answered by
Avigant 2374 Moderation Voter Community Moderator
6 years ago
local Part = workspace.Part
Part.Color = Color3.new(1, 0, 0)

http://wiki.roblox.com/index.php?title=Color3

0
Lmao who keeps down voting you.... Th code is correct Axceed_Xlr 380 — 6y
Ad
Log in to vote
0
Answered by 6 years ago
Edited 6 years ago
local part = workspace.Part

part.Color = BrickColor.new("White").Color

Answer this question