Mr_3242

🚨BARRY'S PRISON RUN! (OBBY) OP Script

Jun 1st, 2026
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.30 KB | Gaming | 0 0
  1. local _ = game.Players.LocalPlayer
  2. local _CoreGui = game:GetService('CoreGui')
  3.  
  4. if not _CoreGui:FindFirstChild('Mr_3242UI') then
  5.     local _ScreenGui = Instance.new('ScreenGui')
  6.  
  7.     _ScreenGui.Name = 'Mr_3242UI'
  8.     _ScreenGui.ResetOnSpawn = false
  9.     _ScreenGui.IgnoreGuiInset = true
  10.     _ScreenGui.Parent = _CoreGui
  11.  
  12.     local _ImageLabel = Instance.new('ImageLabel')
  13.  
  14.     _ImageLabel.Name = 'Shadow'
  15.     _ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  16.     _ImageLabel.Size = UDim2.new(0, 285, 0, 300)
  17.     _ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 5)
  18.     _ImageLabel.BackgroundTransparency = 1
  19.     _ImageLabel.Image = 'rbxassetid://136559706836779'
  20.     _ImageLabel.ScaleType = Enum.ScaleType.Slice
  21.     _ImageLabel.SliceCenter = Rect.new(60, 48, 64, 48)
  22.     _ImageLabel.SliceScale = 1.15
  23.     _ImageLabel.ImageColor3 = Color3.new(0, 0, 0)
  24.     _ImageLabel.ZIndex = 0
  25.     _ImageLabel.Parent = _ScreenGui
  26.  
  27.     local _Frame = Instance.new('Frame')
  28.  
  29.     _Frame.Size = UDim2.new(0, 210, 0, 230)
  30.     _Frame.Position = UDim2.new(0.5, -105, 0.5, -110)
  31.     _Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  32.     _Frame.BackgroundTransparency = 0
  33.     _Frame.BorderSizePixel = 0
  34.     _Frame.Active = true
  35.     _Frame.Draggable = false
  36.     _Frame.Name = 'MainFrame'
  37.     _Frame.ZIndex = 1
  38.     _Frame.Parent = _ScreenGui
  39.     Instance.new('UICorner', _Frame).CornerRadius = UDim.new(0, 12)
  40.  
  41.     local _TextButton = Instance.new('TextButton')
  42.  
  43.     _TextButton.Size = UDim2.new(0, 120, 0, 35)
  44.     _TextButton.Position = UDim2.new(1, -190, 0, 8)
  45.     _TextButton.Text = 'Hide GUI'
  46.     _TextButton.Font = Enum.Font.Gotham
  47.     _TextButton.TextSize = 22
  48.     _TextButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  49.     _TextButton.TextColor3 = Color3.new(1, 1, 1)
  50. _TextButton.ZIndex = 99999999
  51.     _TextButton.Parent = _ScreenGui
  52.     Instance.new('UICorner', _TextButton).CornerRadius = UDim.new(0, 8)
  53.  
  54.     local _TextButton2 = Instance.new('TextButton')
  55.  
  56.     _TextButton2.Size = UDim2.new(0, 25, 0, 25)
  57.     _TextButton2.Position = UDim2.new(1, -30, 0, 5)
  58. _TextButton2.Text = "X"
  59. _TextButton2.Font = Enum.Font.GothamBold
  60. _TextButton2.TextSize = 16
  61. _TextButton2.BackgroundColor3 = Color3.fromRGB(220, 50, 50)
  62. _TextButton2.TextColor3 = Color3.fromRGB(255, 255, 255)
  63.     _TextButton2.Parent = _Frame
  64.     Instance.new('UICorner', _TextButton2).CornerRadius = UDim.new(0, 12)
  65.  
  66.     _TextButton2.MouseButton1Click:Connect(function()
  67.         _ScreenGui:Destroy()
  68.     end)
  69.  
  70.     local u7 = false
  71.  
  72.     _TextButton.MouseButton1Click:Connect(function()
  73.         u7 = not u7
  74.         _Frame.Visible = not u7
  75.         _ImageLabel.Visible = not u7
  76.  
  77.         if not u7 then
  78.             _Frame.Position = UDim2.new(0.5, -105, 0.5, -110)
  79.             _ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 5)
  80.         end
  81.  
  82.         _TextButton.Text = u7 and 'Show GUI' or 'Hide GUI'
  83.     end)
  84.  
  85.     local u8 = nil
  86.     local u9 = nil
  87.     local u10 = nil
  88.     local u11 = nil
  89.     local _UserInputService = game:GetService('UserInputService')
  90.  
  91.     _Frame.InputBegan:Connect(function(p13)
  92.         if p13.UserInputType == Enum.UserInputType.MouseButton1 or p13.UserInputType == Enum.UserInputType.Touch then
  93.             u8 = true
  94.             u10 = p13.Position
  95.             u11 = _Frame.Position
  96.  
  97.             p13.Changed:Connect(function()
  98.                 if p13.UserInputState == Enum.UserInputState.End then
  99.                     u8 = false
  100.                 end
  101.             end)
  102.         end
  103.     end)
  104.     _Frame.InputChanged:Connect(function(p14)
  105.         if p14.UserInputType == Enum.UserInputType.MouseMovement or p14.UserInputType == Enum.UserInputType.Touch then
  106.             u9 = p14
  107.         end
  108.     end)
  109.     _UserInputService.InputChanged:Connect(function(p15)
  110.         if p15 == u9 and u8 then
  111.             local v16 = p15.Position - u10
  112.  
  113.             _Frame.Position = UDim2.new(u11.X.Scale, u11.X.Offset + v16.X, u11.Y.Scale, u11.Y.Offset + v16.Y)
  114.             _ImageLabel.Position = UDim2.new(0.5, _Frame.Position.X.Offset + 105, 0.5, _Frame.Position.Y.Offset + 115)
  115.         end
  116.     end)
  117.  
  118.     local _TextButton3 = Instance.new('TextButton')
  119.  
  120.     _TextButton3.Size = UDim2.new(0, 180, 0, 40)
  121.     _TextButton3.Position = UDim2.new(0.5, -90, 0, 35)
  122.     _TextButton3.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  123.     _TextButton3.TextColor3 = Color3.new(1, 1, 1)
  124.     _TextButton3.Text = 'Get All Tools\n(wait 2 sec)'
  125.     _TextButton3.Font = Enum.Font.Gotham
  126.     _TextButton3.TextSize = 20
  127.     _TextButton3.Parent = _Frame
  128.     Instance.new('UICorner', _TextButton3).CornerRadius = UDim.new(0, 12)
  129.  
  130.     _TextButton3.MouseButton1Click:Connect(function()
  131.         task.wait(2)
  132.  
  133.         local _LocalPlayer = game.Players.LocalPlayer
  134.  
  135.         if _LocalPlayer.Character and _LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  136.             _LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Health = 0
  137.         end
  138.  
  139.         local v19 = getrawmetatable(game)
  140.  
  141.         setreadonly(v19, false)
  142.  
  143.         local ___namecall = v19.__namecall
  144.  
  145.         v19.__namecall = newcclosure(function(p21, ...)
  146.             return getnamecallmethod() == 'UserOwnsGamePassAsync' and true or ___namecall(p21, unpack({...}))
  147.         end)
  148.  
  149.         local _ReplicatedStorage = game:GetService('ReplicatedStorage')
  150.         local _Tools = _ReplicatedStorage:WaitForChild('ShopAssetsFolder'):WaitForChild('ToolsFolder'):WaitForChild('Tools')
  151.         local _SendTool = _ReplicatedStorage:WaitForChild('ShopAssetsFolder'):WaitForChild('AssetRemotes'):WaitForChild('SendTool')
  152.         local v25, v26, v27 = ipairs(_Tools:GetChildren())
  153.  
  154.         while true do
  155.             local v28
  156.  
  157.             v27, v28 = v25(v26, v27)
  158.  
  159.             if v27 == nil then
  160.                 break
  161.             end
  162.             if v28:IsA('Tool') then
  163.                 _SendTool:FireServer(v28.Name, true, false)
  164.             end
  165.         end
  166.     end)
  167.  
  168.     local _TextButton4 = Instance.new('TextButton')
  169.  
  170.     _TextButton4.Size = UDim2.new(0, 180, 0, 40)
  171.     _TextButton4.Position = UDim2.new(0.5, -90, 0, 85)
  172.     _TextButton4.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  173.     _TextButton4.TextColor3 = Color3.new(1, 1, 1)
  174.     _TextButton4.Text = 'Get All Server Tools (Useless)'
  175.     _TextButton4.Font = Enum.Font.Gotham
  176.     _TextButton4.TextSize = 18
  177.     _TextButton4.TextWrapped = true
  178.     _TextButton4.Parent = _Frame
  179.     Instance.new('UICorner', _TextButton4).CornerRadius = UDim.new(0, 12)
  180.  
  181.     _TextButton4.MouseButton1Click:Connect(function()
  182.         local _LocalPlayer2 = game.Players.LocalPlayer
  183.         local _Remotes = (_LocalPlayer2.Character or _LocalPlayer2.CharacterAdded:Wait()):WaitForChild('ShopCharacterScripts'):WaitForChild('DPDeathShop'):WaitForChild('Remotes')
  184.  
  185.         for v32 = 1, 30 do
  186.             local v33 = _Remotes:FindFirstChild('r' .. v32)
  187.  
  188.             if v33 then
  189.                 v33:FireServer()
  190.                 task.wait(0.1)
  191.             end
  192.         end
  193.     end)
  194.  
  195.     local _TextButton5 = Instance.new('TextButton')
  196.  
  197.     _TextButton5.Size = UDim2.new(0, 180, 0, 40)
  198.     _TextButton5.Position = UDim2.new(0.5, -90, 0, 135)
  199.     _TextButton5.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  200.     _TextButton5.TextColor3 = Color3.new(1, 1, 1)
  201.     _TextButton5.Text = 'Kill All'
  202.     _TextButton5.Font = Enum.Font.Gotham
  203.     _TextButton5.TextSize = 18
  204.     _TextButton5.TextWrapped = true
  205.     _TextButton5.Parent = _Frame
  206.     Instance.new('UICorner', _TextButton5).CornerRadius = UDim.new(0, 12)
  207.  
  208.     _TextButton5.MouseButton1Click:Connect(function()
  209.         local v35, v36, v37 = ipairs(game.Players:GetPlayers())
  210.  
  211.         while true do
  212.             local v38
  213.  
  214.             v37, v38 = v35(v36, v37)
  215.  
  216.             if v37 == nil then
  217.                 break
  218.             end
  219.             if v38.Character and v38.Character:FindFirstChild('HumanoidRootPart') then
  220.                 game:GetService('ReplicatedStorage'):WaitForChild('ShopAssetsFolder'):WaitForChild('AssetRemotes'):WaitForChild('BatonRemotes'):WaitForChild('HitRemote'):FireServer('BasicBaton', v38.Character.HumanoidRootPart.Position, {
  221.                     BlockDamage = 9000000000,
  222.                     HasIdleVFX = false,
  223.                     Damage = 9000000000,
  224.                     SwingSound = 'rbxassetid://9113305619',
  225.                     DefaultDamage = 9000000000,
  226.                     Force = 9000000000,
  227.                     ImpactSound = {
  228.                         'rbxassetid://6931263860',
  229.                     },
  230.                     AnimationName = 'WeaponAnimation',
  231.                     PassiveAbility = false,
  232.                     TargetSound = {
  233.                         'rbxassetid://9117969717',
  234.                     },
  235.                     Name = 'BasicBaton',
  236.                     PassiveChance = 5,
  237.                     SpecialBuildup = 12,
  238.                     LoopSound = false,
  239.                 }, v38.Character, false, false, false)
  240.             end
  241.         end
  242.     end)
  243.  
  244.     local _TextLabel = Instance.new('TextLabel')
  245.  
  246.     _TextLabel.Size = UDim2.new(1, 0, 0, 18)
  247.     _TextLabel.Position = UDim2.new(0, 0, 1, -35)
  248.     _TextLabel.BackgroundTransparency = 1
  249.     _TextLabel.Text = 'TikTok: Mr_3242'
  250.     _TextLabel.TextColor3 = Color3.fromRGB(150, 150, 150)
  251.     _TextLabel.TextTransparency = 0.1
  252.     _TextLabel.TextSize = 21
  253.     _TextLabel.Font = Enum.Font.SourceSans
  254.     _TextLabel.Parent = _Frame
  255. end
  256.  
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment