How to make an textbox unlocks the frame (password/code) script, in Studio Lite

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 3

  • @oreoshakeyummy
    @oreoshakeyummy 6 дней назад +2

    teh code is brokcen😔😔💔💔!!! i will put a fixed versioan when i fix it in teh comments!!1!11

    • @oreoshakeyummy
      @oreoshakeyummy 6 дней назад

      local codeInput = script.Parent.Parent.CodeInput
      local correctFrame = script.Parent.Parent.CorrectFrame
      local button = script.Parent
      local correctCode = "12345" --change to whatever u want it to be
      local function onButtonClick()
      local userCode = codeInput.Text
      if userCode == correctCode then
      correctFrame.Visible = true
      else
      correctFrame.Visible = false
      end
      end
      correctFrame.Visible = false
      button.MouseButton1Click:Connect(onButtonClick)

    • @rifkyzzpng
      @rifkyzzpng  6 дней назад

      ​@@oreoshakeyummyOh sorreh for da eror