If i remember correctly there are some tools and entities that allowed for unwelding.
However (and although the title doesn’t clarify this) I am looking for a weapon that unwelds.
I remember a long time ago I had some ninja pack that had a mp5 that when shot at something it unwelded.
If anyone can help me find a weapon (not entity or tool) that unwelds or a way to quickly throw one together (as I have no lua coding experience) it will be greatly appreciated.
The reason I don’t wont a tool or entity is because I want to make an rp class that has unweld capabilities so if it was a tool or entity anyone would be able to use it.
Hmm I don’t think I have seen a weapon like that, the close I could find was the magical un-weld brick, à la War of the Servers, but I can’t find anything like you said, try getting a request in the lua section
To get stuff straight:
Carlise: Single clicking R with the physgun unfreezes the contraption you are aiming at (if it belongs to you)
Double clicking R with the physgun unfreezes everything on the map that belongs to you
Clicking R with the weld tool unwelds the prop you are aiming at from everything (if it belongs to you).
And to oblivioncth
You could try to find the lua code for the weld tool and looking at the code for clicking R.
Alternatively you can make a Builder class that is able to unweld with the weld tool+R.
Edit: There are several Nukes on Gmod.org that unweld (unconstraints more like) everything as the shockwave hits. You can take a look at that too.