Brookhaven 🏡RP
12.5k Views
130 Executions

Zamiels Hub Script

Brookhaven RP
1 year ago
Please login to perform these actions:

Zamiels Hub Script is a Brookhaven RP script for Roblox, uploaded to ScriptBlox on Jul 22, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- Create ScreenGui and Button local screenGui = Instance.new("ScreenGui") screenGui.Name = "SuckAnchoredPartsGUI" screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 200, 0, 50) button.Position = UDim2.new(0.5, -100, 0, 100) button.Text = "Suck Anchored Parts" button.Parent = screenGui local sucking = false local suckConnection local function suckAnchoredParts() if sucking then return end sucking = true suckConnection = RunService.Heartbeat:Connect(function() for _, part in pairs(Workspace:GetDescendants()) do if part:IsA("BasePart") and part.Anchored then -- Move anchored part towards player slowly local direction = (humanoidRootPart.Position - part.Position) local distance = direction.Magnitude if distance > 1 then -- Tween or directly set CFrame closer to player each frame part.CFrame = part.CFrame:Lerp(CFrame.new(humanoidRootPart.Position), 0.05) end end end end) end local function stopSucking() sucking = false if suckConnection then suckConnection:Disconnect() suckConnection = nil end end button.MouseButton1Click:Connect(function() if sucking then stopSucking() button.Text = "Suck Anchored Parts" else suckAnchoredParts() button.Text = "Stop Sucking" end end)

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")

local LocalPlayer = Players.LocalPlayer
local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

-- Create ScreenGui and Button
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SuckAnchoredPartsGUI"
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 200, 0, 50)
button.Position = UDim2.new(0.5, -100, 0, 100)
button.Text = "Suck Anchored Parts"
button.Parent = screenGui

local sucking = false
local suckConnection

local function suckAnchoredParts()
    if sucking then return end
    sucking = true

    suckConnection = RunService.Heartbeat:Connect(function()
        for _, part in pairs(Workspace:GetDescendants()) do
            if part:IsA("BasePart") and part.Anchored then
                -- Move anchored part towards player slowly
                local direction = (humanoidRootPart.Position - part.Position)
                local distance = direction.Magnitude
                if distance > 1 then
                    -- Tween or directly set CFrame closer to player each frame
                    part.CFrame = part.CFrame:Lerp(CFrame.new(humanoidRootPart.Position), 0.05)
                end
            end
        end
    end)
end


Comments

4
Log in to join the conversation. Login
Dizzilovell's profile picture
DizzilovellUploader1 year ago

im not a bot and ohio memes are dead are you stuck in time or something

1
Dizzilovell's profile picture
DizzilovellUploader1 year ago

?

1
zxcv's profile picture
zxcv1 year ago

bot stop sending some Ohio scripts

1
zxcv's profile picture
zxcv1 year ago

test DDoS?

1

Tags

More Brookhaven RP scripts

See all
Brookhaven 🏡RP
1.9M
524.7k
Bumped 9 hours ago
Brookhaven 🏡RP
832.1k
361
3 years ago
Brookhaven 🏡RP
1.3k
1.3k
Bumped 19 hours ago
Brookhaven 🏡RP
663
26
Approved 1 day ago