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
10 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
10 years ago

I hope this completely answers your question.

0
Finally! :D Thank you Prioxis 673 — 10y
0
You're welcome. :D Redbullusa 1580 — 10y
Ad
Log in to vote
1
Answered by 10 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
10 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 — 10y

Answer this question