PeaPattern

pbs

Jul 8th, 2024 (edited)
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.56 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local RunService = game:GetService("RunService")
  3. local CoreGui = game:GetService("CoreGui")
  4. local RStorage = game:GetService("ReplicatedStorage")
  5.  
  6. local LocalPlayer = Players.LocalPlayer
  7. local Camera = workspace.CurrentCamera
  8. local ChatRemote = RStorage:FindFirstChild("SayMessageRequest", true)
  9.  
  10. -- Instances:
  11.  
  12. local Menu = Instance.new("ScreenGui")
  13. local Main = Instance.new("Frame")
  14. local Title = Instance.new("TextLabel")
  15. local UIPadding = Instance.new("UIPadding")
  16. local Crash = Instance.new("TextButton")
  17. local UIPadding_2 = Instance.new("UIPadding")
  18. local Amount = Instance.new("TextBox")
  19. local UIPadding_3 = Instance.new("UIPadding")
  20. local Crash_2 = Instance.new("TextButton")
  21. local UIPadding_4 = Instance.new("UIPadding")
  22.  
  23. --Properties:
  24.  
  25. Menu.Name = "Menu"
  26. Menu.Parent = CoreGui
  27. Menu.ResetOnSpawn = false
  28. Menu.DisplayOrder = 9e7
  29. Menu.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30.  
  31. Main.Name = "Main"
  32. Main.Parent = Menu
  33. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  34. Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  35. Main.BorderSizePixel = 0
  36. Main.Position = UDim2.new(0.863379538, 0, 0.677383602, 0)
  37. Main.Size = UDim2.new(0.119590782, 0, 0.296230614, 0)
  38. Main.Active = true
  39. Main.Draggable = true
  40.  
  41. Title.Name = "Title"
  42. Title.Parent = Main
  43. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  45. Title.BorderSizePixel = 0
  46. Title.Size = UDim2.new(1.00000012, 0, 0.219760478, 0)
  47. Title.Font = Enum.Font.GothamBold
  48. Title.Text = "Public Bathroom Fucker"
  49. Title.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. Title.TextScaled = true
  51. Title.TextSize = 14.000
  52. Title.TextWrapped = true
  53.  
  54. UIPadding.Parent = Title
  55. UIPadding.PaddingBottom = UDim.new(0.100000001, 0)
  56. UIPadding.PaddingLeft = UDim.new(0.100000001, 0)
  57. UIPadding.PaddingRight = UDim.new(0.100000001, 0)
  58. UIPadding.PaddingTop = UDim.new(0.100000001, 0)
  59.  
  60. Crash.Name = "Crash"
  61. Crash.Parent = Main
  62. Crash.BackgroundColor3 = Color3.fromRGB(190, 190, 190)
  63. Crash.BorderColor3 = Color3.fromRGB(0, 0, 0)
  64. Crash.BorderSizePixel = 0
  65. Crash.Position = UDim2.new(0.115959413, 0, 0.527694583, 0)
  66. Crash.Size = UDim2.new(0.765684545, 0, 0.167365357, 0)
  67. Crash.Font = Enum.Font.Gotham
  68. Crash.Text = "Crash"
  69. Crash.TextColor3 = Color3.fromRGB(0, 0, 0)
  70. Crash.TextScaled = true
  71. Crash.TextSize = 14.000
  72. Crash.TextWrapped = true
  73.  
  74. UIPadding_2.Parent = Crash
  75. UIPadding_2.PaddingBottom = UDim.new(0.100000001, 0)
  76. UIPadding_2.PaddingLeft = UDim.new(0.100000001, 0)
  77. UIPadding_2.PaddingRight = UDim.new(0.100000001, 0)
  78. UIPadding_2.PaddingTop = UDim.new(0.100000001, 0)
  79.  
  80. Amount.Name = "Amount"
  81. Amount.Parent = Main
  82. Amount.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  83. Amount.BorderColor3 = Color3.fromRGB(0, 0, 0)
  84. Amount.BorderSizePixel = 0
  85. Amount.Position = UDim2.new(0.111663103, 0, 0.299401194, 0)
  86. Amount.Size = UDim2.new(0.765999973, 0, 0.166999996, 0)
  87. Amount.Font = Enum.Font.Gotham
  88. Amount.PlaceholderText = "default 400"
  89. Amount.Text = ""
  90. Amount.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. Amount.TextScaled = true
  92. Amount.TextSize = 14.000
  93. Amount.TextWrapped = true
  94.  
  95. UIPadding_3.Parent = Amount
  96. UIPadding_3.PaddingBottom = UDim.new(0.100000001, 0)
  97. UIPadding_3.PaddingLeft = UDim.new(0.100000001, 0)
  98. UIPadding_3.PaddingRight = UDim.new(0.100000001, 0)
  99. UIPadding_3.PaddingTop = UDim.new(0.100000001, 0)
  100.  
  101. Crash_2.Name = "Crash"
  102. Crash_2.Parent = Main
  103. Crash_2.BackgroundColor3 = Color3.fromRGB(190, 190, 190)
  104. Crash_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  105. Crash_2.BorderSizePixel = 0
  106. Crash_2.Position = UDim2.new(0.115959413, 0, 0.76721555, 0)
  107. Crash_2.Size = UDim2.new(0.765684545, 0, 0.167365357, 0)
  108. Crash_2.Font = Enum.Font.Gotham
  109. Crash_2.Text = "Sit Fling"
  110. Crash_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  111. Crash_2.TextScaled = true
  112. Crash_2.TextSize = 14.000
  113. Crash_2.TextWrapped = true
  114.  
  115. UIPadding_4.Parent = Crash_2
  116. UIPadding_4.PaddingBottom = UDim.new(0.100000001, 0)
  117. UIPadding_4.PaddingLeft = UDim.new(0.100000001, 0)
  118. UIPadding_4.PaddingRight = UDim.new(0.100000001, 0)
  119. UIPadding_4.PaddingTop = UDim.new(0.100000001, 0)
  120.  
  121. Crash.Activated:Connect(function()
  122.     local CrashAmount = tonumber(Amount.Text) or 400
  123.     local ClickDetector = workspace["Trash can"].Trash.Can.ClickDetector
  124.  
  125.     for i = 1, CrashAmount do
  126.         fireclickdetector(ClickDetector)
  127.         task.wait()
  128.     end
  129.  
  130.     task.wait(0.2)
  131.     ChatRemote:FireServer(";shutdown", "All")
  132.  
  133.     task.wait(0.2)
  134.     for _, Tool in LocalPlayer.Backpack:GetChildren() do
  135.         if not Tool:IsA("Tool") then continue end
  136.         Tool.Parent = LocalPlayer.Character
  137.         Tool.Parent = workspace
  138.         Tool:Destroy()
  139.     end
  140.  
  141.     task.wait(0.2)
  142.     local OldPos = LocalPlayer.Character.PrimaryPart.CFrame
  143.     LocalPlayer.Character:BreakJoints()
  144.     LocalPlayer.CharacterAdded:Once(function(Character)
  145.         Character:WaitForChild("HumanoidRootPart").CFrame = OldPos
  146.     end)
  147. end)
  148.  
  149. Crash_2.Activated:Connect(function()
  150.     local Character = LocalPlayer.Character
  151.     local Humanoid = Character.Humanoid
  152.     local Root = Character.PrimaryPart
  153.     Character.Archivable = true
  154.    
  155.     local Clone = Character:Clone()
  156.     local cRoot = Clone.PrimaryPart
  157.     local cHumanoid = Clone.Humanoid
  158.     Clone.Parent = workspace
  159.     LocalPlayer.Character = Clone
  160.     Camera.CameraSubject = cHumanoid
  161.     Humanoid.Sit = true
  162.    
  163.     local Connections = {}
  164.    
  165.     local BodyParts = {}
  166.     for _, BodyPart in Character:GetChildren() do
  167.         if not BodyPart:IsA("BasePart") then continue end
  168.         BodyPart.Transparency = 0.5
  169.         BodyParts[#BodyParts + 1] = BodyPart
  170.     end
  171.    
  172.     for _, BodyPart in Clone:GetChildren() do
  173.         if not BodyPart:IsA("BasePart") then continue end
  174.         BodyParts[#BodyParts + 1] = BodyPart
  175.     end
  176.    
  177.     Connections[#Connections + 1] = RunService.Stepped:Connect(function()
  178.         for _, BodyPart in BodyParts do
  179.             BodyPart.CanCollide = false
  180.         end
  181.         Root.CFrame = cRoot.CFrame
  182.         Root.Velocity = Vector3.new(0, 9e8, 0)
  183.     end)
  184.    
  185.     Connections[#Connections + 1] = RunService.Heartbeat:Connect(function()
  186.         Root.CFrame = cRoot.CFrame
  187.     end)
  188.    
  189.     Connections[#Connections + 1] = cHumanoid:GetPropertyChangedSignal("Health"):Connect(function()
  190.         local New = cHumanoid.Health
  191.         if New <= 0 then
  192.             LocalPlayer.Character = Character
  193.             Camera.CameraSubject = Humanoid
  194.             Humanoid.Health = 0
  195.             Clone:Destroy()
  196.    
  197.             for _, Connection in Connections do
  198.                 Connection:Disconnect()
  199.             end
  200.         end
  201.     end)
  202. end)
  203.  
Add Comment
Please, Sign In to add comment