Run it
Copy the script and paste it into your executor.
-- This must be a LocalScript
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Create ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "KeySystemGUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = playerGui
-- Create Frame
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 300, 0, 200)
Frame.Position = UDim2.new(, -, , -)
Frame.BackgroundColor3 = .(, , )
Frame.Parent = ScreenGui
Label = .()
Label.Size = .(, , , )
Label.Position = .(, , , )
Label.Text =
Label.TextColor3 = .(, , )
Label.BackgroundTransparency =
Label.Parent = Frame
TextBox = .()
TextBox.Size = .(, , , )
TextBox.Position = .(, , , )
TextBox.PlaceholderText =
TextBox.Text =
TextBox.ClearTextOnFocus =
TextBox.Parent = Frame
Button = .()
Button.Size = .(, , , )
Button.Position = .(, , , )
Button.Text =
Button.Parent = Frame
correctKey =
()
()
Button.MouseButton1Click:(()
TextBox.Text == correctKey
Label.Text =
()
Label.Text =
)key system

Universal