Colour Customization Script for A-Chassis Car

Hello guys! I need help for my game Colour Customization Script for A-Chassis Car I want to do it but the color of the vehicles does not change I’m not good at scripting


and yes this script i got from an old thread

2 Likes

Can’t even copy that to test anything … use the </> option to paste the actual code.
My guess would be you’re not pulling the text as a number but as a string …

local R = tonumber(script.Parent.Parent.RGBInput.R.TextBox.Text)
local G = tonumber(script.Parent.Parent.RGBInput.G.TextBox.Text)
local B = tonumber(script.Parent.Parent.RGBInput.B.TextBox.Text)


sorry it didn’t work, thanks anyway

I did this at one point. Made it so you could change car colors … but in my script I use BrickColor.new(color)

snip:

workspace.Buggys.DuneBuggy_00.Body.color.front.BrickColor = BrickColor.new(color)