Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a part through a script?

I know there is a script for it, but I dont know what it is.

2 answers

✓ Accepted answer

Most objects can be inserted into the game by calling

Instance.new(ObjectName, Parent)

To insert a part, you would use the following:

Instance.new("Part", game.Workspace)

This would insert a Part into Workspace.

3 comments

0

That was it. Thanks!

0

Correction: Not ANY object, but most.

0

Thanks @CrazyKilla15

There is 2 ways:

Instance.new("Part", Workspace )

or

a = Instance.new("Part")
a.Parent = Workspace
a.Name = "ThisIsAPart"

This discussion is preserved as it was. New answers, comments, and votes are closed.