I have a GUI in PlayerGui, and I would like to change its background color using PlayerAdded from a server script. Is this possible and if it is, how would I do this?
✓ ANSWER ACCEPTED
How would I change the color of a gui from a serverscript?
2 answers
✓ Accepted answer
game.Players.PlayerAdded:Connect(function(player)
player.PlayerGui.ScreenGui.Frame.BackgroundColor3 = Color3.new(0,0,0) -- 0,0,0 = black
end)
I found out that I had the GUI's "Reset On Spawn" property on. I just turned it off to fix what I needed to do.
This discussion is preserved as it was. New answers, comments, and votes are closed.
