o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
make a roblox script i can paste into the command line that builds a space shuttle
- User
make a roblox script i can paste into the command line that builds a space shuttle
- Assistant
make a roblox script i can paste into the command line that builds a space shuttle
Certainly! Here's a Roblox script that you can paste into the Command Line to build a simple space shuttle in your game. This script creates various parts and assembles them to form a basic space shuttle model.
-- Create a new Model to hold the shuttle parts
local shuttle = Instance.new("Model")
shuttle.Name = "SpaceShuttle"
shuttle.Parent = workspace
-- Main Body of the Shuttle
local body = Instance.new("Part")
body.Name = "Body"
body.Size = Vector3.new(4, 20, 4)
body.Position = Vector3.new(0, 10, 0)
body.Anchored = true
body.BrickColor = BrickColor.new("Institutional white")
body.Parent = shuttle
-- Nose Cone
local noseCone = Instance.new("WedgePart")
noseCone.Name = "NoseCone"
noseCone.Size = Vector3.new(4, 4, 4)
noseCone.Position = Vector3.new(0, 22, 0)
noseCone.Anchored = true
noseCone.BrickColor = BrickColor.new("Institutional white")
noseCone.Orientation = Vector3.new(0, 0, 180)
noseCone.Parent = shuttle
-- Left Wing
local leftWing = Instance.new("WedgePart")
leftWing.Name = "LeftWing"
leftWing.Size = Vector3.new(8, 0.5, 4)
leftWing.Position = Vector3.new(-6, 5, 0)
leftWing.Anchored = true
leftWing.BrickColor = BrickColor.new("Institutional white")
leftWing.Orientation = Vector3.new(0, 0, 90)
leftWing.Parent = shuttle
-- Right Wing
local rightWing = leftWing:Clone()
rightWing.Name = "RightWing"
rightWing.Position = Vector3.new(6, 5, 0)
rightWing.Orientation = Vector3.new(0, 0, -90)
rightWing.Parent = shuttle
-- Tail Fin
local tailFin = Instance.new("WedgePart")
tailFin.Name = "TailFin"
tailFin.Size = Vector3.new(0.5, 6, 4)
tailFin.Position = Vector3.new(0, 16, -2)
tailFin.Anchored = true
tailFin.BrickColor = BrickColor.new("Institutional white")
tailFin.Orientation = Vector3.new(0, 0, 0)
tailFin.Parent = shuttle
-- Engine
local engine = Instance.new("CylinderMesh")
local enginePart = Instance.new("Part")
enginePart.Name = "Engine"
enginePart.Size = Vector3.new(2, 2, 2)
enginePart.Position = Vector3.new(0, 1, 2)
enginePart.Anchored = true
enginePart.BrickColor = BrickColor.new("Really black")
enginePart.Parent = shuttle
engine.Parent = enginePart
enginePart.Orientation = Vector3.new(0, 0, 90)
-- Additional Engines (Optional)
for i = -1, 1, 2 do
local sideEngine = enginePart:Clone()
sideEngine.Position = Vector3.new(i * 2, 1, 2)
sideEngine.Parent = shuttle
end
Instructions:
The script will create a new model named "SpaceShuttle" in the Workspace, consisting of the main body, nose cone, wings, tail fin, and engines.
Explanation of the Script:
SpaceShuttle is created to group all the shuttle parts together.Customize Your Shuttle:
BrickColor.new("ColorName") to any color you like.Size property of each part to change dimensions.Position property to move parts around.Part types like CylinderMesh, Sphere, or SpecialMesh for variety.Tips:
Enjoy your new space shuttle!
Not yet included in a published release.