stavratum

pl crasher

May 18th, 2022 (edited)
181
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if not game:IsLoaded()then game.Loaded:Wait()end
  2. game:GetService"NetworkClient":SetOutgoingKBPSLimit(math.huge)
  3. if game.PlaceId==155615604 then
  4.   game:GetService'Workspace'
  5.   print'loading Prison Life crasher'
  6.   local Message = "gg/xFNvCEV3DV"
  7.  
  8.   local Client = game:GetService'Players'.LocalPlayer
  9.   local Gun = "Remington 870"
  10.    
  11.   repeat wait()until Workspace:FindFirstChild'Remote'
  12.   repeat wait()until Workspace.Remote:FindFirstChild'TeamEvent'
  13.   repeat wait()until Workspace.Remote:FindFirstChild'loadchar'
  14.   Workspace.Remote.TeamEvent:FireServer"Bright blue"
  15.   Workspace.Remote.loadchar:InvokeServer(Client.Name)
  16.   Client.PlayerGui.Home.intro:Destroy()
  17.  
  18.   Client.Character:Destroy()
  19.   Workspace.Remote.loadchar:InvokeServer(Client.Name)
  20.   Client.CharacterAdded:Wait()
  21.   Workspace.Camera.CFrame = Client.Character:WaitForChild'HumanoidRootPart'.CFrame
  22.    
  23.   print'crashing server now'
  24.  
  25.   workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[Gun].ITEMPICKUP)
  26.  
  27.   for _,v in pairs(Client.Backpack:children()) do
  28.       if v.Name == Gun then
  29.           v.Parent = Client.Character
  30.       end
  31.   end
  32.  
  33.   Gun = Client.Character[Gun]
  34.  
  35.   Client.Character:FindFirstChild'Humanoid':UnequipTools()
  36.  
  37.   FireGun=function(target)
  38.   task.spawn(function()
  39.       local t = {}
  40.       table.insert(t,
  41.       {
  42.           Hit = target,
  43.           Distance = 100,
  44.           Cframe = CFrame.new(0,0,0),
  45.           RayObject = Ray.new(Vector3.new(0.1,0.2), Vector3.new(0.3,0.4))
  46.       }
  47.   )
  48.       game:GetService'ReplicatedStorage'.ShootEvent:FireServer(t,Gun)
  49.   end)
  50.   end
  51.  
  52.   game:GetService"RunService".Stepped:Connect(function()
  53.     for i=1,10 do
  54.         FireGun()
  55.     end
  56.   end)
  57.  
  58.   for i = 1,6 do
  59.       game:GetService'ReplicatedStorage'.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Message,"All")
  60.   end
  61.  
  62.   local Overlay=game:GetService'CoreGui':WaitForChild'RobloxPromptGui'.promptOverlay
  63.  
  64.   Overlay.ChildAdded:Connect(function(_)
  65.       if _.Name=='ErrorPrompt'then
  66.           repeat
  67.         local HttpService, TPService = game:GetService("HttpService"), game:GetService("TeleportService")
  68.         local ServersToTP = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100"))
  69.         for _, s in pairs(ServersToTP.data) do
  70.                 if s.playing ~= s.maxPlayers then
  71.                     TPService:TeleportToPlaceInstance(game.PlaceId, s.id)
  72.                 end
  73.        
  74.         end
  75.         wait(15)
  76.           until false
  77.       end
  78.   end)
  79. end
RAW Paste Data Copied