-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleKeySYS-Whenineed
More file actions
51 lines (44 loc) · 1.22 KB
/
SimpleKeySYS-Whenineed
File metadata and controls
51 lines (44 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
local Players = {}
local game = game
local _L = {}
local HTTPRequest = (fluxus and fluxus.request) or (syn and syn.request) or (http and http.request) or http_request or request
local function GetKey()
if HTTPRequest then
local response = HTTPRequest({
Url = "https://pastebin.com/raw/dCNeiNmx",
Method = "GET",
})
return response.Body
end
return nil
end
local key = GetKey()
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
local Window = OrionLib:MakeWindow({Name = "Key system by Tropxz", HidePremium = true, SaveConfig = false, ConfigFolder = "Keysys"})
local Tab = Window:MakeTab({
Name = "Main",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
Tab:AddTextbox({
Name = "Key here",
Default = "",
TextDisappear = true,
Callback = function(Key)
if Key ~= key then
OrionLib:MakeNotification({
Name = "Wrong key",
Content = "Wrong key please try again.",
Image = "rbxassetid://4483345998",
Time = 5
})
else
OrionLib:MakeNotification({
Name = "Correct key.",
Content = "The key is correct, Loading UI",
Image = "rbxassetid://4483345998",
Time = 5
})
end
end
})