|
|
| 29 Aug 2016 02:42 PM
|
i'm making a game and i was wondering, how do you change the background color of a GUI in studio?
i tried this
local Gui = script.Parent
while wait() do
Gui.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
wait(0.5)
Gui.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
end
but it didn't work.
help.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 29 Aug 2016 02:45 PM
|
script.Parent.BackgroundColor3 = Color3.new(0.1,0.1,0.1)
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 29 Aug 2016 02:46 PM
|
the script is already inside the gui.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
|
|
|
| 29 Aug 2016 02:49 PM
|
Oh sorry. You should remove that.
|
|
|
|
|
|
|
Report
Abuse
|
|