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

[ SOLVED ] How can I make the models move in workspace?

You know that vector3 cannot be used in models, so I can't make the models move. For example, I want it to be like this:

game.workspace.model.position += vector3.new (0, 0, 5)

3 answers

✓ Accepted answer
for i, v in pairs(workspace.Model:GetChildren()) do
	v.Position = v.Position + Vector3.new(0, 0, 5)
end

Another way to do it is to use CFrame which is more reliant. Firstly click on the model and in the properties there should say set primary click that then selects a part. Then your done

-- change map to your model
local map2 = game.ReplicatedStorage.Map11:Clone()
map2:SetPrimaryPartCFrame(map2:GetPrimaryPartCFrame() * CFrame.new(-850,0,425))

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