How do I make a follow script for a "pet"?

So I’m working on the backbone for a game, but since I’m a beginner scripter, I don’t know how to make this kind of script, I’ve looked at tutorials and they don’t seem to work with the type of rig I’m dealing with. Can anyone help?
Script:

1 Like

I think RocketPropulsion does what you need.
It allows you to set an offset as well.

How would I write a script like this, then?

Assuming all the pet does is follow someone around, all you have to change is the target for the RocketPropulsion.

Alright, thanks man for the help!

You may also need BodyGyro, as RocketPropulsion tends to rotate quite a bit.