Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local O=loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Orion/main/source'))()
- local W=O:MakeWindow({Name="Brookhaven Troll Gui",HidePremium=false,SaveConfig=true,ConfigFolder="Config"})
- local P=game:GetService("Players")
- local R=game:GetService("RunService")
- local L=P.LocalPlayer
- local S=game:GetService("Workspace")
- local C
- local H
- local N=""
- local F=Instance.new("Folder",S)
- local T=Instance.new("Part",F)
- local A1=Instance.new("Attachment",T)
- T.Anchored=true
- T.CanCollide=false
- T.Transparency=1
- if not getgenv().N then
- getgenv().N={BaseParts={},Velocity=Vector3.new(14.46262424,14.46262424,14.46262424)}
- N.R=function(X)
- if X:IsA("BasePart") and X:IsDescendantOf(S) then
- table.insert(N.BaseParts,X)
- X.CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0)
- X.CanCollide=false
- end
- end
- local function E()
- L.ReplicationFocus=S
- R.Heartbeat:Connect(function()
- sethiddenproperty(L,"SimulationRadius",math.huge)
- for _,X in pairs(N.BaseParts)do
- if X:IsDescendantOf(S)then
- X.Velocity=N.Velocity
- end
- end
- end)
- end
- E()
- end
- local function F(X)
- 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
- for _,Y in ipairs(X:GetChildren())do
- if Y:IsA("BodyMover") or Y:IsA("RocketPropulsion")then
- Y:Destroy()
- end
- end
- if X:FindFirstChild("Attachment")then
- X:FindFirstChild("Attachment"):Destroy()
- end
- if X:FindFirstChild("AlignPosition")then
- X:FindFirstChild("AlignPosition"):Destroy()
- end
- if X:FindFirstChild("Torque")then
- X:FindFirstChild("Torque"):Destroy()
- end
- X.CanCollide=false
- local T=Instance.new("Torque",X)
- T.Torque=Vector3.new(100000,100000,100000)
- local A2=Instance.new("AlignPosition",X)
- local A3=Instance.new("Attachment",X)
- T.Attachment0=A3
- A2.MaxForce=math.huge
- A2.MaxVelocity=math.huge
- A2.Responsiveness=200
- A2.Attachment0=A3
- A2.Attachment1=A1
- end
- end
- local B=false
- local D
- local function G()
- B=not B
- if B then
- for _,X in ipairs(S:GetDescendants())do
- F(X)
- end
- D=S.DescendantAdded:Connect(function(X)
- if B then
- F(X)
- end
- end)
- spawn(function()
- while B and R.RenderStepped:Wait()do
- if H then
- A1.WorldCFrame=H.CFrame
- end
- end
- end)
- else
- if D then
- D:Disconnect()
- end
- end
- end
- local function H(N)
- local LN=string.lower(N)
- for _,X in pairs(P:GetPlayers())do
- local LP=string.lower(X.Name)
- if string.find(LP,LN)or string.find(string.lower(X.DisplayName),LN)then
- return X
- end
- end
- end
- W:MakeTab({
- Name="Contrôle",
- Icon="rbxassetid://4483345998",
- PremiumOnly=false
- }):AddTextbox({
- Name="Player Name",
- Default="",
- TextDisappear=false,
- Callback=function(X)
- N=X
- end
- })
- W:MakeTab({
- Name="Enable"
- }):AddButton({
- Name="Enable",
- Callback=function()
- local X=H(N)
- if X then
- C=X.Character or X.CharacterAdded:Wait()
- H=C:WaitForChild("HumanoidRootPart")
- G()
- print("Fonctionnalité activée pour :",X.Name)
- else
- print("Player not found")
- end
- end
- })
- O:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement