Basically you enter the code in the gui and then another GUI opens Please i need the script

script.Parent.MouseButton1Click:connect(function()
	if script.Parent.Parent.Input.Text == 'Code1' then
		script.Parent.Text = 'Success!'
		script.Parent.Parent.Input.Text = '112'
		wait(1)
		script.Parent.Text = 'Submit'
	elseif script.Parent.Parent.Input.Text == '112' then
		script.Parent.Text = 'Success!'
		script.Parent.Parent.Input.Text = '112'
		wait(1)
		script.Parent.Text = 'Submit'
	elseif script.Parent.Parent.Input.Text == 'Code3' then
		script.Parent.Text = 'Success!'
		script.Parent.Parent.Input.Text = '112'
		wait(1)
		script.Parent.Text = 'Submit'
	else script.Parent.Parent.Input.Text = '112'
		script.Parent.Text = 'Incorrect Code'
		wait(1)
		script.Parent.Text = 'Submit'
	end
end)
script.Parent.MouseButton1Click:connect(function()
	script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
end)

4 comments

0

This is not a request site.

0

i made a script

0

This is spam. Spam is bad. Dont make spam.

0

this is not spam...