create

Creates a instance of the given type with the given properties

modules.create(type: string, properties: { [string]: any })

Parameters

  • type: What you want to create (e.g Part)

  • properties: The given properties


Example

local new_part = modules.create("Part",{
    Parent = workspace,
    CFrame = CFrame.new(20,20,20)
})

Last updated