Universal Script 📌
2.8k Views
2 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!

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
Script hub
10
0
Approved 8 minutes ago
Key System
Universal Script 📌
4.7k
48.5k
Bumped 28 minutes ago
Universal Script 📌
44
0
Approved 44 minutes ago
Universal Script 📌
833
709
Bumped 58 minutes ago
Key System
Script hub
78
11
Approved 1 hour ago