How to make the glue system from Cart ride around a 75KW Diesel generator, becouse my buddies are trying to make a game like it.
You would need a tool, upon activating a tool, you capture the mouse hit position, cast a sphere with desired radius in that position to check for parts. If there are 2 or more parts, then create a glooplet in the same position as you captured before, and connect said glooplet to parts in the radius of it with weld constraints. If there are 0 or 1 parts in radius, then do nothing.
For all of this you would have to probably learn remote events, since you’d have to get position from the local script, but to get the parts in radius or place a glooplet you would have to use server script (or regular script). You would also have to separate map parts from parts you want to glue, otherwise you could glue parts to map unintentionally.
There are probably much more details, considering that glue is not only used to connect parts, but also wire them. I don’t know how to do that, so I will stop here.