Advertisement
Guest User

Brookhaven troll gui

a guest
Oct 27th, 2024
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. local O=loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Orion/main/source'))()
  2. local W=O:MakeWindow({Name="Brookhaven Troll Gui",HidePremium=false,SaveConfig=true,ConfigFolder="Config"})
  3. local P=game:GetService("Players")
  4. local R=game:GetService("RunService")
  5. local L=P.LocalPlayer
  6. local S=game:GetService("Workspace")
  7. local C
  8. local H
  9. local N=""
  10. local F=Instance.new("Folder",S)
  11. local T=Instance.new("Part",F)
  12. local A1=Instance.new("Attachment",T)
  13. T.Anchored=true
  14. T.CanCollide=false
  15. T.Transparency=1
  16.  
  17. if not getgenv().N then
  18. getgenv().N={BaseParts={},Velocity=Vector3.new(14.46262424,14.46262424,14.46262424)}
  19. N.R=function(X)
  20. if X:IsA("BasePart") and X:IsDescendantOf(S) then
  21. table.insert(N.BaseParts,X)
  22. X.CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0)
  23. X.CanCollide=false
  24. end
  25. end
  26.  
  27. local function E()
  28. L.ReplicationFocus=S
  29. R.Heartbeat:Connect(function()
  30. sethiddenproperty(L,"SimulationRadius",math.huge)
  31. for _,X in pairs(N.BaseParts)do
  32. if X:IsDescendantOf(S)then
  33. X.Velocity=N.Velocity
  34. end
  35. end
  36. end)
  37. end
  38.  
  39. E()
  40. end
  41.  
  42. local function F(X)
  43. if X:IsA("BasePart") and not X.Anchored and not X.Parent:FindFirstChildOfClass("Humanoid") and not X.Parent:FindFirstChild("Head") and X.Name~="Handle"then
  44. for _,Y in ipairs(X:GetChildren())do
  45. if Y:IsA("BodyMover") or Y:IsA("RocketPropulsion")then
  46. Y:Destroy()
  47. end
  48. end
  49. if X:FindFirstChild("Attachment")then
  50. X:FindFirstChild("Attachment"):Destroy()
  51. end
  52. if X:FindFirstChild("AlignPosition")then
  53. X:FindFirstChild("AlignPosition"):Destroy()
  54. end
  55. if X:FindFirstChild("Torque")then
  56. X:FindFirstChild("Torque"):Destroy()
  57. end
  58. X.CanCollide=false
  59. local T=Instance.new("Torque",X)
  60. T.Torque=Vector3.new(100000,100000,100000)
  61. local A2=Instance.new("AlignPosition",X)
  62. local A3=Instance.new("Attachment",X)
  63. T.Attachment0=A3
  64. A2.MaxForce=math.huge
  65. A2.MaxVelocity=math.huge
  66. A2.Responsiveness=200
  67. A2.Attachment0=A3
  68. A2.Attachment1=A1
  69. end
  70. end
  71.  
  72. local B=false
  73. local D
  74.  
  75. local function G()
  76. B=not B
  77. if B then
  78. for _,X in ipairs(S:GetDescendants())do
  79. F(X)
  80. end
  81.  
  82. D=S.DescendantAdded:Connect(function(X)
  83. if B then
  84. F(X)
  85. end
  86. end)
  87.  
  88. spawn(function()
  89. while B and R.RenderStepped:Wait()do
  90. if H then
  91. A1.WorldCFrame=H.CFrame
  92. end
  93. end
  94. end)
  95. else
  96. if D then
  97. D:Disconnect()
  98. end
  99. end
  100. end
  101.  
  102. local function H(N)
  103. local LN=string.lower(N)
  104. for _,X in pairs(P:GetPlayers())do
  105. local LP=string.lower(X.Name)
  106. if string.find(LP,LN)or string.find(string.lower(X.DisplayName),LN)then
  107. return X
  108. end
  109. end
  110. end
  111.  
  112. W:MakeTab({
  113. Name="Contrôle",
  114. Icon="rbxassetid://4483345998",
  115. PremiumOnly=false
  116. }):AddTextbox({
  117. Name="Player Name",
  118. Default="",
  119. TextDisappear=false,
  120. Callback=function(X)
  121. N=X
  122. end
  123. })
  124.  
  125. W:MakeTab({
  126. Name="Enable"
  127. }):AddButton({
  128. Name="Enable",
  129. Callback=function()
  130. local X=H(N)
  131. if X then
  132. C=X.Character or X.CharacterAdded:Wait()
  133. H=C:WaitForChild("HumanoidRootPart")
  134. G()
  135. print("Fonctionnalité activée pour :",X.Name)
  136. else
  137. print("Player not found")
  138. end
  139. end
  140. })
  141.  
  142. O:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement