local P = game:GetService("Players") local UIS = game:GetService("UserInputService") local CoreGui = game:GetService("CoreGui") local player = P.LocalPlayer local mouse = player:GetMouse() local playerGui = player:WaitForChild("PlayerGui") local safeContainer = (gethui and gethui()) or CoreGui:FindFirstChild("RobloxGui") or CoreGui if safeContainer:FindFirstChild("DeltaUniversalEngine") then safeContainer.DeltaUniversalEngine:Destroy() end local selMat = Enum.Material.Concrete local selCol = BrickColor.new("Medium stone grey") local selForm = "Block" local activeTool = "None" local matList = { {N = "Concrete", M = Enum.Material.Concrete, C = BrickColor.new("Medium stone grey")}, {N = "Neon Glow", M = Enum.Material.Neon, C = BrickColor.new("Toothpaste")}, {N = "Glass", M = Enum.Material.Glass, C = BrickColor.new("Light blue")}, {N = "Forcefield", M = Enum.Material.ForceField, C = BrickColor.new("Really red")}, {N = "Wood Planks", M = Enum.Material.WoodPlanks, C = BrickColor.new("Reddish brown")}, {N = "Diamond Plate", M = Enum.Material.DiamondPlate, C = BrickColor.new("Dark stone grey")}, {N = "Marble", M = Enum.Material.Marble, C = BrickColor.new("White")}, {N = "Ice", M = Enum.Material.Ice, C = BrickColor.new("Pastel Blue")}, {N = "Brick", M = Enum.Material.Brick, C = BrickColor.new("Rust")} } local formsList = {"Block", "Wedge", "Cylinder", "Sphere"} UIS.InputBegan:Connect(function(input, processed) if processed then return end if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then local hitPos = mouse.Hit.p local targ = mouse.Target if mouse.Y < 180 and mouse.X > (mouse.ViewSizeX - 280) then return end if activeTool == "HAMMER" and hitPos then local p if selForm == "Wedge" then p = Instance.new("WedgePart") p.Size = Vector3.new(5, 5, 5) elseif selForm == "Cylinder" then p = Instance.new("Part") p.Shape = Enum.PartType.Cylinder p.Size = Vector3.new(5, 5, 5) elseif selForm == "Sphere" then p = Instance.new("Part") p.Shape = Enum.PartType.Ball p.Size = Vector3.new(5, 5, 5) else p = Instance.new("Part") p.Size = Vector3.new(5, 1, 5) end p.BrickColor = selCol; p.Material = selMat; p.Anchored = true; p.CanCollide = true; p.Name = "DeltaCustomBlock" p.Position = Vector3.new(hitPos.X, hitPos.Y + (p.Size.Y / 2), hitPos.Z); p.Parent = workspace elseif activeTool == "DELETE" then if targ and targ.Name == "DeltaCustomBlock" then targ:Destroy() end end end end) local screenGui = Instance.new("ScreenGui") screenGui.Name = "DeltaUniversalEngine" screenGui.ResetOnSpawn = false screenGui.Parent = safeContainer local matFrame = Instance.new("Frame") matFrame.Size = UDim2.new(0, 110, 0, 150) matFrame.Position = UDim2.new(1, -120, 0, 0) matFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 18) matFrame.BorderSizePixel = 0; matFrame.Visible = false; matFrame.Parent = screenGui Instance.new("UICorner", matFrame).CornerRadius = UDim.new(0, 5) local matTitle = Instance.new("TextLabel") matTitle.Size = UDim2.new(1, 0, 0, 24); matTitle.BackgroundColor3 = Color3.fromRGB(24, 24, 28) matTitle.Text = "🔨 Materials"; matTitle.TextColor3 = Color3.fromRGB(220, 220, 220) matTitle.Font = Enum.Font.SourceSansBold; matTitle.TextSize = 11; matTitle.Parent = matFrame local matScroll = Instance.new("ScrollingFrame") matScroll.Size = UDim2.new(1, 0, 1, -24); matScroll.Position = UDim2.new(0, 0, 0, 24) matScroll.BackgroundTransparency = 1; matScroll.BorderSizePixel = 0; matScroll.ScrollBarThickness = 3 matScroll.CanvasSize = UDim2.new(0, 0, 0, (#matList * 26)); matScroll.Parent = matFrame local matLayout = Instance.new("UIListLayout") matLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center; matLayout.Padding = UDim.new(0, 3); matLayout.Parent = matScroll for _, choice in ipairs(matList) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.92, 0, 0, 22); btn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) btn.Text = choice.N; btn.TextColor3 = Color3.fromRGB(255, 255, 255); btn.Font = Enum.Font.SourceSansBold; btn.TextSize = 10; btn.Parent = matScroll Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 3) btn.MouseButton1Click:Connect(function() selMat = choice.M; selCol = choice.C end) end local formFrame = Instance.new("Frame") formFrame.Size = UDim2.new(0, 110, 0, 150) formFrame.Position = UDim2.new(1, -235, 0, 0) formFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 18) formFrame.BorderSizePixel = 0; formFrame.Visible = false; formFrame.Parent = screenGui Instance.new("UICorner", formFrame).CornerRadius = UDim.new(0, 5) local formTitle = Instance.new("TextLabel") formTitle.Size = UDim2.new(1, 0, 0, 24); formTitle.BackgroundColor3 = Color3.fromRGB(24, 24, 28) formTitle.Text = "📐 Forms"; formTitle.TextColor3 = Color3.fromRGB(220, 220, 220) formTitle.Font = Enum.Font.SourceSansBold; formTitle.TextSize = 11; formTitle.Parent = formFrame local formScroll = Instance.new("ScrollingFrame") formScroll.Size = UDim2.new(1, 0, 1, -24); formScroll.Position = UDim2.new(0, 0, 0, 24) formScroll.BackgroundTransparency = 1; formScroll.BorderSizePixel = 0; formScroll.ScrollBarThickness = 3 formScroll.CanvasSize = UDim2.new(0, 0, 0, (#formsList * 26)); formScroll.Parent = formFrame local formLayout = Instance.new("UIListLayout") formLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center; formLayout.Padding = UDim.new(0, 3); formLayout.Parent = formScroll for _, formName in ipairs(formsList) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.92, 0, 0, 22); btn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) btn.Text = formName; btn.TextColor3 = Color3.fromRGB(255, 255, 255); btn.Font = Enum.Font.SourceSansBold; btn.TextSize = 10; btn.Parent = formScroll Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 3) btn.MouseButton1Click:Connect(function() selForm = formName end) end --------------------------------------------- -- 🧰 DRAGGABLE MAIN WINDOW FRAME --------------------------------------------- local mainContainer = Instance.new("Frame") mainContainer.Size = UDim2.new(0, 120, 0, 95) -- Made frame taller for titles mainContainer.Position = UDim2.new(0, 10, 0, 100) mainContainer.BackgroundColor3 = Color3.fromRGB(15, 15, 18) mainContainer.BorderSizePixel = 0 mainContainer.Active = true mainContainer.Draggable = true -- Allows you to hold and drag the window anywhere mainContainer.Parent = screenGui Instance.new("UICorner", mainContainer).CornerRadius = UDim.new(0, 6) -- Subtitle Credit local subLabel = Instance.new("TextLabel") subLabel.Size = UDim2.new(1, 0, 0, 12) subLabel.Position = UDim2.new(0, 0, 0, 4) subLabel.BackgroundTransparency = 1 subLabel.Text = "Made By IUSESCRIPTS_000" subLabel.TextColor3 = Color3.fromRGB(160, 160, 170) subLabel.Font = Enum.Font.SourceSansItalic subLabel.TextSize = 8 subLabel.Parent = mainContainer -- Primary System Title local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 16) titleLabel.Position = UDim2.new(0, 0, 0, 15) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "BUILDING SCRIPT" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 11 titleLabel.Parent = mainContainer local hammerBtn = Instance.new("TextButton") hammerBtn.Size = UDim2.new(0, 45, 0, 45) hammerBtn.Position = UDim2.new(0, 10, 0, 42) -- Shifted buttons down under headers hammerBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) hammerBtn.Text = "🔨"; hammerBtn.TextSize = 20; hammerBtn.Parent = mainContainer Instance.new("UICorner", hammerBtn).CornerRadius = UDim.new(0, 5) local deleteBtn = Instance.new("TextButton") deleteBtn.Size = UDim2.new(0, 45, 0, 45) deleteBtn.Position = UDim2.new(0, 65, 0, 42) -- Shifted buttons down under headers deleteBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) deleteBtn.Text = "💥"; deleteBtn.TextSize = 20; deleteBtn.Parent = mainContainer Instance.new("UICorner", deleteBtn).CornerRadius = UDim.new(0, 5) hammerBtn.MouseButton1Click:Connect(function() if activeTool == "HAMMER" then activeTool = "None" hammerBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) matFrame.Visible = false; formFrame.Visible = false else activeTool = "HAMMER" hammerBtn.BackgroundColor3 = Color3.fromRGB(46, 117, 89) deleteBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) matFrame.Visible = true; formFrame.Visible = true end end) deleteBtn.MouseButton1Click:Connect(function() if activeTool == "DELETE" then activeTool = "None" deleteBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) else activeTool = "DELETE" deleteBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) hammerBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35) matFrame.Visible = false; formFrame.Visible = false end end)