Key System
Key System Source
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/DenDenZZZ/Orion-UI-Library/refs/heads/main/source')))()
local Window = OrionLib:MakeWindow({Name = "Key Gradeian", HidePremium = false, IntroText = ("Intro Text"), SaveConfig = true, IntroIcon = ("rbxassetid://123456"), ConfigFolder = "OrionTest"})
OrionLib:MakeNotification({
Name = "LunaPhs",
Content = "LunaPhs Source [KeyGradeian]",
Image = "",
Time = 5
})
_G.Key = "Key"
_G.KeyInput = "string"
function MakeScriptHub()
print("Script")
end
function CorrectKeyNotification()
OrionLib:MakeNotification({
Name = "Correct Key",
Content = "You have entered the correct key!",
Image = "rbxassetid://135837991418404",
Time = 5
})
end
function IncorrectKeyNotification()
OrionLib:MakeNotification({
Name = "Incorrect Key",
Content = "You have entered the incorrect key!",
Image = "rbxassetid://106762371956154",
Time = 5
})
end
local Tab = Window:MakeTab({
Name = "Login",
Icon = "rbxassetid://71888637873702",
PremiumOnly = false
})
Tab:AddTextbox({
Name = "Enter Key!",
Default = "",
TextDisappear = true,
Callback = function(Value)
_G.KeyInput = Value
print("Keyinput")
end
})
Tab:AddButton({
Name = "Check Key",
Callback = function()
if _G.KeyInput == _G.Key then
MakeScriptHub()
CorrectKeyNotification()
else
IncorrectKeyNotification()
end
end
})
Tab:AddButton({
Name = "Get key",
Callback = function()
setclipboard("")
end
})
--[[
説明 [キーの設定方法] _G.Key = "ここにキー"
]]Last updated