Universal Script πŸ“Œ
2.8k Views
6 Executions

KeyAuth

Universal Script πŸ“Œ
justlivinlife
justlivinlifePublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

A module to setup a key system for your script. !MUST OBFUSCATE THE CODE AFTER CONFIGURING!

Updates

  1. Script edited: Create script

View Raw
local module = {}

function module:createKeyWindow(key, keyLink, keyWrongCallback, keyPassCallback)
    local screenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
    local mainFrame = Instance.new("Frame", screenGui)
    mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
    mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
    mainFrame.Size = UDim2.new(0, 440, 0, 240)
    mainFrame.BackgroundColor3 = Color3.new(0.066666, 0.062745, 0.062745)
    mainFrame.BorderSizePixel = 0

    Instance.new("UICorner", mainFrame)

    local closeButton = Instance.new("TextButton", mainFrame)
    closeButton.AnchorPoint = Vector2.new(0.5, 0.5)
    closeButton.Position = UDim2.new(0.5, 200, 0.5, -100)
    closeButton.Size = UDim2.new(0, 20, 0, 20)
    closeButton.TextSize = 22
    closeButton.Font = Enum.Font.SourceSans
    closeButton.Text = "X"
    closeButton.BackgroundTransparency = 1
    closeButton.TextColor3 = Color3.new(0.572549, 0.572549, 0.572549)

    local keyTextBox = Instance.new("TextBox", mainFrame)
    keyTextBox.AnchorPoint = Vector2.new(0.5, 0.5)
    keyTextBox.Position = UDim2.new(0.5, 0, 0.5, -10)
    keyTextBox.Size = UDim2.new(0, 260, 0, 160)
    keyTextBox.TextColor3 = Color3.new(0.145098, 0.145098, 0.145098)
    keyTextBox.PlaceholderColor3 = Color3.new(0.145098, 0.145098, 0.145098)
    keyTextBox.Text = ""
    keyTextBox.PlaceholderText = "Key here..."
    keyTextBox.BackgroundTransparency = 1
    keyTextBox.TextXAlignment = Enum.TextXAlignment.Left
    keyTextBox.ClearTextOnFocus = false
    keyTextBox.TextSize = 22
    keyTextBox.Font = Enum.Font.SourceSans

    local checkKeyButton = Instance.new("TextButton", mainFrame)
    checkKeyButton.AnchorPoint = Vector2.new(0.5, 0.5)
    checkKeyButton.Position = UDim2.new(0.5, 0, 0.5, 50)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script πŸ“Œ
6.5k
8.4k
Bumped 33 minutes ago
Universal Script πŸ“Œ
41.9k
1.4M
Bumped 2 hours ago
Script hub
25.7k
163.4k
Bumped 2 hours ago
Universal Script πŸ“Œ
213
36
2 hours ago
High QualityΒ Offering
Universal Script πŸ“Œ
196
2.9k
Bumped 2 hours ago
Key System
Universal Script πŸ“Œ
10.4k
422
Bumped 4 hours ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.5k
33.3k
Bumped 4 hours ago
Key System