-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKeySystem
More file actions
95 lines (81 loc) · 2.81 KB
/
KeySystem
File metadata and controls
95 lines (81 loc) · 2.81 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
InterfaceManager:SetFolder("Luminous Hub")
SaveManager:SetFolder("Luminous Hub/KeySystem")
local folderPath = "Luminous Hub/KeySystem"
local fileName = "Key.txt"
local filePath = folderPath .. "/" .. fileName
if not isfolder(folderPath) then
makefolder(folderPath)
end
local savedKey = ""
if isfile(filePath) then
savedKey = readfile(filePath)
end
local Window = Fluent:CreateWindow({
Title = "Hexa Hub",
SubTitle = "Key System",
TabWidth = 100,
Size = UDim2.fromOffset(440, 330),
Acrylic = false,
Theme = "Dark",
MinimizeKey = Enum.KeyCode.LeftControl
})
local Tabs = {
Main = Window:AddTab({ Title = "Enter Key", Icon = "key" }),
Settings = Window:AddTab({ Title = "Settings", Icon = "settings" }),
}
local Input = Tabs.Main:AddInput("Input", {
Title = "Key Here",
Default = savedKey,
Placeholder = "Enter here",
Numeric = false,
Finished = true,
Callback = function(Value)
writefile(filePath, Value)
script_key=Value;
loadstring(game:HttpGet("https://raw.githubusercontent.com/HexaHubScripts/Luminous/refs/heads/main/Loader", true))()
Fluent:Destroy()
end
})
Tabs.Main:AddButton({
Title = "Copy Discord Link",
Callback = function()
setclipboard("https://discord.gg/rkAkG8q9Ak")
Fluent:Notify({
Title = "Copied Discord Link",
Content = "Successfully copied the key link to clipboard.",
Duration = 2
})
end
})
Tabs.Main:AddButton({
Title = "Copy Key Link (LootLabs)",
Callback = function()
setclipboard("https://ads.luarmor.net/get_key?for=Hexa_Hub_Lootlabs-uekxYApFodwb")
Fluent:Notify({
Title = "Copied Key Link",
Content = "Successfully copied the key link to clipboard.",
Duration = 2
})
end
})
Tabs.Main:AddButton({
Title = "Copy Key Link (Linkvertise)",
Callback = function()
setclipboard("https://ads.luarmor.net/get_key?for=Hexa_Hub_Linkvertise-IbvWVrayaPTb")
Fluent:Notify({
Title = "Copied Key Link",
Content = "Successfully copied the key link to clipboard.",
Duration = 2
})
end
})
SaveManager:SetLibrary(Fluent)
InterfaceManager:SetLibrary(Fluent)
SaveManager:IgnoreThemeSettings()
SaveManager:LoadAutoloadConfig()
InterfaceManager:BuildInterfaceSection(Tabs.Settings)
SaveManager:BuildConfigSection(Tabs.Settings)
Window:SelectTab(1)