I have a model called “MyModel” that I needed to move around the map without TPing it.
I first tried :SetPrimaryPartCFrame, but sadly, the model was lagging when doing that, so I got that idea out of the way.
I looked up a bit for alternatives, and ended up finding “TweeningService”.
I tried to reproduce examples, but it wouldn’t work. It moved my model, but it also outputted “Argument 3 Missing or Nil”.
Here’s the code I wrote:
wait(5) local TS = game:GetService("TweenService") TS:Create(game.Workspace.Model, TweenInfo.new(5), game.Workspace.Model:SetPrimaryPartCFrame(CFrame.new(Vector3.new(0, 25, 0))))
What’s wrong with this code?
Thanks in advance!