Yingyang005

Batlle ground

Dec 7th, 2024 (edited)
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2.  
  3. -- Créer la fenêtre principale
  4. local Window = OrionLib:MakeWindow({Name = "Battle Ground Hub", HidePremium = false, SaveConfig = true, IntroText = "Bienvenue"})
  5.  
  6. -- Fonction pour créer le contenu principal
  7. function createMainContent()
  8. local MainTab = Window:MakeTab({Name = "Main", Icon = "rbxassetid://4483345998", PremiumOnly = false})
  9.  
  10. MainTab:AddParagraph("Bienvenue!", "Vous avez maintenant accès à l'interface principale.")
  11.  
  12. -- Premier bouton pour exécuter le premier script
  13. MainTab:AddButton({
  14. Name = "Exécuter Script 1",
  15. Callback = function()
  16. local args = {
  17. [1] = {
  18. [1] = {
  19. [1] = "G",
  20. [3] = true
  21. },
  22. [2] = "\3"
  23. }
  24. }
  25. game:GetService("ReplicatedStorage").BridgeNet2.dataRemoteEvent:FireServer(unpack(args))
  26. print("Script 1 exécuté.")
  27. end
  28. })
  29.  
  30. -- Deuxième bouton pour exécuter le deuxième script
  31. MainTab:AddButton({
  32. Name = "Exécuter Script 2",
  33. Callback = function()
  34. local args = {
  35. [1] = {
  36. [1] = {
  37. [1] = "giveUltimate"
  38. },
  39. [2] = "\6"
  40. }
  41. }
  42. game:GetService("ReplicatedStorage").BridgeNet2.dataRemoteEvent:FireServer(unpack(args))
  43. print("Script 2 exécuté.")
  44. end
  45. })
  46. end
  47.  
  48. -- Créer le contenu principal
  49. createMainContent()
  50.  
  51. -- Initialiser OrionLib
  52. OrionLib:Init()
  53.  
Advertisement
Add Comment
Please, Sign In to add comment