local gui = script.Parent.Parent
local tb = script.Parent
tb:Text("hi")
✓ ANSWER ACCEPTED
how would i change the text of a textbox in a gui?
2 answers
✓ Accepted answer
local gui = script.Parent.Parent
local tb = script.Parent
tb.Text = "hi"
Hope it works
local gui = script.Parent.Parent
local tb = script.Parent
tb.Text = "hi"
You should use an equal sign to set the value. https://developer.roblox.com/en-us/api-reference/class/TextBox
2 comments
0
you didnt include any of the variables he used; and you changed the text.
0
fixed
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
it worked. i didnt expect you to be able to change something like that