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)
teh code is brokcen😔😔💔💔!!! i will put a fixed versioan when i fix it in teh comments!!1!11
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)
@@oreoshakeyummyOh sorreh for da eror