So I made a GUI, but I need to know how to make it change it's text back to "Decal ID Here", when a player stops typing on it, and clicks on something else.
use this:
while true do
if script.Parent.Text == " " then
script.Parent.Text = "Decal ID Here"
end
end
Thats the script text ^^^, paste that into script, well type that into script. then put script inside the TextBox.
Try this, it is to be put in a local script under the TextBox.
script.Parent.FocusLost:connect(function(enterPressed) if enterPressed then print("Focus was lost because enter was pressed!") end end)
Source http://wiki.roblox.com/index.php?title=FocusLost_%28Event%29