Currently, I am attempting to capture the FontType of a text label inside of a value, which is also inside of that textbox.
I was wondering if there's a way I can do this without error. My code is posted below, as well as a hierarchy of how the text label is in reference to the value and the script itself.
>>Textlabel
>>Value
>>Script
while true do
wait(0)
script.Parent.Value = script.Parent.Parent.Font
end

2 comments
There are many things that should be changed here. * First off, adding wait(0) has literally no use for the code. Just do wait() if you have to * You shouldn't be looping this forever. Instead, you should change the StringValue.Value every time something specific changes * You cannot make the string value equal to the font itself, I believe. I'd remake this for you if I knew what it was meant to
I'm attempting to create a text-editor on ROBLOX, just for the giggles. I do appreciate your input, and now that I know how to capture fonts inside of a StringValue, I can implement this a lot better.