Azzz_4565

Untitled

Jul 16th, 2025
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 10.22 KB | None | 0 0
  1. -- SERVICES
  2. local Players = game:GetService("Players")
  3. local TweenService = game:GetService("TweenService")
  4. local LocalPlayer = Players.LocalPlayer
  5.  
  6. -- COLORS
  7. local darkNavyBlue = Color3.fromRGB(10, 20, 40)
  8. local darkGold = Color3.fromRGB(180, 140, 30)
  9. local defaultBtnColor = Color3.fromRGB(25, 25, 45)
  10. local standardBtnColor = Color3.fromRGB(30, 30, 60)
  11. local whiteText = Color3.fromRGB(255, 255, 255)
  12.  
  13. -- STATES
  14. local toggleOpen = false
  15. local loopList = {}
  16. local playerButtons = {}
  17. local speedBoostOn = false
  18. local frontLoopMode = false
  19. local autoUseToolsOn = false
  20. local attachModeOn = false
  21.  
  22. -- GUI
  23. local gui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
  24. gui.Name = "PsychoLoopbring"
  25. gui.ResetOnSpawn = false
  26.  
  27. local toggle = Instance.new("TextButton", gui)
  28. toggle.Size = UDim2.new(0, 120, 0, 25)
  29. toggle.Position = UDim2.new(0, 10, 0, 10)
  30. toggle.BackgroundColor3 = darkNavyBlue
  31. toggle.TextColor3 = darkGold
  32. toggle.Text = "Psycho Loopbring"
  33. toggle.Font = Enum.Font.GothamBold
  34. toggle.TextSize = 14
  35. toggle.BorderSizePixel = 0
  36.  
  37. local frame = Instance.new("Frame", gui)
  38. frame.Size = UDim2.new(0, 220, 0, 300)
  39. frame.Position = UDim2.new(0, 10, 0, 45)
  40. frame.BackgroundColor3 = darkNavyBlue
  41. frame.BorderSizePixel = 0
  42. frame.Visible = false
  43. frame.Active = true
  44. frame.Draggable = true
  45.  
  46. local title = Instance.new("TextLabel", frame)
  47. title.Size = UDim2.new(1, -20, 0, 30)
  48. title.Position = UDim2.new(0, 10, 0, 5)
  49. title.BackgroundTransparency = 1
  50. title.Text = "Psycho Loopbring"
  51. title.TextColor3 = darkGold
  52. title.TextScaled = true
  53. title.Font = Enum.Font.FredokaOne
  54. title.TextXAlignment = Enum.TextXAlignment.Left
  55.  
  56. local scroll = Instance.new("ScrollingFrame", frame)
  57. scroll.Position = UDim2.new(0, 10, 0, 40)
  58. scroll.Size = UDim2.new(1, -20, 1, -50)
  59. scroll.BackgroundTransparency = 1
  60. scroll.BorderSizePixel = 0
  61. scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  62. scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  63. scroll.ScrollBarThickness = 5
  64. scroll.ClipsDescendants = true
  65.  
  66. local layout = Instance.new("UIListLayout", scroll)
  67. layout.SortOrder = Enum.SortOrder.LayoutOrder
  68. layout.Padding = UDim.new(0, 3)
  69.  
  70. -- UTILITIES
  71. local function tweenColor(object, color, duration)
  72.     TweenService:Create(object, TweenInfo.new(duration or 0.25), {BackgroundColor3 = color}):Play()
  73. end
  74.  
  75. local function setNoClip(character, state)
  76.     for _, part in pairs(character:GetDescendants()) do
  77.         if part:IsA("BasePart") then
  78.             part.CanCollide = not state
  79.         end
  80.     end
  81. end
  82.  
  83. -- TOGGLE UI
  84. toggle.MouseButton1Click:Connect(function()
  85.     toggleOpen = not toggleOpen
  86.     frame.Visible = toggleOpen
  87. end)
  88.  
  89. -- SPEED BOOST BUTTON
  90. local speedButton = Instance.new("TextButton", scroll)
  91. speedButton.Size = UDim2.new(1, 0, 0, 28)
  92. speedButton.BackgroundColor3 = standardBtnColor
  93. speedButton.TextColor3 = whiteText
  94. speedButton.Font = Enum.Font.GothamBold
  95. speedButton.TextSize = 13
  96. speedButton.Text = "Speed Boost"
  97. speedButton.LayoutOrder = 0
  98.  
  99. local function applySpeedBoost(state)
  100.     local char = LocalPlayer.Character
  101.     if char then
  102.         local humanoid = char:FindFirstChildOfClass("Humanoid")
  103.         if humanoid then
  104.             if state then
  105.                 humanoid.WalkSpeed = 120
  106.                 humanoid.JumpPower = 120
  107.                 tweenColor(speedButton, darkGold)
  108.             else
  109.                 humanoid.WalkSpeed = 16
  110.                 humanoid.JumpPower = 50
  111.                 tweenColor(speedButton, standardBtnColor)
  112.             end
  113.         end
  114.     end
  115. end
  116.  
  117. speedButton.MouseButton1Click:Connect(function()
  118.     speedBoostOn = not speedBoostOn
  119.     applySpeedBoost(speedBoostOn)
  120. end)
  121.  
  122. LocalPlayer.CharacterAdded:Connect(function(char)
  123.     if speedBoostOn then
  124.         local humanoid = char:WaitForChild("Humanoid", 5)
  125.         if humanoid then
  126.             applySpeedBoost(true)
  127.         end
  128.     end
  129. end)
  130.  
  131. -- LOOPBRING POSITION TOGGLE
  132. local loopbringToggleButton = Instance.new("TextButton", scroll)
  133. loopbringToggleButton.Size = UDim2.new(1, 0, 0, 28)
  134. loopbringToggleButton.BackgroundColor3 = standardBtnColor
  135. loopbringToggleButton.TextColor3 = whiteText
  136. loopbringToggleButton.Font = Enum.Font.GothamBold
  137. loopbringToggleButton.TextSize = 13
  138. loopbringToggleButton.Text = "Toggle Loopbring Position"
  139. loopbringToggleButton.LayoutOrder = 1
  140.  
  141. loopbringToggleButton.MouseButton1Click:Connect(function()
  142.     frontLoopMode = not frontLoopMode
  143.     tweenColor(loopbringToggleButton, frontLoopMode and darkGold or standardBtnColor)
  144. end)
  145.  
  146. -- ATTACH MODE BUTTON
  147. local attachModeButton = Instance.new("TextButton", scroll)
  148. attachModeButton.Size = UDim2.new(1, 0, 0, 28)
  149. attachModeButton.BackgroundColor3 = standardBtnColor
  150. attachModeButton.TextColor3 = whiteText
  151. attachModeButton.Font = Enum.Font.GothamBold
  152. attachModeButton.TextSize = 13
  153. attachModeButton.Text = "Attach Mode: OFF"
  154. attachModeButton.LayoutOrder = 2
  155.  
  156. attachModeButton.MouseButton1Click:Connect(function()
  157.     attachModeOn = not attachModeOn
  158.     attachModeButton.Text = attachModeOn and "Attach Mode: ON" or "Attach Mode: OFF"
  159.     tweenColor(attachModeButton, attachModeOn and darkGold or standardBtnColor)
  160. end)
  161.  
  162. -- AUTO USE TOOLS BUTTON
  163. local autoUseButton = Instance.new("TextButton", scroll)
  164. autoUseButton.Size = UDim2.new(1, 0, 0, 28)
  165. autoUseButton.BackgroundColor3 = standardBtnColor
  166. autoUseButton.TextColor3 = whiteText
  167. autoUseButton.Font = Enum.Font.GothamBold
  168. autoUseButton.TextSize = 13
  169. autoUseButton.Text = "Auto Use Tools: OFF"
  170. autoUseButton.LayoutOrder = 3
  171.  
  172. local function autoUseTools()
  173.     if not autoUseToolsOn then return end
  174.     task.spawn(function()
  175.         for _, tool in ipairs(LocalPlayer.Backpack:GetChildren()) do
  176.             if tool:IsA("Tool") then
  177.                 tool.Parent = LocalPlayer.Character
  178.             end
  179.         end
  180.         for _, tool in ipairs(LocalPlayer.Character:GetChildren()) do
  181.             if tool:IsA("Tool") then
  182.                 pcall(function() tool:Activate() end)
  183.             end
  184.         end
  185.     end)
  186. end
  187.  
  188. autoUseButton.MouseButton1Click:Connect(function()
  189.     autoUseToolsOn = not autoUseToolsOn
  190.     autoUseButton.Text = autoUseToolsOn and "Auto Use Tools: ON" or "Auto Use Tools: OFF"
  191.     tweenColor(autoUseButton, autoUseToolsOn and darkGold or standardBtnColor)
  192. end)
  193.  
  194. task.spawn(function()
  195.     while true do
  196.         if autoUseToolsOn then
  197.             autoUseTools()
  198.         end
  199.         task.wait()
  200.     end
  201. end)
  202.  
  203. -- ADD PLAYER BUTTONS
  204. local function addPlayerButton(targetPlayer)
  205.     if targetPlayer == LocalPlayer then return end
  206.  
  207.     local button = Instance.new("TextButton")
  208.     button.Size = UDim2.new(1, 0, 0, 28)
  209.     button.BackgroundColor3 = defaultBtnColor
  210.     button.TextColor3 = whiteText
  211.     button.Font = Enum.Font.GothamBold
  212.     button.TextSize = 13
  213.     button.Text = targetPlayer.Name
  214.     button.LayoutOrder = 100
  215.     button.Parent = scroll
  216.  
  217.     local killLabel = Instance.new("TextLabel", button)
  218.     killLabel.Size = UDim2.new(0, 60, 1, 0)
  219.     killLabel.Position = UDim2.new(1, -65, 0, 0)
  220.     killLabel.BackgroundTransparency = 1
  221.     killLabel.TextColor3 = Color3.new(1, 0.2, 0.2)
  222.     killLabel.Font = Enum.Font.GothamBold
  223.     killLabel.TextSize = 12
  224.     killLabel.TextXAlignment = Enum.TextXAlignment.Right
  225.     killLabel.Text = "Kills: 0"
  226.  
  227.     local kills = 0
  228.  
  229.     local function onCharacterAdded(char)
  230.         local humanoid = char:WaitForChild("Humanoid", 10)
  231.         if humanoid then
  232.             humanoid.Died:Connect(function()
  233.                 local killerTool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
  234.                 if killerTool then
  235.                     kills = kills + 1
  236.                     killLabel.Text = "Kills: " .. kills
  237.                 end
  238.             end)
  239.         end
  240.     end
  241.  
  242.     if targetPlayer.Character then
  243.         onCharacterAdded(targetPlayer.Character)
  244.     end
  245.     targetPlayer.CharacterAdded:Connect(onCharacterAdded)
  246.  
  247.     button.MouseButton1Click:Connect(function()
  248.         local name = targetPlayer.Name
  249.         loopList[name] = not loopList[name]
  250.         tweenColor(button, loopList[name] and darkGold or defaultBtnColor)
  251.     end)
  252.  
  253.     playerButtons[targetPlayer.Name] = button
  254. end
  255.  
  256. -- INIT ALL PLAYERS
  257. for _, p in ipairs(Players:GetPlayers()) do
  258.     addPlayerButton(p)
  259. end
  260. Players.PlayerAdded:Connect(addPlayerButton)
  261.  
  262. -- UNBREAKABLE LOOPBRING LOOP
  263. task.spawn(function()
  264.     while true do
  265.         local myChar = LocalPlayer.Character
  266.         local myHRP = myChar and myChar:FindFirstChild("HumanoidRootPart")
  267.         if myHRP then
  268.             for name, active in pairs(loopList) do
  269.                 if active then
  270.                     local targetPlayer = Players:FindFirstChild(name)
  271.                     if targetPlayer and targetPlayer.Character then
  272.                         local targetChar = targetPlayer.Character
  273.                         local targetHRP = targetChar:FindFirstChild("HumanoidRootPart")
  274.                         if targetHRP then
  275.                             setNoClip(targetChar, true)
  276.                             targetHRP.Velocity = Vector3.zero
  277.                             targetHRP.RotVelocity = Vector3.zero
  278.                             targetHRP.Anchored = false
  279.  
  280.                             -- Try to kick player out of seats
  281.                             for _,desc in pairs(targetChar:GetDescendants()) do
  282.                                 if desc:IsA("Seat") then
  283.                                     pcall(function() desc.Occupant = nil end)
  284.                                 end
  285.                             end
  286.  
  287.                             local offset
  288.                             if attachModeOn then
  289.                                 myHRP.CFrame = targetHRP.CFrame
  290.                             else
  291.                                 if frontLoopMode then
  292.                                     offset = myHRP.CFrame.LookVector * 3 + Vector3.new(0, 1, 0)
  293.                                 else
  294.                                     offset = myHRP.CFrame.RightVector * 3 + myHRP.CFrame.LookVector + Vector3.new(0, 1, 0)
  295.                                 end
  296.                                 targetHRP.CFrame = myHRP.CFrame + offset
  297.  
  298.                                 -- Force ragdoll/physic parts to follow HRP
  299.                                 for _, part in ipairs(targetChar:GetChildren()) do
  300.                                     if part:IsA("BasePart") and part ~= targetHRP then
  301.                                         part.Anchored = false
  302.                                         part.Velocity = Vector3.zero
  303.                                         part.RotVelocity = Vector3.zero
  304.                                         part.CFrame = targetHRP.CFrame
  305.                                     end
  306.                                 end
  307.                             end
  308.  
  309.                             -- Aggressively prevent physics/ragdoll escape
  310.                             local humanoid = targetChar:FindFirstChildOfClass("Humanoid")
  311.                             if humanoid then
  312.                                 if humanoid:GetState() ~= Enum.HumanoidStateType.Physics and humanoid:GetState() ~= Enum.HumanoidStateType.Ragdoll then
  313.                                     humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  314.                                 end
  315.                                 if humanoid.Health <= 0 then
  316.                                     humanoid.Health = humanoid.MaxHealth
  317.                                 end
  318.                             end
  319.                             -- Also destroy Welds, BodyMovers, Constraints that might break loopbring
  320.                             for _, obj in pairs(targetChar:GetDescendants()) do
  321.                                 if obj:IsA("Weld") or obj:IsA("BodyMover") or obj:IsA("Constraint") or obj:IsA("AlignOrientation") or obj:IsA("AlignPosition") then
  322.                                     pcall(function() obj:Destroy() end)
  323.                                 end
  324.                             end
  325.                         end
  326.                     end
  327.                 end
  328.             end
  329.         end
  330.         task.wait() -- Next frame
  331.     end
  332. end)
  333.  
Advertisement
Add Comment
Please, Sign In to add comment