|
| 01 May 2017 08:06 AM |
Everything in the script works, but I want the item to spawn in a specific location. How would I be able to achieve that by using the location of an existing part to place the item there? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 01 May 2017 08:20 AM |
| @already How would I achieve that? local assetId = ######### ########################################################## = game.Workspace.SpawnPart |
|
|
| Report Abuse |
|
|
|
| 01 May 2017 08:21 AM |
local assetId = id game:GetService("InsertService"):LoadAsset(assetId).Parent = game.Workspace.SpawnPart |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 01 May 2017 08:43 AM |
local assetId = id game:GetService("InsertService"):LoadAsset(assetId).Parent = game.Workspace.SpawnPart You didn't declare what the loaded asset was, so obviously you can't move to. game:GetService("InsertService") local assetId = id local asset = game:GetService("InsertService"):LoadAsset(assetId) asset.Parent = game.Workspace.SpawnPart asset:MoveTo(Vector3.new(x,y,z))
#code print("This is a siggy.") |
|
|
| Report Abuse |
|
|