-- Disable Building Tool (Equip Delete & Fire) – button moved higher local player = game.Players.LocalPlayer -- Hidden support link (remove if not needed) local SUPPORT_LINK = string.char(104,116,116,112,115,58,47,47,108,105,110,107,45,116,97,114,103,101,116,46,110,101,116,47,52,52,48,57,51,48,50,47,113,111,87,102,71,107,48,104,57,52,50,66) -- GUI (frame height kept at 170) local screenGui = Instance.new("ScreenGui") screenGui.Name = "DisableBuildingGUI" screenGui.Parent = player:WaitForChild("PlayerGui") screenGui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 280, 0, 170) frame.Position = UDim2.new(0.5, -140, 0.5, -85) frame.BackgroundColor3 = Color3.fromRGB(30,30,30) frame.BorderSizePixel = 0 frame.Active = true frame.Parent = screenGui -- Title bar (draggable) local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1,0,0,30) titleBar.BackgroundColor3 = Color3.fromRGB(80,80,255) titleBar.BorderSizePixel = 0 titleBar.Parent = frame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1,-40,1,0) titleLabel.Position = UDim2.new(0,5,0,0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Disable Building" titleLabel.TextColor3 = Color3.new(1,1,1) titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 14 titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = titleBar local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0,25,1,0) closeBtn.Position = UDim2.new(1,-25,0,0) closeBtn.BackgroundColor3 = Color3.fromRGB(200,50,50) closeBtn.Text = "X" closeBtn.TextColor3 = Color3.new(1,1,1) closeBtn.Font = Enum.Font.GothamBold closeBtn.TextSize = 16 closeBtn.BorderSizePixel = 0 closeBtn.Parent = titleBar closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() end) -- Status label (moved up slightly) local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(1, -20, 0, 40) statusLabel.Position = UDim2.new(0, 10, 0, 40) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Ready" statusLabel.TextColor3 = Color3.fromRGB(200,200,200) statusLabel.Font = Enum.Font.Gotham statusLabel.TextSize = 12 statusLabel.TextWrapped = true statusLabel.Parent = frame -- Trigger button (moved higher: from Y=0.6 to Y=0.5) local triggerBtn = Instance.new("TextButton") triggerBtn.Size = UDim2.new(0.53, 0, 0, 23) triggerBtn.Position = UDim2.new(0.5, 0, 0.5, 0) -- now centered vertically triggerBtn.AnchorPoint = Vector2.new(0.5, 0.5) triggerBtn.BackgroundColor3 = Color3.fromRGB(0,120,255) triggerBtn.Text = "disable building" triggerBtn.TextColor3 = Color3.new(1,1,1) triggerBtn.Font = Enum.Font.GothamBlack triggerBtn.TextSize = 12 triggerBtn.BorderSizePixel = 0 triggerBtn.Parent = frame -- Support button (unchanged position) local supportBtn = Instance.new("TextButton") supportBtn.Size = UDim2.new(0.7, 0, 0, 25) supportBtn.Position = UDim2.new(0.5, 0, 1, -55) supportBtn.AnchorPoint = Vector2.new(0.5, 0.5) supportBtn.BackgroundColor3 = Color3.fromRGB(100,100,150) supportBtn.Text = "Support me" supportBtn.TextColor3 = Color3.new(1,1,1) supportBtn.Font = Enum.Font.Gotham supportBtn.TextSize = 12 supportBtn.BorderSizePixel = 0 supportBtn.Parent = frame supportBtn.MouseButton1Click:Connect(function() if setclipboard then setclipboard(SUPPORT_LINK) supportBtn.Text = "✓ Copied!" task.wait(2) supportBtn.Text = "Support me" else supportBtn.Text = "Copy manually: " .. SUPPORT_LINK task.wait(5) supportBtn.Text = "Support me" end end) -- Instruction below support button local instrLabel = Instance.new("TextLabel") instrLabel.Size = UDim2.new(1, -20, 0, 20) instrLabel.Position = UDim2.new(0, 10, 1, -30) instrLabel.BackgroundTransparency = 1 instrLabel.Text = "click the support me and paste it in Google" instrLabel.TextColor3 = Color3.fromRGB(200,200,100) instrLabel.Font = Enum.Font.Gotham instrLabel.TextSize = 10 instrLabel.TextWrapped = true instrLabel.TextXAlignment = Enum.TextXAlignment.Center instrLabel.Parent = frame -- Dragging local dragToggle, dragInput, dragStart, startPos local function updateDrag(input) local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragToggle = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) titleBar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if input == dragInput and dragToggle then updateDrag(input) end end) -- Function to equip a tool by name local function equipTool(toolName) local backpack = player:FindFirstChild("Backpack") local character = player.Character if not character then return false end local tool = nil if backpack then tool = backpack:FindFirstChild(toolName) end if not tool and character then tool = character:FindFirstChild(toolName) end if not tool then return false end if tool.Parent ~= character then tool.Parent = character end return true end -- Trigger action triggerBtn.MouseButton1Click:Connect(function() statusLabel.Text = "Equipping Delete..." statusLabel.TextColor3 = Color3.fromRGB(255,200,100) local equipped = equipTool("Delete") if not equipped then statusLabel.Text = "Error: Delete tool not found" statusLabel.TextColor3 = Color3.fromRGB(255,0,0) task.wait(2) statusLabel.Text = "Ready" statusLabel.TextColor3 = Color3.fromRGB(200,200,200) return end task.wait(0.2) local character = player.Character if not character then statusLabel.Text = "Error: Character missing" return end local deletePart = character:FindFirstChild("Delete") if not deletePart then statusLabel.Text = "Error: 'Delete' part not found on character" return end local scriptContainer = deletePart:FindFirstChild("Script") if not scriptContainer then statusLabel.Text = "Error: 'Script' not found inside Delete" return end local event = scriptContainer:FindFirstChild("Event") if not event or not event:IsA("RemoteEvent") then statusLabel.Text = "Error: 'Event' RemoteEvent not found" return end local brick = game:GetService("ReplicatedStorage"):FindFirstChild("Brick") if not brick then statusLabel.Text = "Error: 'Brick' not found in ReplicatedStorage" return end local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then statusLabel.Text = "Error: HumanoidRootPart missing" return end event:FireServer(brick, hrp.Position) statusLabel.Text = "Delete equipped & event fired!" statusLabel.TextColor3 = Color3.fromRGB(100,255,100) task.wait(2) statusLabel.Text = "Ready" statusLabel.TextColor3 = Color3.fromRGB(200,200,200) end)