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')))()
- -- Créer la fenêtre principale
- local Window = OrionLib:MakeWindow({Name = "Battle Ground Hub", HidePremium = false, SaveConfig = true, IntroText = "Bienvenue"})
- -- Fonction pour créer le contenu principal
- function createMainContent()
- local MainTab = Window:MakeTab({Name = "Main", Icon = "rbxassetid://4483345998", PremiumOnly = false})
- MainTab:AddParagraph("Bienvenue!", "Vous avez maintenant accès à l'interface principale.")
- -- Premier bouton pour exécuter le premier script
- MainTab:AddButton({
- Name = "Exécuter Script 1",
- Callback = function()
- local args = {
- [1] = {
- [1] = {
- [1] = "G",
- [3] = true
- },
- [2] = "\3"
- }
- }
- game:GetService("ReplicatedStorage").BridgeNet2.dataRemoteEvent:FireServer(unpack(args))
- print("Script 1 exécuté.")
- end
- })
- -- Deuxième bouton pour exécuter le deuxième script
- MainTab:AddButton({
- Name = "Exécuter Script 2",
- Callback = function()
- local args = {
- [1] = {
- [1] = {
- [1] = "giveUltimate"
- },
- [2] = "\6"
- }
- }
- game:GetService("ReplicatedStorage").BridgeNet2.dataRemoteEvent:FireServer(unpack(args))
- print("Script 2 exécuté.")
- end
- })
- end
- -- Créer le contenu principal
- createMainContent()
- -- Initialiser OrionLib
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment