Here is my code:
game.CoreGui.LsZmKQp.Frame.TextButton.MouseButton1Click:Connect(function()
if TextBox.Text then
TextButton.Text = ("Check Developer Console with F9")
wait(2)
TextButton.Text = ( "Encrypt")
print(TextBox.Text) else
print("You need to type something in the Textbox!")
end
end)
I need to know how to make a Script that can tell if there is text in a textbox
If a textbox has no text, it's text would be considered "", otherwise a string value that contains nothing, so you could easily do this:
if not TextBox == "" then
if not
is pretty much the same as saying if TextBox ~= "" then