Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
local frame = Instance.new("Frame", screenGui)
frame.Size = UDim2.new(0.4, 0, 0.3, 0)
frame.Position = UDim2.new(0.3, 0, 0.35, 0)
frame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
frame.BorderSizePixel = 0
frame.Style = Enum.FrameStyle.RobloxRound
local titleLabel = .(, frame)
titleLabel.Size = .(, , , )
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.BackgroundTransparency =
titleLabel.TextScaled =
titleLabel.Font = .Font.GothamBold
textBox = .(, frame)
textBox.Size = .(, -, , )
textBox.Position = .(, , , )
textBox.BackgroundColor3 = .(, , )
textBox.TextColor3 = .(, , )
textBox.TextScaled =
textBox.PlaceholderText =
textBox.TextStrokeTransparency =
submitButton = .(, frame)
submitButton.Size = .(, -, , )
submitButton.Position = .(, , , )
submitButton.Text =
submitButton.BackgroundColor3 = .(, , )
submitButton.TextColor3 = .(, , )
submitButton.TextScaled =
submitButton.Font = .Font.GothamBold
submitButton.BorderSizePixel =
submitButton.MouseButton1Click:(()
enteredCode = textBox.Text
correctCode =
enteredCode == correctCode
()
)
screenGui.Parent = player:()The ui is not good because I'm not good at making ui

Universal