RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"script that sets the background color of a GUI frame when a dropdown selection is made"
-- local script local ColorDropdown = script.Parent ColorDropdown.Selection:Connect(function(option) if option.Name == "Red" then script.Parent.Parent.BackgroundColor3 = Color3.new(1,0,0) elseif option.Name == "Green" then script.Parent.Parent.BackgroundColor3 = Color3.new(0,1,0) elseif option.Name == "Blue" then script.Parent.Parent.BackgroundColor3 = Color3.new(0,0,1) end end)