local box = script.Parent local prn = script.Parent.Parent box.MouseButton1Click:Connect(function() prn.BackgroundColor3 = Color3.new(34, 255, 0) end)
Why does this script turn the gui yellow instead of green!?
ok swap line 4 of ur script with this:
prn.BackgroundColor3 = Color3.fromRGB(34, 255, 0)
lol did it work now?
Color3.new() ~= Color3.fromRGB() which should explain y. Also "prn" sounds inappropriate.
local box = script.Parent local prn = script.Parent.Parent box.MouseButton1Click:Connect(function() prn.BackgroundColor3 = Color3.new(34/255, 255/255, 0/255) end)