--// Shashlik Bring/Fling parts V6
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local StarterGui = game:GetService("StarterGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = CoreGui
local frame = Instance.new("Frame")
frame.Parent = screenGui
frame.Size = UDim2.new(0, 200, 0, 220)
frame.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
frame.BackgroundTransparency = 0.35
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner")
corner.Parent = frame
corner.CornerRadius = UDim.new(0.1, 0)
local shadow = Instance.new("ImageLabel")
shadow.Parent = frame
shadow.Size = UDim2.new(1, 20, 1, 20)
shadow.Position = UDim2.new(0, -10, 0, -10)
shadow.BackgroundTransparency = 1
shadow.Image = "rbxassetid://1316045217"
shadow.ImageColor3 = Color3.new(0, 0, 0)
shadow.ImageTransparency = 0.5
shadow.ScaleType = Enum.ScaleType.Slice
shadow.SliceCenter = Rect.new(4, 4, 48, 48)
local screenSize = screenGui.AbsoluteSize
local frameSize = frame.AbsoluteSize
frame.Position = UDim2.new(
0.35, -frameSize.X / 2,
0.65, -frameSize.Y / 2
)
local dragDetector = Instance.new("UIDragDetector", frame)
frame.Active = true
frame.Draggable = true
local titleLabel = Instance.new("TextLabel")
titleLabel.Parent = frame
titleLabel.Size = UDim2.new(0.9, 0, 0.1, 0)
titleLabel.Position = UDim2.new(0.05, 0, 0.02, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Bring/Fling Parts V6"
titleLabel.TextColor3 = Color3.new(1, 1, 1)
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.Gotham
titleLabel.TextStrokeTransparency = 0.7
local textBox = Instance.new("TextBox")
textBox.Parent = frame
textBox.Size = UDim2.new(0.9, 0, 0.12, 0)
textBox.Position = UDim2.new(0.05, 0, 0.14, 0)
textBox.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
textBox.BackgroundTransparency = 0.35
textBox.Text = ""
textBox.PlaceholderText = "nickname"
textBox.TextColor3 = Color3.new(1, 1, 1)
textBox.TextScaled = true
textBox.BorderSizePixel = 0
textBox.Font = Enum.Font.Gotham
local textBoxCorner = Instance.new("UICorner")
textBoxCorner.Parent = textBox
textBoxCorner.CornerRadius = UDim.new(0.2, 0)
local attractionStrength = 15000
local playerAttractionStrength = 0
local strengthBox = Instance.new("TextBox")
strengthBox.Parent = frame
strengthBox.Size = UDim2.new(0.9, 0, 0.12, 0)
strengthBox.Position = UDim2.new(0.05, 0, 0.28, 0)
strengthBox.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
strengthBox.BackgroundTransparency = 0.35
strengthBox.Text = tostring(attractionStrength)
strengthBox.PlaceholderText = "Attraction Strength"
strengthBox.TextColor3 = Color3.new(1, 1, 1)
strengthBox.TextScaled = true
strengthBox.BorderSizePixel = 0
strengthBox.Font = Enum.Font.Gotham
local strengthBoxCorner = Instance.new("UICorner")
strengthBoxCorner.Parent = strengthBox
strengthBoxCorner.CornerRadius = UDim.new(0.2, 0)
local button = Instance.new("TextButton")
button.Parent = frame
button.Size = UDim2.new(0.9, 0, 0.15, 0)
button.Position = UDim2.new(0.05, 0, 0.42, 0)
button.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
button.BackgroundTransparency = 0.35
button.Text = "Bring Parts | Off"
button.TextColor3 = Color3.new(1, 1, 1)
button.TextScaled = true
button.BorderSizePixel = 0
button.Font = Enum.Font.Gotham
local buttonCorner = Instance.new("UICorner")
buttonCorner.Parent = button
buttonCorner.CornerRadius = UDim.new(0.2, 0)
local reloadButton = Instance.new("TextButton")
reloadButton.Parent = frame
reloadButton.Size = UDim2.new(0.9, 0, 0.15, 0)
reloadButton.Position = UDim2.new(0.05, 0, 0.59, 0)
reloadButton.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
reloadButton.BackgroundTransparency = 0.35
reloadButton.Text = "Reload Parts"
reloadButton.TextColor3 = Color3.new(1, 1, 1)
reloadButton.TextScaled = true
reloadButton.BorderSizePixel = 0
reloadButton.Font = Enum.Font.Gotham
local reloadButtonCorner = Instance.new("UICorner")
reloadButtonCorner.Parent = reloadButton
reloadButtonCorner.CornerRadius = UDim.new(0.2, 0)
local footerLabel = Instance.new("TextLabel")
footerLabel.Parent = frame
footerLabel.Size = UDim2.new(0.9, 0, 0.1, 0)
footerLabel.Position = UDim2.new(0.05, 0, 0.8, 0)
footerLabel.BackgroundTransparency = 1
footerLabel.Text = "By PrespeshnikShashlika, \n CapyBurger"
footerLabel.TextColor3 = Color3.new(1, 1, 1)
footerLabel.TextScaled = true
footerLabel.Font = Enum.Font.Gotham
footerLabel.TextStrokeTransparency = 0.7
local blackHoleActive = false
local player = nil
local humanoidRootPart = nil
local simulationUpdateThread = nil
local connections = {
DescendantAdded = nil,
CharacterAdded = nil,
Heartbeat = nil,
DescendantRemoving = nil
}
local parts = {}
local function removePart(part)
local index = table.find(parts, part)
if index then
table.remove(parts, index)
end
end
local function cleanupBlackHoleConnections()
if connections.DescendantAdded then
connections.DescendantAdded:Disconnect()
connections.DescendantAdded = nil
end
if connections.DescendantRemoving then
connections.DescendantRemoving:Disconnect()
connections.DescendantRemoving = nil
end
if connections.Heartbeat then
connections.Heartbeat:Disconnect()
connections.Heartbeat = nil
end
if simulationUpdateThread then
coroutine.close(simulationUpdateThread)
simulationUpdateThread = nil
sethiddenproperty(Players.LocalPlayer, "SimulationRadius", 100)
end
end
local function resetParts()
for _, part in pairs(parts) do
if part and part:IsDescendantOf(Workspace) then
part.CanCollide = true
part.Velocity = Vector3.new(0, 0, 0)
part.CustomPhysicalProperties = nil
part.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
part.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
end
end
parts = {}
if humanoidRootPart and humanoidRootPart:IsDescendantOf(Workspace) then
humanoidRootPart.CustomPhysicalProperties = nil
humanoidRootPart.Velocity = Vector3.new(0, 0, 0)
humanoidRootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
humanoidRootPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
end
end
local function addPart(part)
if part:IsA("BasePart") and not part.Anchored and part:IsDescendantOf(Workspace) then
if part.Parent:FindFirstChildOfClass("Humanoid") or part.Parent:FindFirstChild("Head") or part.Name == "Handle" then
return
end
part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
part.CanCollide = false
if not table.find(parts, part) then
table.insert(parts, part)
part.AncestryChanged:Connect(function()
if not part:IsDescendantOf(Workspace) then
removePart(part)
end
end)
end
end
end
local function attractParts()
if not humanoidRootPart or not humanoidRootPart:IsDescendantOf(Workspace) then return end
local targetPosition = humanoidRootPart.Position
for _, part in pairs(parts) do
if part and part:IsDescendantOf(Workspace) and not part.Anchored then
local direction = (targetPosition - part.Position).Unit
local strength = (part == humanoidRootPart) and playerAttractionStrength or attractionStrength
part.Velocity = direction * strength
end
end
end
local function reloadParts()
if not blackHoleActive then return end
resetParts()
if connections.DescendantAdded then
pcall(function() connections.DescendantAdded:Disconnect() end)
end
if connections.DescendantRemoving then
pcall(function() connections.DescendantRemoving:Disconnect() end)
end
connections.DescendantAdded = Workspace.DescendantAdded:Connect(addPart)
connections.DescendantRemoving = Workspace.DescendantRemoving:Connect(function(descendant)
if descendant:IsA("BasePart") then
removePart(descendant)
end
end)
for _, part in pairs(Workspace:GetDescendants()) do
addPart(part)
end
end
local function updateSimulationRadius()
while blackHoleActive and task.wait(0.1) do
sethiddenproperty(Players.LocalPlayer, "SimulationRadius", math.huge)
end
end
local function setupPlayerTracking(targetPlayer)
if connections.CharacterAdded then
connections.CharacterAdded:Disconnect()
connections.CharacterAdded = nil
end
player = targetPlayer
textBox.Text = player.Name
local function setupCharacter(character)
humanoidRootPart = character:WaitForChild("HumanoidRootPart", 5)
if not humanoidRootPart then
warn("Не удалось найти HumanoidRootPart у игрока "..player.Name)
end
end
if player.Character then
setupCharacter(player.Character)
end
connections.CharacterAdded = player.CharacterAdded:Connect(function(character)
setupCharacter(character)
if blackHoleActive then
reloadParts()
end
end)
end
local function toggleBlackHole()
if not player then
textBox.Text = "Enter nickname first!"
return
end
blackHoleActive = not blackHoleActive
if blackHoleActive then
button.Text = "Bring Parts | On"
button.BackgroundColor3 = Color3.fromRGB(255, 75, 75)
resetParts()
cleanupBlackHoleConnections()
reloadParts()
connections.Heartbeat = RunService.Heartbeat:Connect(function()
if blackHoleActive and humanoidRootPart then
attractParts()
end
end)
simulationUpdateThread = coroutine.create(updateSimulationRadius)
coroutine.resume(simulationUpdateThread)
else
button.Text = "Bring Parts | Off"
button.BackgroundColor3 = Color3.fromRGB(0.3, 0.3, 0.3)
cleanupBlackHoleConnections()
resetParts()
end
end
local function getPlayer(name)
local lowerName = name and string.lower(name) or ""
for _, p in pairs(Players:GetPlayers()) do
if string.find(string.lower(p.Name), lowerName) or
(p.DisplayName and string.find(string.lower(p.DisplayName), lowerName)) then
return p
end
end
end
textBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
local targetPlayer = getPlayer(textBox.Text)
if targetPlayer then
setupPlayerTracking(targetPlayer)
else
textBox.Text = "Player not found!"
task.delay(1, function()
textBox.Text = player and player.Name or ""
end)
end
end
end)
strengthBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
local newStrength = tonumber(strengthBox.Text)
if newStrength and newStrength > 0 then
attractionStrength = newStrength
strengthBox.Text = tostring(attractionStrength)
else
strengthBox.Text = "Invalid value!"
task.delay(1, function()
strengthBox.Text = tostring(attractionStrength)
end)
end
end
end)
button.MouseButton1Click:Connect(toggleBlackHole)
reloadButton.MouseButton1Click:Connect(function()
if blackHoleActive then
reloadParts()
end
end)
screenGui.Destroying:Connect(function()
cleanupBlackHoleConnections()
resetParts()
if connections.CharacterAdded then
connections.CharacterAdded:Disconnect()
end
end)
local userId = Players:GetUserIdFromNameAsync("prespeshnikShashlika")
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Bring/Fling Parts",
Text = "version V6",
Icon = content,
Duration = 7
})
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = CoreGui
local frame = Instance.new("Frame")
frame.Parent = screenGui
frame.Size = UDim2.new(0, 175, 0, 150) -- Уменьшена высота из-за удаления строки
frame.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
frame.BackgroundTransparency = 0.35
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner")
corner.Parent = frame
corner.CornerRadius = UDim.new(0.1, 0)
local shadow = Instance.new("ImageLabel")
shadow.Parent = frame
shadow.Size = UDim2.new(1, 20, 1, 20)
shadow.Position = UDim2.new(0, -10, 0, -10)
shadow.BackgroundTransparency = 1
shadow.Image = "rbxassetid://1316045217"
shadow.ImageColor3 = Color3.new(0, 0, 0)
shadow.ImageTransparency = 0.5
shadow.ScaleType = Enum.ScaleType.Slice
shadow.SliceCenter = Rect.new(4, 4, 48, 48)
local screenSize = screenGui.AbsoluteSize
local frameSize = frame.AbsoluteSize
frame.Position = UDim2.new(
0.35, -frameSize.X / 2,
0.65, -frameSize.Y / 2
)
local dragDetector = Instance.new("UIDragDetector", frame)
frame.Active = true
frame.Draggable = true
local titleLabel = Instance.new("TextLabel")
titleLabel.Parent = frame
titleLabel.Size = UDim2.new(0.9, 0, 0.15, 0)
titleLabel.Position = UDim2.new(0.05, 0, 0.05, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Shashlik Bring Parts"
titleLabel.TextColor3 = Color3.new(1, 1, 1)
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.Gotham
titleLabel.TextStrokeTransparency = 0.7
local textBox = Instance.new("TextBox")
textBox.Parent = frame
textBox.Size = UDim2.new(0.9, 0, 0.2, 0)
textBox.Position = UDim2.new(0.05, 0, 0.25, 0)
textBox.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
textBox.BackgroundTransparency = 0.35
textBox.Text = ""
textBox.PlaceholderText = "nickname"
textBox.TextColor3 = Color3.new(1, 1, 1)
textBox.TextScaled = true
textBox.BorderSizePixel = 0
textBox.Font = Enum.Font.Gotham
local textBoxCorner = Instance.new("UICorner")
textBoxCorner.Parent = textBox
textBoxCorner.CornerRadius = UDim.new(0.2, 0)
local button = Instance.new("TextButton")
button.Parent = frame
button.Size = UDim2.new(0.9, 0, 0.25, 0)
button.Position = UDim2.new(0.05, 0, 0.5, 0)
button.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
button.BackgroundTransparency = 0.35
button.Text = "Bring Parts | Off"
button.TextColor3 = Color3.new(1, 1, 1)
button.TextScaled = true
button.BorderSizePixel = 0
button.Font = Enum.Font.Gotham
local buttonCorner = Instance.new("UICorner")
buttonCorner.Parent = button
buttonCorner.CornerRadius = UDim.new(0.2, 0)
local footerLabel = Instance.new("TextLabel")
footerLabel.Parent = frame
footerLabel.Size = UDim2.new(0.9, 0, 0.15, 0)
footerLabel.Position = UDim2.new(0.05, 0, 0.8, 0)
footerLabel.BackgroundTransparency = 1
footerLabel.Text = "By PrespeshnikShashlika"
footerLabel.TextColor3 = Color3.new(1, 1, 1)
footerLabel.TextScaled = true
footerLabel.Font = Enum.Font.Gotham
footerLabel.TextStrokeTransparency = 0.7
local blackHoleActive = false
local player = nil
local humanoidRootPart = nil
local DescendantAddedConnection = nil
local CharacterAddedConnection = nil
local processedParts = {}
local Folder = Instance.new("Folder", Workspace)
local Part = Instance.new("Part", Folder)
local Attachment1 = Instance.new("Attachment", Part)
Part.Anchored = true
Part.CanCollide = false
Part.Transparency = 1
if not getgenv().Network then
getgenv().Network = {
BaseParts = {},
Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
}
Network.RetainPart = function(Part)
if Part:IsA("BasePart") and Part:IsDescendantOf(Workspace) then
table.insert(Network.BaseParts, Part)
Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
Part.CanCollide = false
end
end
local function EnablePartControl()
game.Players.LocalPlayer.ReplicationFocus = Workspace
RunService.Heartbeat:Connect(function()
sethiddenproperty(game.Players.LocalPlayer, "SimulationRadius", math.huge)
for _, Part in pairs(Network.BaseParts) do
if Part:IsDescendantOf(Workspace) then
Part.Velocity = Network.Velocity
end
end
end)
end
EnablePartControl()
end
local function ForcePart(v)
if v:IsA("BasePart") and not v.Anchored and not v.Parent:FindFirstChildOfClass("Humanoid") and not v.Parent:FindFirstChild("Head") and v.Name ~= "Handle" then
for _, x in ipairs(v:GetChildren()) do
if x:IsA("BodyMover") or x:IsA("RocketPropulsion") then
x:Destroy()
end
end
if v:FindFirstChild("Attachment") then
v:FindFirstChild("Attachment"):Destroy()
end
if v:FindFirstChild("AlignPosition") then
v:FindFirstChild("AlignPosition"):Destroy()
end
if v:FindFirstChild("Torque") then
v:FindFirstChild("Torque"):Destroy()
end
v.CanCollide = false
local Torque = Instance.new("Torque", v)
Torque.Torque = Vector3.new(100000, 100000, 100000)
local AlignPosition = Instance.new("AlignPosition", v)
local Attachment2 = Instance.new("Attachment", v)
Torque.Attachment0 = Attachment2
AlignPosition.MaxForce = math.huge
AlignPosition.MaxVelocity = math.huge
AlignPosition.Responsiveness = 200
AlignPosition.Attachment0 = Attachment2
AlignPosition.Attachment1 = Attachment1
table.insert(processedParts, v)
end
end
local function ResetParts()
for _, v in ipairs(processedParts) do
if v and v:IsDescendantOf(Workspace) then
for _, x in ipairs(v:GetChildren()) do
if x:IsA("BodyMover") or x.Name == "Torque" or x.Name == "AlignPosition" or x.Name == "Attachment" then
x:Destroy()
end
end
v.CanCollide = true
end
end
processedParts = {}
end
local function toggleBlackHole()
blackHoleActive = not blackHoleActive
if blackHoleActive then
button.Text = "Bring Parts | On"
button.BackgroundColor3 = Color3.fromRGB(255, 75, 75)
ResetParts()
for _, v in ipairs(Workspace:GetDescendants()) do
ForcePart(v)
end
DescendantAddedConnection = Workspace.DescendantAdded:Connect(function(v)
if blackHoleActive then
ForcePart(v)
end
end)
spawn(function()
while blackHoleActive and RunService.RenderStepped:Wait() do
if humanoidRootPart then
Attachment1.WorldCFrame = humanoidRootPart.CFrame
end
end
end)
else
button.Text = "Bring Parts | Off"
button.BackgroundColor3 = Color3.fromRGB(0.3, 0.3, 0.3)
if DescendantAddedConnection then
DescendantAddedConnection:Disconnect()
end
ResetParts()
end
end
local function getPlayer(name)
local lowerName = string.lower(name)
for _, p in pairs(Players:GetPlayers()) do
local lowerPlayer = string.lower(p.Name)
if string.find(lowerPlayer, lowerName) then
return p
elseif string.find(string.lower(p.DisplayName), lowerName) then
return p
end
end
end
textBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
player = getPlayer(textBox.Text)
if player then
textBox.Text = player.Name
humanoidRootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
if CharacterAddedConnection then
CharacterAddedConnection:Disconnect()
end
CharacterAddedConnection = player.CharacterAdded:Connect(function(character)
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
end)
end
end
end)
button.MouseButton1Click:Connect(function()
if player then
toggleBlackHole()
else
textBox.Text = "Enter nickname first!"
end
end)
--// AK bring parts rewrite
if getgenv().UAFlingLoaded then
return nil
else
getgenv().UAFlingLoaded = true
end
local Gui = Instance.new("ScreenGui")
local Main = Instance.new("Frame")
local Box = Instance.new("TextBox")
local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
local Label = Instance.new("TextLabel")
local UITextSizeConstraint_2 = Instance.new("UITextSizeConstraint")
local Button = Instance.new("TextButton")
local UITextSizeConstraint_3 = Instance.new("UITextSizeConstraint")
local UIStroke = Instance.new("UIStroke")
Gui.Name = "UAFling"
Gui.Parent = gethui()
Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Main.Name = "Main"
Main.Parent = Gui
Main.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Main.BackgroundTransparency = 0.1
Main.BorderSizePixel = 0
Main.Position = UDim2.new(0.35, 0, 0.35, 0)
Main.Size = UDim2.new(0.18, 0, 0.15, 0)
Main.Active = true
Main.Draggable = true
local TitleLabel = Instance.new("TextLabel")
TitleLabel.Name = "TitleLabel"
TitleLabel.Parent = Main
TitleLabel.BackgroundTransparency = 1
TitleLabel.Position = UDim2.new(0, 0, 0.02, 0)
TitleLabel.Size = UDim2.new(1, 0, 0.2, 0)
TitleLabel.Font = Enum.Font.SourceSansBold
TitleLabel.Text = "BRING PARTS"
TitleLabel.TextColor3 = Color3.fromRGB(240, 240, 240)
TitleLabel.TextScaled = true
TitleLabel.TextSize = 8
TitleLabel.TextWrapped = true
local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 8)
MainCorner.Parent = Main
UIStroke.Parent = Main
UIStroke.Color = Color3.fromRGB(70, 70, 70)
UIStroke.Thickness = 1
Box.Name = "Box"
Box.Parent = Main
Box.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Box.BorderSizePixel = 0
Box.Position = UDim2.new(0.1, 0, 0.25, 0)
Box.Size = UDim2.new(0.8, 0, 0.25, 0)
Box.FontFace = Font.new("rbxasset://fonts/families/SourceSansSemibold.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
Box.PlaceholderText = "Enter player name..."
Box.Text = ""
Box.TextColor3 = Color3.fromRGB(235, 235, 235)
Box.TextScaled = true
Box.TextWrapped = true
UITextSizeConstraint.Parent = Box
UITextSizeConstraint.MaxTextSize = 18
local BoxCorner = Instance.new("UICorner")
BoxCorner.CornerRadius = UDim.new(0, 6)
BoxCorner.Parent = Box
Button.Name = "Button"
Button.Parent = Main
Button.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
Button.BorderSizePixel = 0
Button.Position = UDim2.new(0.1, 0, 0.55, 0)
Button.Size = UDim2.new(0.8, 0, 0.3, 0)
Button.Font = Enum.Font.Nunito
Button.Text = "Unanchor Fling | Off"
Button.TextColor3 = Color3.fromRGB(240, 240, 240)
Button.TextScaled = true
Button.TextWrapped = true
UITextSizeConstraint_3.Parent = Button
UITextSizeConstraint_3.MaxTextSize = 26
local ButtonCorner = Instance.new("UICorner")
ButtonCorner.CornerRadius = UDim.new(0, 6)
ButtonCorner.Parent = Button
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local character
local humanoidRootPart
local mainStatus = true
UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.RightControl and not gameProcessedEvent then
mainStatus = not mainStatus
Main.Visible = mainStatus
end
end)
local Folder = Instance.new("Folder", Workspace)
local Part = Instance.new("Part", Folder)
local Attachment1 = Instance.new("Attachment", Part)
Part.Anchored = true
Part.CanCollide = false
Part.Transparency = 1
if not getgenv().Network then
getgenv().Network = {
BaseParts = {},
Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
}
Network.RetainPart = function(Part)
if Part:IsA("BasePart") and Part:IsDescendantOf(Workspace) then
table.insert(Network.BaseParts, Part)
Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
Part.CanCollide = false
end
end
local function EnablePartControl()
LocalPlayer.ReplicationFocus = Workspace
RunService.Heartbeat:Connect(function()
sethiddenproperty(LocalPlayer, "SimulationRadius", math.huge)
for _, Part in pairs(Network.BaseParts) do
if Part:IsDescendantOf(Workspace) then
Part.Velocity = Network.Velocity
end
end
end)
end
EnablePartControl()
end
local function ForcePart(v)
if v:IsA("BasePart") and not v.Anchored and not v.Parent:FindFirstChildOfClass("Humanoid") and not v.Parent:FindFirstChild("Head") and v.Name ~= "Handle" then
if v:IsDescendantOf(LocalPlayer.Character) then
return
end
for _, x in ipairs(v:GetChildren()) do
if x:IsA("BodyMover") or x:IsA("RocketPropulsion") then
x:Destroy()
end
end
if v:FindFirstChild("Attachment") then
v:FindFirstChild("Attachment"):Destroy()
end
if v:FindFirstChild("AlignPosition") then
v:FindFirstChild("AlignPosition"):Destroy()
end
if v:FindFirstChild("Torque") then
v:FindFirstChild("Torque"):Destroy()
end
v.CanCollide = false
local Torque = Instance.new("Torque", v)
Torque.Torque = Vector3.new(100000, 100000, 100000)
local AlignPosition = Instance.new("AlignPosition", v)
local Attachment2 = Instance.new("Attachment", v)
Torque.Attachment0 = Attachment2
AlignPosition.MaxForce = math.huge
AlignPosition.MaxVelocity = math.huge
AlignPosition.Responsiveness = 200
AlignPosition.Attachment0 = Attachment2
AlignPosition.Attachment1 = Attachment1
end
end
local blackHoleActive = false
local DescendantAddedConnection
local function toggleBlackHole()
blackHoleActive = not blackHoleActive
if blackHoleActive then
Button.Text = "Unanchor fling | On"
for _, v in ipairs(Workspace:GetDescendants()) do
ForcePart(v)
end
DescendantAddedConnection = Workspace.DescendantAdded:Connect(function(v)
if blackHoleActive then
ForcePart(v)
end
end)
task.spawn(function()
while blackHoleActive and RunService.RenderStepped:Wait() do
if humanoidRootPart then
Attachment1.WorldCFrame = humanoidRootPart.CFrame
end
end
end)
else
Button.Text = "Unanchor fling | Off"
if DescendantAddedConnection then
DescendantAddedConnection:Disconnect()
end
end
end
local function getPlayer(name)
local lowerName = string.lower(name)
local bestMatch = nil
local bestMatchLength = math.huge
for _, p in ipairs(Players:GetPlayers()) do
local playerName = string.lower(p.Name)
local lowerDisplayName = string.lower(p.DisplayName)
if string.sub(playerName, 1, #lowerName) == lowerName or string.sub(lowerDisplayName, 1, #lowerName) == lowerName then
local matchLength = math.min(#lowerName, #playerName)
if matchLength < bestMatchLength then
bestMatch = p
bestMatchLength = matchLength
end
end
end
return bestMatch
end
local function onButtonClicked()
local playerName = Box.Text
if playerName ~= "" then
local targetPlayer = getPlayer(playerName)
if targetPlayer then
Box.Text = targetPlayer.Name
local function applyBallFling(targetCharacter)
humanoidRootPart = targetCharacter:WaitForChild("HumanoidRootPart")
toggleBlackHole()
end
local targetCharacter = targetPlayer.Character
if targetCharacter then
applyBallFling(targetCharacter)
else
Box.Text = "Player not found"
end
targetPlayer.CharacterAdded:Connect(function(newCharacter)
applyBallFling(newCharacter)
end)
else
Box.Text = "Player not found"
end
end
end
Button.MouseButton1Click:Connect(onButtonClicked)
return Gui
-- Better Bring Parts Ui
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Workspace = game:GetService("Workspace")
-- Create Modern GUI
local Gui = Instance.new("ScreenGui")
Gui.Name = "Gui"
Gui.Parent = gethui()
Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
-- Main Frame
local Main = Instance.new("Frame")
Main.Name = "Main"
Main.Size = UDim2.new(0, 320, 0, 180)
Main.Position = UDim2.new(0.5, -160, 0.5, -90)
Main.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
Main.BorderSizePixel = 0
Main.Active = true
Main.Draggable = true
Main.Parent = Gui
-- Add rounded corners
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = Main
-- Title Bar
local Label = Instance.new("TextLabel")
Label.Name = "Label"
Label.Size = UDim2.new(1, 0, 0, 40)
Label.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
Label.BorderSizePixel = 0
Label.Text = "Bring Parts | t.me/arceusxscripts"
Label.TextColor3 = Color3.fromRGB(255, 255, 255)
Label.TextSize = 16
Label.Font = Enum.Font.GothamBold
Label.Parent = Main
local UICorner_2 = Instance.new("UICorner")
UICorner_2.CornerRadius = UDim.new(0, 8)
UICorner_2.Parent = Label
-- Player Input Box
local Box = Instance.new("TextBox")
Box.Name = "Box"
Box.Size = UDim2.new(0.85, 0, 0, 40)
Box.Position = UDim2.new(0.075, 0, 0.3, 0)
Box.BackgroundColor3 = Color3.fromRGB(45, 45, 50)
Box.BorderSizePixel = 0
Box.PlaceholderText = "Player here"
Box.Text = ""
Box.TextColor3 = Color3.fromRGB(255, 255, 255)
Box.PlaceholderColor3 = Color3.fromRGB(180, 180, 180)
Box.TextSize = 14
Box.Font = Enum.Font.GothamSemibold
Box.Parent = Main
local UICorner_3 = Instance.new("UICorner")
UICorner_3.CornerRadius = UDim.new(0, 6)
UICorner_3.Parent = Box
-- Toggle Button
local Button = Instance.new("TextButton")
Button.Name = "Button"
Button.Size = UDim2.new(0.85, 0, 0, 40)
Button.Position = UDim2.new(0.075, 0, 0.65, 0)
Button.BackgroundColor3 = Color3.fromRGB(0, 120, 215)
Button.BorderSizePixel = 0
Button.Text = "Bring | Off"
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
Button.TextSize = 16
Button.Font = Enum.Font.GothamBold
Button.Parent = Main
local UICorner_4 = Instance.new("UICorner")
UICorner_4.CornerRadius = UDim.new(0, 6)
UICorner_4.Parent = Button
-- Core Variables
local LocalPlayer = Players.LocalPlayer
local character
local humanoidRootPart
-- Toggle Visibility
mainStatus = true
UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.RightControl and not gameProcessedEvent then
mainStatus = not mainStatus
Main.Visible = mainStatus
end
end)
-- Setup Network
local Folder = Instance.new("Folder", Workspace)
local Part = Instance.new("Part", Folder)
local Attachment1 = Instance.new("Attachment", Part)
Part.Anchored = true
Part.CanCollide = false
Part.Transparency = 1
if not getgenv().Network then
getgenv().Network = {
BaseParts = {},
Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
}
Network.RetainPart = function(Part)
if Part:IsA("BasePart") and Part:IsDescendantOf(Workspace) then
table.insert(Network.BaseParts, Part)
Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
Part.CanCollide = false
end
end
local function EnablePartControl()
LocalPlayer.ReplicationFocus = Workspace
RunService.Heartbeat:Connect(function()
sethiddenproperty(LocalPlayer, "SimulationRadius", math.huge)
for _, Part in pairs(Network.BaseParts) do
if Part:IsDescendantOf(Workspace) then
Part.Velocity = Network.Velocity
end
end
end)
end
EnablePartControl()
end
local function ForcePart(v)
if v:IsA("BasePart") and not v.Anchored and not v.Parent:FindFirstChildOfClass("Humanoid") and not v.Parent:FindFirstChild("Head") and v.Name ~= "Handle" then
for _, x in ipairs(v:GetChildren()) do
if x:IsA("BodyMover") or x:IsA("RocketPropulsion") then
x:Destroy()
end
end
if v:FindFirstChild("Attachment") then
v:FindFirstChild("Attachment"):Destroy()
end
if v:FindFirstChild("AlignPosition") then
v:FindFirstChild("AlignPosition"):Destroy()
end
if v:FindFirstChild("Torque") then
v:FindFirstChild("Torque"):Destroy()
end
v.CanCollide = false
local Torque = Instance.new("Torque", v)
Torque.Torque = Vector3.new(100000, 100000, 100000)
local AlignPosition = Instance.new("AlignPosition", v)
local Attachment2 = Instance.new("Attachment", v)
Torque.Attachment0 = Attachment2
AlignPosition.MaxForce = math.huge
AlignPosition.MaxVelocity = math.huge
AlignPosition.Responsiveness = 200
AlignPosition.Attachment0 = Attachment2
AlignPosition.Attachment1 = Attachment1
end
end
local blackHoleActive = false
local DescendantAddedConnection
local function toggleBlackHole()
blackHoleActive = not blackHoleActive
if blackHoleActive then
Button.Text = "Bring Parts | On"
Button.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
for _, v in ipairs(Workspace:GetDescendants()) do
ForcePart(v)
end
DescendantAddedConnection = Workspace.DescendantAdded:Connect(function(v)
if blackHoleActive then
ForcePart(v)
end
end)
spawn(function()
while blackHoleActive and RunService.RenderStepped:Wait() do
Attachment1.WorldCFrame = humanoidRootPart.CFrame
end
end)
else
Button.Text = "Bring Parts | Off"
Button.BackgroundColor3 = Color3.fromRGB(0, 120, 215)
if DescendantAddedConnection then
DescendantAddedConnection:Disconnect()
end
end
end
local function getPlayer(name)
local lowerName = string.lower(name)
for _, p in pairs(Players:GetPlayers()) do
local lowerPlayer = string.lower(p.Name)
if string.find(lowerPlayer, lowerName) then
return p
elseif string.find(string.lower(p.DisplayName), lowerName) then
return p
end
end
end
local player = nil
local function VDOYZQL_fake_script() -- Box.Script
local script = Instance.new('Script', Box)
script.Parent.FocusLost:Connect(function(enterPressed)
if enterPressed then
player = getPlayer(Box.Text)
if player then
Box.Text = player.Name
print("Player found:", player.Name)
else
print("Player not found")
end
end
end)
end
coroutine.wrap(VDOYZQL_fake_script)()
local function JUBNQKI_fake_script() -- Button.Script
local script = Instance.new('Script', Button)
script.Parent.MouseButton1Click:Connect(function()
if player then
character = player.Character or player.CharacterAdded:Wait()
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
toggleBlackHole()
else
print("Player is not selected")
end
end)
end
coroutine.wrap(JUBNQKI_fake_script)()