TEXT   33

HUUNHAT

Guest on 21st August 2022 08:32:18 AM

  1. repeat task.wait() until game.GameId ~= 0
  2. if Parvus and Parvus.Loaded then
  3.     Parvus.Utilities.UI:Notification({
  4.         Title = "Parvus Hub",
  5.         Description = "Script already executed!",
  6.         Duration = 5
  7.     }) return
  8. end
  9.  
  10. local PlayerService = game:GetService("Players")
  11. local LocalPlayer = PlayerService.LocalPlayer
  12.  
  13. local function GetSupportedGame() local Game
  14.     for Id,Info in pairs(Parvus.Games) do
  15.         if tostring(game.GameId) == Id then
  16.             Game = Info break
  17.         end
  18.     end if not Game then
  19.         Game = Parvus.Games.Universal
  20.     end return Game
  21. end
  22.  
  23. local function GetScript(Script)
  24.     return Parvus.Debug and readfile("Parvus/" .. Script .. ".lua")
  25.     or game:HttpGetAsync("https://raw.githubusercontent.com/AlexR32/Parvus/main/" .. Script .. ".lua")
  26. end
  27.  
  28. local function LoadScript(Script)
  29.     return loadstring(Parvus.Debug and readfile("Parvus/" .. Script .. ".lua")
  30.     or game:HttpGetAsync("https://raw.githubusercontent.com/AlexR32/Parvus/main/" .. Script .. ".lua"))()
  31. end
  32.  
  33. getgenv().Parvus = {
  34.     Loaded = false,
  35.     Debug = false,
  36.     Utilities = {},
  37.     Games = {
  38.         ["Universal"] = {
  39.             Name = "Universal",
  40.             Script = "Universal"
  41.         },
  42.         ["1054526971"] = {
  43.             Name = "Blackhawk Rescue Mission 5",
  44.             Script = "Games/BRM5"
  45.         },
  46.         ["580765040"] = {
  47.             Name = "RAGDOLL UNIVERSE",
  48.             Script = "Games/RU"
  49.         },
  50.         ["1168263273"] = {
  51.             Name = "Bad Business",
  52.             Script = "Games/BB"
  53.         },
  54.         ["807930589"] = {
  55.             Name = "The Wild West",
  56.             Script = "Games/TWW"
  57.         },
  58.         ["187796008"] = {
  59.             Name = "Those Who Remain",
  60.             Script = "Games/TWR"
  61.         },
  62.         ["1586272220"] = {
  63.             Name = "Steel Titans",
  64.             Script = "Games/ST"
  65.         },
  66.         ["358276974"] = {
  67.             Name = "Apocalypse Rising 2",
  68.             Script = "Games/AR2"
  69.         }
  70.     }
  71. }
  72.  
  73. Parvus.Utilities.Misc = LoadScript("Utilities/Misc")
  74. Parvus.Utilities.UI = LoadScript("Utilities/UI")
  75. Parvus.Utilities.Drawing = LoadScript("Utilities/Drawing")
  76.  
  77. LocalPlayer.OnTeleport:Connect(function(State)
  78.     if State == Enum.TeleportState.Started then
  79.         local QueueOnTeleport = (syn and syn.queue_on_teleport) or queue_on_teleport
  80.         QueueOnTeleport(GetScript("Loader"))
  81.     end
  82. end)
  83.  
  84. local SupportedGame = GetSupportedGame()
  85. if SupportedGame then
  86.     Parvus.Game = SupportedGame.Name
  87.     LoadScript(SupportedGame.Script)
  88.     Parvus.Utilities.UI:Notification({
  89.         Title = "Parvus Hub",
  90.         Description = Parvus.Game .. " loaded!",
  91.         Duration = 5
  92.     }) Parvus.Loaded = true
  93. end

Raw Paste


Login or Register to edit or fork this paste. It's free.