Шоб не повадно было

Run Settings
LanguageLua
Language Version
Run Command
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, 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) 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 = "Shashlik Bring Parts V3" 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 = 10000 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) -- Новая кнопка Reload 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 connections = { DescendantAdded = nil, CharacterAdded = nil, Heartbeat = nil, DescendantRemoving = nil } local parts = {} local function cleanupConnections() for name, connection in pairs(connections) do if connection then connection:Disconnect() connections[name] = nil end 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) end end parts = {} 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 removePart(part) local index = table.find(parts, part) if index then table.remove(parts, index) end end local function attractParts() if not humanoidRootPart then return end local targetPosition = humanoidRootPart.Position for _, part in pairs(parts) do if part and part.Parent and not part.Anchored then local direction = (targetPosition - part.Position).Unit part.Velocity = direction * attractionStrength end end end local function reloadParts() if not blackHoleActive then return end -- Не обновлять, если режим выключен resetParts() if connections.DescendantAdded then connections.DescendantAdded:Disconnect() end if connections.DescendantRemoving then connections.DescendantRemoving:Disconnect() end connections.DescendantAdded = Workspace.DescendantAdded:Connect(addPart) connections.DescendantRemoving = Workspace.DescendantRemoving:Connect(removePart) for _, part in pairs(Workspace:GetDescendants()) do addPart(part) end end local function toggleBlackHole() blackHoleActive = not blackHoleActive if blackHoleActive then button.Text = "Bring Parts | On" button.BackgroundColor3 = Color3.fromRGB(255, 75, 75) resetParts() cleanupConnections() connections.DescendantRemoving = Workspace.DescendantRemoving:Connect(function(descendant) if descendant:IsA("BasePart") then removePart(descendant) end end) connections.DescendantAdded = Workspace.DescendantAdded:Connect(function(descendant) task.wait(0.1) addPart(descendant) end) connections.CharacterAdded = player.CharacterAdded:Connect(function(character) humanoidRootPart = character:WaitForChild("HumanoidRootPart") end) for _, part in pairs(Workspace:GetDescendants()) do addPart(part) end connections.Heartbeat = RunService.Heartbeat:Connect(function() if blackHoleActive and humanoidRootPart then attractParts() end end) sethiddenproperty(Players.LocalPlayer, "SimulationRadius", math.huge) else button.Text = "Bring Parts | Off" button.BackgroundColor3 = Color3.fromRGB(0.3, 0.3, 0.3) cleanupConnections() 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 player = getPlayer(textBox.Text) if player then textBox.Text = player.Name humanoidRootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if connections.CharacterAdded then connections.CharacterAdded:Disconnect() end connections.CharacterAdded = player.CharacterAdded:Connect(function(character) humanoidRootPart = character:WaitForChild("HumanoidRootPart") 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(function() if player then toggleBlackHole() else textBox.Text = "Enter nickname first!" end end) reloadButton.MouseButton1Click:Connect(function() if blackHoleActive then reloadParts() end end) screenGui.Destroying:Connect(function() cleanupConnections() resetParts() end)
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) 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)
Editor Settings
Theme
Key bindings
Full width
Lines