|
How do i make textbox unfocusable?
|
|
|
|
You can't change the Text?
|
|
|
go into 'Properties'. Do you know where Properties are?
My models: https://www.roblox.com/users/36133282/inventory/#!/models |
|
|
Yeh, i tried turning off "Active" and "Selectable" still doesn't work
|
|
|
If you want to change the text of what the TextBox says, go into click the TextBox in Explorer, then click Properties, then scroll down until you see 'Text'. Then put what you want the TextBox to say in there. You can also change what the TextBox says by using a script. Put this script in the TextBox
script.Parent.Text = "(INSERT TEXT HERE)" --Remove the '(' and ')'
if you want the TextBox to change what it says and loop it, then do this.
while true do
script.Parent.Text = "(INSERT TEXT HERE)"
wait(5) --How long it will wait till it changes
script.Parent.Text = "(INSERT SECOND TEXT HERE)"
wait(5)
end
My models: https://www.roblox.com/users/36133282/inventory/#!/models |
|
|
Oh wait, i think you misunderstood what i want because i accidently put a question mark in my last post
I wan't it so people can't click the TextBox and change the text
lol
|
|
|
Okay, well delete the TextBox and replace it with a TextLabel
My models: https://www.roblox.com/users/36133282/inventory/#!/models |
|
pidgeyJoin Date: 2008-01-16 Post Count: 2739 |
whats the point of a textbox if u cant put text in it
textbox.Changed:connect(function(p)
if p == "Selected" then
textbox.Selected = false
end
end)
idk
pidgey is my name sh##posting is my game |
|
|
Make it a TextLabel and not a TextBox |
|
|
The textbox is used for stuff like creating custom chat, or some sorta' in-game search. You get the point.
My models: https://www.roblox.com/users/36133282/inventory/#!/models |
|
|
K i feel stupid now, idk textlabel exist
Thanks guys! |
|