Train now moving even though I have a working moving script

My goal here is to get a train to move from one place to another
Ok so I know the problem, the train won’t move because of it is anchored. But if i unanchor it, it is just going to fall apart. Also, If I go on the track it moves me, but not the train.What should I do? (Moving script below. It is from the train track i made).

script.Parent.Velocity = Vector3.new(-10,0,0)

If you have any question please ask them.

1 Like

I’m no professional in scripting and all… but maybe try to weld the parts together and unanchor them. :sweat_smile:

How do you weld parts? I am new to studio.

Yup like u said, u should weld parts together and unanchor them. For welding use a welding plugin (u will easily find it in plugins shop and then select all parts of the train and click on plugin)

Plugin - this is what i use to weld my parts. :slight_smile:

I also mentioned how to quickly weld parts using the plugin here

Try putting your parts in a union that should fix it!

All of the parts of the train?

yup a union will make all of you parts into one then make it into a group it and should work

Thanks for the help everyone!!!

1 Like

You can insert a welding script into it that automatically welds all parts while anchored then it unanchors. They are plenty of them. I use one called qperfection weld

did the union parts work? :grinning:

Yes it did! Thanks a lot man! (

no problem! :grinning: :grinning: