Hi I’d like to make a colour wheel that has darkness controlling too, anyone know how I can do this?
This is not very specific, could please elaborate
I want to make one of these.
This will probably take much longer but you could create pixels via image button, replace the image with the colors, put a StringValue in each of them with the color’s name spelled correctly. Then you would put a script in ServerScriptService and copy this into it:
local Frame = game.StarterGui.Frame —replace Frame with the name of your frame(this is the frame that has all the color buttons on it)
for I,V in pairs(Frame:GetChildren()) do
if V:IsA(“ImageButton”) then
v.MouseButton1Click:Connect(function()
—code to change something’s color
local color = Color3.new(V:WaitForChild(“StringValue”).Value))
end
end
end)
P.S. My quotations won’t work since I’m on mobile
Isn’t there an easier way than creating many pixles? Cause I’m looking for complete colour wheel.
There probably is, but could you add like two or three buttons and see if my script works please?
Why would I test it when it’s not the end goal I’m looking for it’l probably work but not in the way I need it to…
There’s a tutorial on it:
How to Make a COLOR WHEEL | HowToRoblox - YouTube
It includes the darkness too
Ah thanks I’ll take a look.
ignorE:egrhtyg
What do you mean by It’s not your end goal, I gave you a valid script but it will take awhile
I’m sorry but I’m not making thousands of pixles.
i know im two years late to this topic but i want to move the cursor to a color
like for example if i give a function the color red the cursor in the wheel moves to red, and that should also account for darkness how can i do that?
any help will be appreciated