Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Obfuscated key using ASCII
- local correctKey = string.char(115, 99, 114, 105, 112, 116, 115, 99, 97, 115, 101, 114)
- -- Create ScreenGui
- local gui = Instance.new("ScreenGui")
- gui.Name = "KeyGui"
- gui.ResetOnSpawn = false
- gui.Parent = game:GetService("CoreGui")
- -- Main Frame
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 300, 0, 150)
- frame.Position = UDim2.new(0.5, -150, 0.5, -75)
- frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- frame.BorderSizePixel = 0
- frame.Parent = gui
- -- Title
- local title = Instance.new("TextLabel")
- title.Text = "Enter Access Key"
- title.Font = Enum.Font.SourceSansBold
- title.TextSize = 20
- title.Size = UDim2.new(1, 0, 0, 40)
- title.TextColor3 = Color3.new(1, 1, 1)
- title.BackgroundTransparency = 1
- title.Parent = frame
- -- TextBox
- local box = Instance.new("TextBox")
- box.PlaceholderText = "Enter key here..."
- box.Font = Enum.Font.SourceSans
- box.TextSize = 18
- box.Size = UDim2.new(0.9, 0, 0, 35)
- box.Position = UDim2.new(0.05, 0, 0.45, 0)
- box.TextColor3 = Color3.new(1, 1, 1)
- box.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- box.BorderSizePixel = 0
- box.Parent = frame
- -- Submit Button
- local submit = Instance.new("TextButton")
- submit.Text = "Submit"
- submit.Font = Enum.Font.SourceSansBold
- submit.TextSize = 18
- submit.Size = UDim2.new(0.9, 0, 0, 35)
- submit.Position = UDim2.new(0.05, 0, 0.75, 0)
- submit.TextColor3 = Color3.new(1, 1, 1)
- submit.BackgroundColor3 = Color3.fromRGB(60, 120, 255)
- submit.BorderSizePixel = 0
- submit.Parent = frame
- -- Notification
- local notif = Instance.new("TextLabel")
- notif.Size = UDim2.new(1, 0, 0, 20)
- notif.Position = UDim2.new(0, 0, 1, -20)
- notif.Text = ""
- notif.Font = Enum.Font.SourceSans
- notif.TextSize = 16
- notif.TextColor3 = Color3.fromRGB(255, 80, 80)
- notif.BackgroundTransparency = 1
- notif.Parent = frame
- -- Key Check
- submit.MouseButton1Click:Connect(function()
- if box.Text == correctKey then
- notif.Text = "Access granted."
- task.wait(0.5)
- gui:Destroy()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/IdkRandomUsernameok/PublicAssets/refs/heads/main/Releases/MUI.lua"))()
- else
- notif.Text = "Wrong key."
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment