864 ratings
Unbreakable Tool
Type: Tool, Addon
Tags: Misc
File Size:
0.001 MB
Dec 1, 2012 @ 7:23pm
Dec 4, 2013 @ 8:38am
10 change notes ( view )

Subscribe to download Unbreakable Tool

In 2 collections by XxWestKillzXx
The Official N.I.S. Server Collection
134 items
N.I.S. Official Server Collection Lite
60 items
Ever want to build something out of boxes with out them breaking? Or want to use wood furniture from HL2 and not have it break? Well now you can! With this simple tool. Just left click on a prop and it will make any prop unbreakable :D

It should also work on multiplayer and please rate and favourite it.

700 Ratings!!!! Such Happiness!

Originally found on www.garrysmod.org I just wanted to upload and fix it since I haven't seen a tool like it on the workshop. I may just be going blind.
It was originally created by Chaussette. If the original creator asks for this to be taken down I will remove it.
< >
XxWestKillzXx  [author] Jun 20 @ 8:30am 
To quote myself "I barely know anything about Lua"
THA | iהƒerהo≈ƒox 火 Jun 20 @ 7:25am 
Once again, a simple duplicator state save support would be apreciated. :P
XxWestKillzXx  [author] Jun 20 @ 3:59am 
Make persistent does not make things unbreakable.
[Wall SK] Sausagesauce Jun 20 @ 3:42am 
Make persistent also makes the object immune to the physgun, which can be undesired at times.
AgentFuse Jun 10 @ 6:02pm 
This is already in the game :/ it's in the Propteties when you hover over it. Its "Make Persistent"
Great mod, use it all the time. One thing missing though that would make it better is Advanced Duplicator support. :)
[IPH][QG][FUR] wtfbomb153 May 18 @ 1:56pm 
This doesn't work on css props :( Atleast not the windows
Mornedil May 12 @ 10:06am 
I looked at the original tool..
Near the top:
hook.Add( "PlayerInitialSpawn", "Unbreakable_PlayerInitialSpawn", PlayerInitialSpawn )

And in that function, it creates a damage filter, then this:
hook.Remove( "PlayerInitialSpawn", "Unbreakable_PlayerInitialSpawn" )

I guess that when the map is cleared, the damage filter entity is removed.

Try commenting out the hook.remove line byt typing // in front of it, and see if that fixes the tool (go to utilities/admin/cleanup and cleanup map).. But I suggest not updating the tool with that because idk if there will be a problem if the hook isn't removed. just to test if that's the problem.

Maybe there is a lua command that checks if the map is cleaned? If there is, use that command to add the hook once again in case map is cleared (copy paste the hook.add).
just make sure it isn't run duplicate times, idk if that would cause a problem.

... But like I said, I'm a Lua noob, although I understand basic programming.
XxWestKillzXx  [author] May 12 @ 9:43am 
If you do learn anything to help this tool please speak to me.
Mornedil May 12 @ 8:53am 
Lol I should slap myself for always assuming people make what they upload :p.
I'm interesting in learning Lua (I know some other languages), so I might take a look at the original tool sometime