-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- FORGEX V2 -- Put this in a LocalScript inside StarterPlayerScripts -- Prototype game-builder interface + local build system local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local CollectionService = game:GetService("CollectionService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -------------------------------------------------- -- CONFIG -------------------------------------------------- local FORGE_NAME = "ForgeX v2" -------------------------------------------------- -- GUI -------------------------------------------------- local gui = Instance.new("ScreenGui") gui.Name = "ForgeX_v2" gui.ResetOnSpawn = false gui.Parent = playerGui local main = Instance.new("Frame") main.Size = UDim2.new(0, 430, 0, 500) main.Position = UDim2.new(0.5, -215, 0.5, -250) main.BackgroundColor3 = Color3.fromRGB(18, 18, 24) main.BorderSizePixel = 0 main.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 14) corner.Parent = main local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -50, 0, 55) title.Position = UDim2.new(0, 20, 0, 5) title.BackgroundTransparency = 1 title.Text = FORGE_NAME title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 25 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = main local close = Instance.new("TextButton") close.Size = UDim2.new(0, 35, 0, 35) close.Position = UDim2.new(1, -45, 0, 10) close.Text = "×" close.TextSize = 25 close.TextColor3 = Color3.fromRGB(255, 255, 255) close.BackgroundColor3 = Color3.fromRGB(40, 40, 50) close.Parent = main Instance.new("UICorner", close).CornerRadius = UDim.new(0, 8) close.MouseButton1Click:Connect(function() main.Visible = false end) local prompt = Instance.new("TextBox") prompt.Size = UDim2.new(1, -40, 0, 150) prompt.Position = UDim2.new(0, 20, 0, 70) prompt.BackgroundColor3 = Color3.fromRGB(28, 28, 38) prompt.TextColor3 = Color3.fromRGB(255, 255, 255) prompt.PlaceholderColor3 = Color3.fromRGB(150, 150, 160) prompt.PlaceholderText = "Describe the game or object you want ForgeX to build..." prompt.Text = "" prompt.TextSize = 17 prompt.Font = Enum.Font.Gotham prompt.TextWrapped = true prompt.TextXAlignment = Enum.TextXAlignment.Left prompt.TextYAlignment = Enum.TextYAlignment.Top prompt.ClearTextOnFocus = false prompt.MultiLine = true prompt.Parent = main Instance.new("UICorner", prompt).CornerRadius = UDim.new(0, 10) local buildButton = Instance.new("TextButton") buildButton.Size = UDim2.new(1, -40, 0, 50) buildButton.Position = UDim2.new(0, 20, 0, 235) buildButton.BackgroundColor3 = Color3.fromRGB(70, 110, 255) buildButton.Text = "⚡ BUILD WITH FORGEX" buildButton.TextColor3 = Color3.fromRGB(255, 255, 255) buildButton.TextSize = 17 buildButton.Font = Enum.Font.GothamBold buildButton.Parent = main Instance.new("UICorner", buildButton).CornerRadius = UDim.new(0, 10) local status = Instance.new("TextLabel") status.Size = UDim2.new(1, -40, 0, 35) status.Position = UDim2.new(0, 20, 0, 300) status.BackgroundTransparency = 1 status.Text = "Ready." status.TextColor3 = Color3.fromRGB(190, 190, 200) status.TextSize = 15 status.Font = Enum.Font.Gotham status.TextXAlignment = Enum.TextXAlignment.Left status.Parent = main local progressBack = Instance.new("Frame") progressBack.Size = UDim2.new(1, -40, 0, 14) progressBack.Position = UDim2.new(0, 20, 0, 340) progressBack.BackgroundColor3 = Color3.fromRGB(40, 40, 50) progressBack.Parent = main Instance.new("UICorner", progressBack).CornerRadius = UDim.new(1, 0) local progress = Instance.new("Frame") progress.Size = UDim2.new(0, 0, 1, 0) progress.BackgroundColor3 = Color3.fromRGB(80, 140, 255) progress.Parent = progressBack Instance.new("UICorner", progress).CornerRadius = UDim.new(1, 0) local percentage = Instance.new("TextLabel") percentage.Size = UDim2.new(1, -40, 0, 30) percentage.Position = UDim2.new(0, 20, 0, 365) percentage.BackgroundTransparency = 1 percentage.Text = "0%" percentage.TextColor3 = Color3.fromRGB(255, 255, 255) percentage.TextSize = 14 percentage.Font = Enum.Font.GothamBold percentage.TextXAlignment = Enum.TextXAlignment.Right percentage.Parent = main local log = Instance.new("TextLabel") log.Size = UDim2.new(1, -40, 0, 85) log.Position = UDim2.new(0, 20, 0, 400) log.BackgroundColor3 = Color3.fromRGB(25, 25, 33) log.TextColor3 = Color3.fromRGB(170, 220, 255) log.Text = "ForgeX ready.\nWaiting for a build request..." log.TextSize = 13 log.Font = Enum.Font.Code log.TextXAlignment = Enum.TextXAlignment.Left log.TextYAlignment = Enum.TextYAlignment.Top log.Parent = main Instance.new("UICorner", log).CornerRadius = UDim.new(0, 8) -------------------------------------------------- -- BUILD FOLDER -------------------------------------------------- local buildFolder = workspace:FindFirstChild("ForgeX_Build") if not buildFolder then buildFolder = Instance.new("Folder") buildFolder.Name = "ForgeX_Build" buildFolder.Parent = workspace end -------------------------------------------------- -- HELPERS -------------------------------------------------- local function createPart(name, position, size, material) local part = Instance.new("Part") part.Name = name part.Position = position part.Size = size part.Anchored = true part.Material = material or Enum.Material.Plastic part.Parent = buildFolder return part end local function setProgress(value, text) progress.Size = UDim2.new(value / 100, 0, 1, 0) percentage.Text = math.floor(value) .. "%" status.Text = text end local function addLog(text) log.Text = log.Text .. "\n" .. text end -------------------------------------------------- -- KILL BRICK -------------------------------------------------- local function createKillBrick(position) local brick = createPart( "KillBrick", position, Vector3.new(12, 1, 12), Enum.Material.Neon ) brick.Touched:Connect(function(hit) local character = hit.Parent if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end end) return brick end -------------------------------------------------- -- FARM -------------------------------------------------- local function createFarm() addLog("Creating farm terrain...") local ground = createPart( "FarmGround", Vector3.new(0, -1, 0), Vector3.new(120, 2, 120), Enum.Material.Grass ) for x = -40, 40, 20 do local field = createPart( "CropField", Vector3.new(x, 0, 0), Vector3.new(14, 1, 55), Enum.Material.Ground ) end -- Barn local barn = createPart( "Barn", Vector3.new(0, 10, -40), Vector3.new(25, 20, 25), Enum.Material.Wood ) -- Fence for x = -55, 55, 10 do createPart( "Fence", Vector3.new(x, 3, 45), Vector3.new(7, 6, 1), Enum.Material.Wood ) end addLog("Farm created.") return ground end -------------------------------------------------- -- TOWER -------------------------------------------------- local function createTower(position, height) local tower = createPart( "SwingableTower", position + Vector3.new(0, height / 2, 0), Vector3.new(10, height, 10), Enum.Material.Metal ) CollectionService:AddTag(tower, "Swingable") local point = Instance.new("Attachment") point.Name = "SwingPoint" point.Position = Vector3.new(0, height / 2, 0) point.Parent = tower return tower end local function createTowers() addLog("Creating towers...") for i = 1, 5 do createTower( Vector3.new((i - 3) * 25, 0, 25), 30 + i * 5 ) end addLog("Towers created.") end -------------------------------------------------- -- SWING SYSTEM -------------------------------------------------- local function setupSwingSystem() addLog("Installing swing system...") local swingRemote = ReplicatedStorage:FindFirstChild("