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

How do you move a model?

Asked by
Prioxis 673 Moderation Voter
9 years ago

I want to be able to clone and move a model from the Lighting and i've tried :MoveTo, CFrame.new but non of them work how would someone do that

I don't have a script

3 answers

Log in to vote
1
Answered by
Redbullusa 1580 Moderation Voter
9 years ago

I hope this completely answers your question.

0
Finally! :D Thank you Prioxis 673 — 9y
0
You're welcome. :D Redbullusa 1580 — 9y
Ad
Log in to vote
1
Answered by 9 years ago

You can use MoveTo, TranslateBy, or SetPrimaryPartCFrame.

local model=script.Parent
model:MoveTo(Vector3.new(0,0,0))
local model=script.Parent
model:TranslateBy(Vector3.new(0,0,0))
local model=script.Parent
model:SetPrimaryPartCFrame(CFrame.new(0,0,0))
Log in to vote
-2
Answered by
Irvene 5
9 years ago
game.Lighting.ModelName:Clone()
Modelname.Parent = game.Workspace
0
this doesn't teach me how to literally change the models entire position -_- thats what i'm looking for Prioxis 673 — 9y

Answer this question