Not able to move models

I also thought about to put this post in BugReports let me know if I should put it there!

As you can read from the title, I have difficulties by moving models. I also added a PrimaryPart and a script with this code:

local model = script.Parent
model:PivotTo(CFrame.new(0, 35, 0))

It still doesn’t work. And I also tried to unanchor the parts in the model all but also didn’t work.

2 Likes

To confirm - is this a local script or a server script?
Is there anything else in this program?
Are there any errors?

1 Like

What exactly is the issue you are experiencing, does it not work at all or does it not move how you expect?

We’ll need more information to be able to help you.

The script is a server script located in the model to move.
It is a test place for some models I made, i was trying to build a sliding gate for a car game I made, I was just testing if at first the gate itself moved to later add the rest.
I also thought about adding debug messages but I didn’t because of lack of time and then I forgot to put them, I remembered just now, it’s probably what I’m gonna do next.

And the output gives nothing. This is why I wanted to add debug messages.

And the model doesn’t move.

Check if your script is enabled.

Of course, it is enabled, but the game is running like it would be not enabled

is the model in the same position you are moving it to already?

This script works fine. But, if the part is unanchored It will just drop down until it lands on something. If it’s unanchored with no collision, it will just fall through everything. Possibly it’s being called too fast and not giving the model time to load in.

Can you please do this if you haven’t already

I think I found the possible issue, I forgot to weld the other parts to the PrimaryPart. I am trying this out, and see if it works.

2 Likes

this was the problem, i just forgot to weld the parts

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.