of     1   

LegendaryAdmiral
#140976915Sunday, July 20, 2014 8:10 PM GMT

Ok, so I've got a script that should create an infinite amount of bricks that are spaced by 5 studs each time, this works with basic parts but when i try to use models, (i.e insertservice) things start to break Distance1 = 5 --The axes for Vector3 Distance2 = 0 Distance3 = 0 while true do game:GetService("InsertService"):LoadAsset(167396124).Parent = game.Workspace -- Creates the model (game.Workspace should be ^^, forums :/) Game.Workspace.Model.Name = ("Brick") --Declares model name local Brick = Game.Workspace.Brick -- Declares variable brick Brick.Position = Vector3.new(Distance1, Distance2, Distance3) -- breaks -here print (Vector3.x) -- Returns nil for all print (Vector3.y) print (Vector3.z) wait(1) Distance1 = Distance1 + 5 -- Makes sure each brick is 5 studs away each time end
bibo5o
#140977032Sunday, July 20, 2014 8:12 PM GMT

Position isn't a member of a model, you'd need to set the position of every part.
LegendaryAdmiral
#140977585Sunday, July 20, 2014 8:18 PM GMT

Like this? Distance1 = 5 Distance2 = 0 Distance3 = 0 while true do game:GetService("InsertService"):LoadAsset(167396124).Parent = game.Workspace Game.Workspace.Model.Part.Position = Vector3.new(Distance1, Distance2, Distance3) print (Vector3.x) print (Vector3.y) print (Vector3.z) wait(1) Distance1 = Distance1 + 5 end "21:17:15.403 - Part is not a valid member of Part"
LegendaryAdmiral
#140977837Sunday, July 20, 2014 8:21 PM GMT

Oh no, fine now

    of     1