Making a move tool that replicates Studio's move tool?

ahhh ninja’d again.

First, the code you’ve been given won’t work with your current setup. Handles only function when they are descendants of a players PlayerGui or the CoreGui. You will need to put the handle in startergui, set the adornee to the part, and put the script inside the handle.

Second, to check if a part will be exiting the bounds, you will want to get the positions of each corner, using the parts size and manipulating its cframe, then convert that into a position. You will need two vector3’s for the bounds, and will need to check if each corners position is within those bounds by comparing the X,Y and Z values to the values of the bounds.

Oh also @emperormicah your solutiion for the to much dragging didnt work.

So the X Y And Z should match the X Y Z of the corner parts, and is this for each corner part?

Also it is in starter gui

You don’t need corner parts, only positions.

Okay

There is nothing wrong with the script, you need to add your own reference to the handles instance. This is normally assumed. Here it is setup for you. Baseplate.rbxl (13.3 KB)

1 Like

that does it all?

No that does what I coded in my first post on this thread. You should try to do the rest.

Alright, and it moves properly?