Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to make a 'Model' move his position?

Asked by 5 years ago
Edited 5 years ago

Well, my question is, is it possible to make a Model move his position. Can u use something like :TweenPosition() or something else?

EDIT: I need this to learn, cause I want to make something like upgrading, from Ruins to Final Object so I think, can I make an model of Ruins and put an Invisible wall, so when player Enters it requires sticks or rocks to finish it, and when you have enough materials you can upgrade that building, but I am not requesting you to make this all, I'm just asking is there way that you can do to move model from its current position! Im sorry for my bad english!

3 answers

Log in to vote
1
Answered by 5 years ago

yes, just simply type

Model:MoveTo(Vector3.new(POSITION))
Ad
Log in to vote
0
Answered by 5 years ago

--make sure there's a function or Roblox will do it the second the game start Model.Position = Vector3.new(0, 0, 0) --this should work

0
noobproplayz1, a model does not have a position, attempt to use the :MoveTo() function. xXAnimeIsRealLolXx 24 — 5y
Log in to vote
0
Answered by
RootEntry 111
5 years ago

You can apply a primarypart for the model, then do this script:

model:SetPrimaryPartCFrame(CFrame.new(0,0,0))

Answer this question