RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create a house with 4 walls and a door."
-- ScripterAI can only help with scripting as of now, so here's a script to create a simple house with 4 walls and a door in Roblox local function createWall(size, position, parent) local wall = Instance.new("Part") wall.Size = size wall.Position = position wall.Anchored = true wall.BrickColor = BrickColor.new("Bright blue") wall.Parent = parent end local house = Instance.new("Model") house.Name = "House" house.Parent = game.Workspace createWall(Vector3.new(10, 5, 1), Vector3.new(0, 2.5, 5), house) -- front wall createWall(Vector3.new(10, 5, 1), Vector3.new(0, 2.5, -5), house) -- back wall createWall(Vector3.new(1, 5, 10), Vector3.new(5, 2.5, 0), house) -- right wall createWall(Vector3.new(1, 5, 8), Vector3.new(-5, 2.5, 2), house) -- left wall (with door gap) local door = Instance.new("Part") door.Size = Vector3.new(1, 5, 2) door.Position = Vector3.new(-5, 2.5, -2) door.Anchored = true door.BrickColor = BrickColor.new("Pastel brown") door.Parent = house -- door