Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- local Player = game.Players.LocalPlayer
- local Window = OrionLib:MakeWindow({Name = "Key System", HidePremium = false, SaveConfig = true, IntroEnabled = false})
- OrionLib:MakeNotification({
- Name = "Logged in!",
- Content = "You are logged in as ".. Player.Name.." ",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- _G.Key = "Louisandbella24"
- _G.KeyInput = "string"
- function MakeScriptHub()
- local Window = OrionLib:MakeWindow({Name = "Script Hub", HidePremium = false, SaveConfig = true, IntroEnabled = true, IntroText = "Script Hub"})
- end
- function CorrectKeyNotification()
- OrionLib:MakeNotification({
- Name = "Correct Key!",
- Content = "You have entered the correct key! "
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- function IncorrectKeyNotification()
- OrionLib:MakeNotification({
- Name = "Incorrect Key!",
- Content = "You have entered the Incorrect key! "
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- local Tab = Window:MakeTab({
- Name = "Key",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- Tab:AddTextbox({
- Name = "Enter Key",
- Default = "Enter Key",
- TextDisappear = true,
- Callback = function(Value)
- _G.KeyInput = Value
- end
- })
- Tab:AddButton({
- Name = "Check Key!",
- Callback = function()
- if _G.KeyInput == _G.Key then
- MakeScriptHub()
- function CorrectKeyNotification()
- else
- IncorrectKeyNotification()
- end
- end
- })
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement