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

How do you change the positon of a model?

I just realized that i cant move models,just parts, so i could ungrop all the 6 part and move them individualy, but i dont want to do that, soo...

How i move a Model?

i use this for parts:

for i = 1,50 do
		Robloxian.Position += Vector3.new(0,1,0)
		wait(0.001)
	    end

what for models?

1 answer

ok.. so i found out..

  for i = 1,50 do
		Robloxian:SetPrimaryPartCFrame(primaryPart.CFrame + Vector3.new(0,1,0))
		wait(0.001)
	end

i got the solution from: https://youtu.be/Pp14Qi1vi20

1 comment

0

use PivotTo SetPrimaryPartCFrame is deprecated

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