User interface colour changing

I’m not good with colours,

I’ve tried this, I’m not 100% sure what I done wrong

	game.StarterGui.ScreenGui.TextLabel.TextColor = "Really Red"

Any Help would be great, I’m trying to make a colour changing text label :slight_smile:

1 Like

Do this instead :

game.StarterGui.ScreenGui.TextLabel.TextColor3 =Color3.fromRGB(255,0,0) -- change numbers into your color
1 Like

yet again, thank you for the solution :+1:

2 Likes

You can either use Color3 or BrickColor

This is the use for Color3:

game.Players.LocalPlayer.ScreenGui.TextLabel.TextColor3 = Color3.fromRGB(0,0,0)--Put the RGB code you want

This the use for BrickColor:

game.Players.LocalPlayer.ScreenGui.TextLabel.TextColor = BrickColor.New("Really Red")
1 Like

You can’t access the player’s Gui using StarterGui Use game.Players.LocalPlayer.PlayerGui next time :smile:

I know that. Depends if he wants to use it while playing or not.

I believe he wants it for the player since any Modification to the StarterGui while the game starts won’t replicate to players so it’s pointless

They might be performing the edits via studio’s command bar, in which case StarterGui should be referenced.