Here is my current code...
NOTE: This is a local script, it is in the submitbutton
local plr = game.Players.LocalPlayer local gui = plr.PlayerGui.godus.Frame local textbox = plr.PlayerGui.ENGINE.Background.TextBox local code = "test" script.Parent.MouseButton1Click:connect(function(submitcode) if textbox.Text == code then gui.Visible = true end end)
if textbox.Text == code Here i think u made a mistake, if the text doesn't exist make it visible
Try this.
Replace your line
if textbox.Text == code
With:
if textbox.Text ~= code