✓ Accepted answer
When using Color3, all of the 3 values must be a number between 0 and 1, to get the exact color you want you will have to use color/255. This is the code you should use:
local Gui = Instance.new("ScreenGui", Player.PlayerGui)
local Frame = Instance.new("Frame", Gui)
Frame.BackgroundTransparency = 0.3
Frame.BackgroundColor3 = Color3.new(170/255, 85/255, 255/255)
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(0, 1298,0, 1298)
I'm guessing it always came up as being white. I think Color3 values used to work as numbers up to 255 but now need to be between 0 and 1. If this worked or helped you, please vote up and accept as answer!
5 comments
I am trying this out in Studio, I'm looking into it.
I don't think it's possible to fix? I am having the same problem, but try using BrickColor.new("Color name here").Color
Try using BrickColor.new("Magenta").Color
Oh okay, thanks!
If you need any other help, PM EmeraldSlash (my main account)