I’m trying to teleport the entire map far away. (I know this is sloppy, I’m new to scripting)
The script:
local Desert = game.Workspace.DesertMap
Desert.Position = Vector3.new(0,0,1000000)
I have a part with the model inside of it because I can’t use .Position on a model to move the map.
Here’s the error:
I’m probably missing something very obvious, but I’m new to scripting.
Use the WeldConstraint object or another non depricated weld object to combine your model. Then set a primary part to the model and use the function model:SetPrimaryPartCFrame(cframe parameter)
Ungroup the whole model, put all parts inside and use some Weld plugins to weld all the parts. I usually use Moon Animator because it have a EasyWeld which supports Motor6D.
local Desert = game.Workspace.DesertMap
Desert.PrimaryPart = Desert.Part -- change it to something else
Desert:SetPrimaryPartCFrame(CFrame.new(0,0,100000))