This addon is so shitty all you have to do is remove the swep bits and you can kill any and everyone with it. Make this shit a lua file and load it in. Here's the server I found it on, it's pretty popular and the admins freak the fuck out when you troll with it. 192.223.26.79:27015
Code:
concommand.Add("lolm80", deathnote)
function deathnote()
local DeathNote = vgui.Create( "DFrame" )
DeathNote:SetSize( 400, 400 )
DeathNote:Center()
DeathNote:SetBackgroundBlur( true )
DeathNote:SetTitle( "Death-Note" )
DeathNote:SetVisible( true )
DeathNote:SetDraggable( false )
DeathNote:ShowCloseButton( true )
DeathNote:MakePopup()
local DeathnoteSheet = vgui.Create( "DPropertySheet" )
DeathnoteSheet:SetParent( DeathNote )
DeathnoteSheet:SetPos( 0, 22 )
DeathnoteSheet:SetSize( 400, 378 )
local DeathNotePlayerList = vgui.Create("DListView")
DeathNotePlayerList:SetPos(0, 22)
DeathNotePlayerList:SetSize(300, 300)
DeathNotePlayerList:SetMultiSelect(false)
DeathNotePlayerList:AddColumn("Name") -- Add column
-- DeathNotePlayerList:AddColumn("ID")
DeathNotePlayerList:AddColumn("Amount of Deaths")
for k,v in pairs(player.GetAll()) do
DeathNotePlayerList:AddLine(v:Nick(),v:Deaths(),v:EntIndex()) -- Add lines
end
DeathNotePlayerList.OnClickLine = function(parent, line, isselected)
net.Start( "pName" )
net.WriteString(line:GetValue(3))
net.SendToServer()
DeathNote:Close()
end
local LifeNotePlayerList = vgui.Create("DListView")
LifeNotePlayerList:SetPos(0, 22)
LifeNotePlayerList:SetSize(300, 300)
LifeNotePlayerList:SetMultiSelect(false)
LifeNotePlayerList:AddColumn("Name") -- Add column
-- LifeNotePlayerList:AddColumn("ID")
LifeNotePlayerList:AddColumn("Amount of Deaths")
for k,v in pairs(player.GetAll()) do
LifeNotePlayerList:AddLine(v:Nick(),v:Deaths(),v:EntIndex()) -- Add lines
end
LifeNotePlayerList.OnClickLine = function(parent, line, isselected)
net.Start( "pName1" )
net.WriteString(line:GetValue(3))
net.SendToServer()
DeathNote:Close()
end
local DNInfo = vgui.Create("DPanel")
DNInfo:SetSize(300, 300)
DNInfo:SetPos(10, 31)
local DNText = vgui.Create("DLabel")
DNText:SetParent(DNInfo)
DNText:SetPos(15, 15)
DNText:SetText([[Death Note Info:
This SWEP is made for multiplayer servers,
The idea of the Death Note came from the actual Death Note show.
While Life Note come from Smosh.
This SWEP was made by Bluey and Rowan.
The model is made by FluxMage (GarrysMod.org)
With help from the SWEP Construction Kit for the view and world model.
DeathNote Usage:
General Version
- A 5 seconds wait for the target to die.
- You can also use it to kill npcs (No Wait)
TTT Version
- A 15 seconds wait for the target to die
- A chance killing system the system rolls two dice (doubles requried).
- You can not kill npcs
]])
DNText:SizeToContents()
DNText:SetTextColor(Color(0, 0, 0, 255))
local Workshop = vgui.Create( "DButton" )
Workshop:SetParent(DNInfo)
Workshop:SetSize( 90, 30 )
Workshop:SetPos( 5, 271 )
Workshop:SetText( "Workshop Item" )
Workshop.DoClick = function( button )
gui.OpenURL("http://steamcommunity.com/sharedfiles/filedetails/?id=278185787&searchtext=")
end
local LNIdea = vgui.Create( "DButton" )
LNIdea:SetParent(DNInfo)
LNIdea:SetSize( 90, 30 )
LNIdea:SetPos( 5, 306 )
LNIdea:SetText( "Life Note Idea" )
LNIdea.DoClick = function( button )
gui.OpenURL("https://www.youtube.com/watch?v=mtODX-055g8")
end
local SWEPConstructionKit = vgui.Create( "DButton" )
SWEPConstructionKit:SetParent(DNInfo)
SWEPConstructionKit:SetSize( 120, 30 )
SWEPConstructionKit:SetPos( 100, 306 )
SWEPConstructionKit:SetText( "SWEP Construction Kit" )
SWEPConstructionKit.DoClick = function( button )
gui.OpenURL("http://steamcommunity.com/sharedfiles/filedetails/?id=109724869&requirelogin=true")
end
local Skyline = vgui.Create( "DButton" )
Skyline:SetParent(DNInfo)
Skyline:SetSize( 120, 30 )
Skyline:SetPos( 100, 271 )
Skyline:SetText( "Skyline Group" )
Skyline.DoClick = function( button )
gui.OpenURL("http://skylinegaming.*********.com/")
end
local DNButton = vgui.Create( "DButton" )
DNButton:SetParent(DNInfo)
DNButton:SetSize( 90, 30 )
DNButton:SetPos( 225, 306 )
DNButton:SetText( "DeathNote Model" )
DNButton.DoClick = function( button )
gui.OpenURL("http://www.garrysmod.org/downloads/?a=view&id=40399")
end
DeathnoteSheet:AddSheet( "DeathNote", DeathNotePlayerList, "materials/VGUI/icon/skull.png", false, false, "The notes of Death" )
DeathnoteSheet:AddSheet( "LifeNote", LifeNotePlayerList, "materials/VGUI/icon/heart.png", false, false, "The notes of Alive" )
DeathnoteSheet:AddSheet( "DeathNote Info", DNInfo, "materials/VGUI/icon/info.png", false, false, "" )
end
usermessage.Hook("deathnote", deathnote)