How do I convert a Vector3 value to and from a String value?
I'm designing a GUI to allow a player to input a custom VertexColor` for some meshes thats used for a hair in a morph room. The only issue is that I'm unable to find a way to use String values and Vector3 Values.
1 | Display.Click.MouseClick:Connect( function (player) |
2 | Display.SurfaceGui.Vertex.Text = player.DATA.HairColor.Value |
6 | Clear.Click.MouseClick:Connect( function (player) |
7 | Display.SurfaceGui.Vertex.Text = "[1,1,1]" |
The player has a configuration folder storing the data which is where I'm storing the value to be stored. Theres a display board to display the current value they're using. Is there something that uses both or a way to convert between the two?