Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Charger OrionLib
- local OrionLib = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Orion/main/source'))()
- -- Définir les paramètres de la fenêtre
- local Window = OrionLib:MakeWindow({
- Name = "Demonic Hub",
- HidePremium = false,
- SaveConfig = true,
- ConfigFolder = "DemonicHubSaves"
- })
- -- Ajouter un onglet principal
- local MainTab = Window:MakeTab({
- Name = "Main",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Ajouter des éléments à l'onglet principal
- MainTab:AddLabel("Welcome to Demonic Hub")
- MainTab:AddButton({
- Name = "Activate Script",
- Callback = function()
- getgenv().ValidateType = "Key"
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Prosexy/Demonic-HUB-V2/main/DemonicHub_V2.lua", true))()
- end
- })
- -- Jeux et leurs URL
- local Games = {
- [3457700596] = "https://raw.githubusercontent.com/Prosexy/F/main/77_63JDZPIZ1S2C.lua.txt",
- [5675104029] = "https://raw.githubusercontent.com/Prosexy/F/main/77_O9Q4G4JOAON8.lua.txt",
- [4568630521] = "https://raw.githubusercontent.com/Prosexy/F/main/77_95DF9P7.lua.txt",
- [903807016] = "https://raw.githubusercontent.com/Prosexy/F/main/77_903807016.lua.txt",
- [1016936714] = "https://raw.githubusercontent.com/Prosexy/F/main/77_1016936714.lua.txt"
- -- Ajoutez les autres jeux et URL ici
- }
- -- Afficher les jeux et leurs URL dans l'interface
- for gameId, url in pairs(Games) do
- MainTab:AddButton({
- Name = "Load Game Script " .. gameId,
- Callback = function()
- loadstring(game:HttpGet(url, true))()
- end
- })
- end
- -- Charger les modules nécessaires
- local moduleQueue = {
- Progress = {"https://raw.githubusercontent.com/cheapsk9/progress/main/beta.lua", "Demonic UI Library"}
- }
- local modules = {}
- if Games[game.GameId] or Games[game.PlaceId] then
- moduleQueue.GameScript = {Games[game.GameId] or Games[game.PlaceId], "This Game's Script"}
- else
- moduleQueue.Notify = {"https://raw.githubusercontent.com/x9PSwiftz/Panda/main/Notification.lua", "Notification Module"}
- moduleQueue.NotificationHolder = {"https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Module.Lua", "Loady Notification Holder"}
- moduleQueue.Notification = {"https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Client.Lua", "Loady Notification"}
- moduleQueue.Loady = {"https://bitbucket.org/cat__/uis/raw/Loady/Module", "Loady"}
- end
- -- Fonction pour charger les modules
- local function loadUrl(name, module)
- modules[name] = loadstring(game:HttpGet(module[1], true))()
- loadCurr = loadCurr + 1
- if loadCurr == loadGoal then
- local LoaderCloseTween = TweenService:Create(LoaderBg, TweenInfo.new(1), {Size = UDim2.fromOffset(0, 200)})
- LoaderCloseTween.Completed:Connect(function()
- LoaderGui:Destroy()
- end)
- LoaderCloseTween:Play()
- LoadProgress()
- end
- end
- -- Initialiser le chargement des modules
- local loadGoal = 0
- local loadCurr = 0
- for _ in next, moduleQueue do
- loadGoal = loadGoal + 1
- end
- for k, v in next, moduleQueue do
- coroutine.resume(coroutine.create(loadUrl), k, v)
- end
- -- Vérifier l'accès à CoreGui et charger le hub
- if pcall(function()
- local Test = Instance.new("ScreenGui")
- Test.Name = "Test"
- Test.Parent = game:GetService("CoreGui")
- Test:Destroy()
- end) then
- GuiOfChoice = game:GetService("CoreGui")
- LoadHub()
- else
- local bindable = Instance.new("BindableFunction")
- bindable.OnInvoke = function(choice)
- if choice == "Yes" then
- LoadHub()
- end
- bindable:Destroy()
- bindable = nil
- end
- GuiOfChoice = game:GetService("Players").LocalPlayer:FindFirstChildOfClass("PlayerGui")
- if GuiOfChoice then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Run hub anyway?",
- Text = "No access to CoreGui. This may cause problems in games with sensitive anti-cheats.",
- Icon = "rbxassetid://16755289922",
- Duration = 10,
- Callback = bindable,
- Button1 = "Yes",
- Button2 = "No",
- })
- else
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "This is awkward...",
- Text = "Looks like the developer of the game decided to troll us by removing PlayerGui. Therefore, we can't run the hub.",
- Icon = "rbxassetid://16755289922",
- Duration = 10,
- })
- end
- end
- -- Affichage de la fenêtre
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment