|
| 24 Mar 2014 03:11 PM |
How would I do this without errors: local font = Instance.new("StringValue", v) font.Name = "Font" if child.Name == "Fearlessblocky202" then font.Value = "SourceSansBold" else font.Value = "Arial" end And then later on.. t1.TextColor3 = t2.TextColor3 t1.Text = t2.Text t1.Font = t2.Font.Text t2.TextColor3 = t3.TextColor3 t2.Text = t3.Text t2.Font = t3.Font.Text And so on until: t6.TextColor3 = col.Value t6.Text = v.Value t6.Font = font.Value.Text
I checked the parents and everything like that is fine. The only problem I seem to be having is that the fonts don't change. If I remove the editing of the font, the script works perfectly fine. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2014 03:15 PM |
| Remove all of the '.Text's from the '.Font's. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Mar 2014 03:25 PM |
t1.TextColor3 = t2.TextColor3 t1.Text = t2.Text t1.Font = t2.Font t2.TextColor3 = t3.TextColor3 t2.Text = t3.Text t2.Font = t3.Font
t6.TextColor3 = col.Value t6.Text = v.Value t6.Font = font.Value
Also remove them from '.Value'. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2014 03:28 PM |
| Do you mean to be checking for "Fearlessblocky202" as a child? It would be a bit odd to store a player's model within a script. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2014 08:08 PM |
| Nevermind, I found my mistake just now. |
|
|
| Report Abuse |
|
|