Hello. I've decided to make a color changing gui which was just a test. When testing it out, nothing was changing. When I tried to go to my playergui and change my color there, it changed back instantly.
I tried modifying the script to remove the while loop, change it to just a normal color change `script.Parent.BackgroundColor3 = Color3.FromHSV(50,255,255) (something like this, i was rewriting from memory, so don't bug me about typos)
This is what I used for the color changing script:
1 | --script in startergui>screengui>frame |
2 | for i = 1 , 359 do wait() |
3 | script.Parent.BackgroundColor 3 = Color 3. fromHSV(i, 255 , 255 ) |
4 | end |
Does anyone know why you can't change a bg color while ingame? `
EDIT: tried localscripts, didn't work