Getting Color3 from datastore to use

User.FavouriteColor = {107, 184, 217}
PlayerName.TextColor3 = Color3.fromRGB(User.FavouriteColor)

No errors show up, it just makes the player name black instead of the actual color (which is like a light blue)

You’re passing Color3.fromRGB an entire table. You need to pass it 3 parameters… R, G, B.

User.FavouriteColor = {107, 184, 217}
PlayerName.TextColor3 = Color3.fromRGB(User.FavouriteColor[1], User.FavouriteColor[2], User.FavouriteColor[3])
4 Likes

Alternatively, Color3.fromRGB(unpack(User.FavouriteColor))

1 Like