Advertisement
LunaScripts

PRiZM Release

Jul 6th, 2016
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.29 KB | None | 0 0
  1. local version = 2.4
  2. local build = "Public"
  3. MsgN("")
  4. MsgN("")
  5. MsgN("")
  6. MsgC (Color( 0, 182, 255 ), [[
  7. ===============================================
  8.  
  9. /+$$$$$$ /$$$$$$$ /$$ /$$$$$$$$ /$$ /$$
  10. | $$__ $$| $$__ $$|__/|_____ $$ | $$$ /$$$
  11. | $$ \ $$| $$ \ $$ /$$ /$$/ | $$$$ /$$$$
  12. | $$$$$$$/| $$$$$$$/| $$ /$$/ | $$ $$/$$ $$
  13. | $$____/ | $$__ $$| $$ /$$/ | $$ $$$| $$
  14. | $$ | $$ \ $$| $$ /$$/ | $$\ $ | $$
  15. | $$ | $$ | $$| $$ /$$$$$$$$| $$ \/ | $$
  16. |__/ |__/ |__/|__/|________/|__/ |__/
  17.  
  18. Made by Kiddy
  19. ===============================================
  20.  
  21. ]])
  22.  
  23. MsgC (Color(0, 182, 255), [[
  24. To open the menu, type prizm_menu.
  25. To open the in game browser, type prizm_web
  26.  
  27. ===============================================
  28. ]])
  29.  
  30. MsgN("")
  31. MsgN("")
  32. MsgN("")
  33.  
  34. --[Locals]--
  35. local v = player.GetAll()
  36. local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
  37. local ply = LocalPlayer()
  38.  
  39. CreateClientConVar( "prizm_esp_glow", "0", false, false )
  40. CreateClientConVar( "prizm_esp_r", "0", false, false )
  41. CreateClientConVar( "prizm_esp_g", "187", false, false )
  42. CreateClientConVar( "prizm_esp_b", "255", false, false )
  43. CreateClientConVar( "prizm_esp_s", "1", false, false )
  44. CreateClientConVar( "prizm_chams_r", "0", false, false )
  45. CreateClientConVar( "prizm_chams_g", "182", false, false )
  46. CreateClientConVar( "prizm_chams_b", "255", false, false )
  47. CreateClientConVar( "prizm_box_style", "0", false, false )
  48. hook.Add("CalcView", "FOV", sFOV)
  49.  
  50.  
  51. Vars = {
  52. ["fov"] = fov,
  53. }
  54.  
  55. --[Main Menu]--
  56. concommand.Add( "prizm_menu", function()
  57.  
  58. surface.PlaySound ( "items/ammocrate_open.wav" )
  59.  
  60. local Frame = vgui.Create( "DFrame" )
  61. Frame:SetSize( 650, 530 )
  62. Frame:SetTitle( "" )
  63. Frame:SetVisible( true )
  64. Frame:SetDraggable( false )
  65. Frame:ShowCloseButton( false )
  66. Frame:MakePopup()
  67. Frame:Center()
  68. Frame:SetBackgroundBlur( 999 )
  69. Frame.Paint = function(s, w, h)
  70. local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
  71.  
  72. draw.RoundedBox(5,00,0,w,h,Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
  73. draw.RoundedBox(5,2,2,w-4,h-4,Color(75, 75, 75, 255))
  74. draw.SimpleText( "PRiZM", "DermaDefault", w/2, 11, Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  75. draw.SimpleText( "Ping: "..LocalPlayer():Ping(), "DermaDefault", 10, 2, Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  76. end
  77.  
  78. local DComboBox = vgui.Create( "DComboBox", Frame )
  79. DComboBox:SetPos( 455, 77 )
  80. DComboBox:SetSize( 130, 20 )
  81. DComboBox:SetValue( "Spam Text" )
  82. DComboBox:AddChoice( "Git Gud, Git PRiZM" )
  83. DComboBox:AddChoice( "This server is 10/10 cancer" )
  84. DComboBox:AddChoice( "WOW, You're bad" )
  85. DComboBox:AddChoice( "You're a horrible minge" )
  86. DComboBox:AddChoice( "Oh really ( ͡° ͜ʖ ͡°)" )
  87. DComboBox:AddChoice( "stfu Kid" )
  88. DComboBox:AddChoice( "hisssssss" )
  89. DComboBox:AddChoice( "Your memes are shit" )
  90. DComboBox:AddChoice( "spam.exe has stopped working" )
  91. DComboBox:AddChoice( "ƒancy as ƒuck" )
  92. DComboBox.OnSelect = function( panel, index, value )
  93. hook.Add("HUDPaint", "spamer", function()
  94. if GetConVarNumber("prizm_spam") != 1 then return end
  95. RunConsoleCommand("say", value.." ["..math.Round(math.Rand(0,100)).."]")
  96. end)
  97. end
  98.  
  99. local changelog = vgui.Create("DButton")
  100. changelog:SetParent(Frame)
  101. changelog:SetText("Changelog")
  102. changelog:SetSize(60, 18)
  103. changelog:SetPos(Frame:GetWide() - changelog:GetWide() - 1,510)
  104. changelog.DoClick = function ()
  105. --[changelog]-
  106. Derma_Message( " \n-Added icons\n-Added chat spammer\n-Added flipview, which makes the view upside down. idk what it can be used for but I decided to keep it.", "Changelog (last updated 7/6/16)", "Okay!" )
  107. surface.PlaySound ("Friends/message.wav")
  108. Frame:Close()
  109. end
  110. function changelog.Paint()
  111. draw.RoundedBox(4, 0, 0, changelog:GetWide(), changelog:GetTall(), Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
  112. end
  113.  
  114. local cBtn = vgui.Create("DButton")
  115. cBtn:SetParent(Frame)
  116. cBtn:SetText("X")
  117. cBtn:SetSize(20, 18)
  118. cBtn:SetPos(Frame:GetWide() - cBtn:GetWide() - 2, 2)
  119. cBtn.DoClick = function ()
  120. surface.PlaySound ( "items/ammocrate_close.wav" )
  121. Frame:Close()
  122. end
  123. function cBtn.Paint()
  124. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
  125. end
  126.  
  127. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  128. DermaCheckbox:SetParent( Frame )
  129. DermaCheckbox:SetPos( 10, 60 )
  130. DermaCheckbox:SetText( "Glow (Lags)" )
  131. DermaCheckbox:SetConVar( "prizm_esp_glow" )
  132.  
  133. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  134. DermaCheckbox:SetParent( Frame )
  135. DermaCheckbox:SetPos( 10, 80 )
  136. DermaCheckbox:SetText( "Chams" )
  137. DermaCheckbox:SetConVar( "prizm_esp_chams" )
  138.  
  139. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  140. DermaCheckbox:SetParent( Frame )
  141. DermaCheckbox:SetPos( 10, 100 )
  142. DermaCheckbox:SetText( "Name" )
  143. DermaCheckbox:SetConVar( "prizm_esp_text" )
  144.  
  145. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  146. DermaCheckbox:SetParent( Frame )
  147. DermaCheckbox:SetPos( 10, 120 )
  148. DermaCheckbox:SetText( "Health" )
  149. DermaCheckbox:SetConVar( "prizm_esp_text_health" )
  150.  
  151. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  152. DermaCheckbox:SetParent( Frame )
  153. DermaCheckbox:SetPos( 10, 140 )
  154. DermaCheckbox:SetText( "Rank" )
  155. DermaCheckbox:SetConVar( "prizm_esp_text_rank" )
  156.  
  157. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  158. DermaCheckbox:SetParent( Frame )
  159. DermaCheckbox:SetPos( 10, 160 )
  160. DermaCheckbox:SetText( "Distance" )
  161. DermaCheckbox:SetConVar( "prizm_esp_text_dist" )
  162.  
  163. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  164. DermaCheckbox:SetParent( Frame )
  165. DermaCheckbox:SetPos( 10, 180 )
  166. DermaCheckbox:SetText( "Box" )
  167. DermaCheckbox:SetConVar( "prizm_esp_box" )
  168.  
  169. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  170. DermaCheckbox:SetParent( Frame )
  171. DermaCheckbox:SetPos( 180, 62 )
  172. DermaCheckbox:SetText( "Full Box" )
  173. DermaCheckbox:SetConVar( "prizm_box_style" )
  174.  
  175. local DLabel = vgui.Create( "DLabel", Frame )
  176. DLabel:SetPos( 40, 45 )
  177. DLabel:SetSize( 730, 10 )
  178. DLabel:SetText( "ESP" )
  179. DermaImage = vgui.Create( "DImageButton", DermaPanel )
  180. DermaImage:SetParent( Frame )
  181. DermaImage:SetPos( 40, 30 )
  182. DermaImage:SetImage( "icon16/eye.png" )
  183. DermaImage:SizeToContents()
  184.  
  185. local DLabel = vgui.Create( "DLabel", Frame )
  186. DLabel:SetPos( 290, 370 )
  187. DLabel:SetSize( 730, 15 )
  188. DLabel:SetText( "Settings" )
  189. DermaImage = vgui.Create( "DImageButton", DermaPanel )
  190. DermaImage:SetParent( Frame )
  191. DermaImage:SetPos( 300, 350 )
  192. DermaImage:SetImage( "icon16/cog_add.png" )
  193. DermaImage:SizeToContents()
  194.  
  195. local DLabel = vgui.Create( "DLabel", Frame )
  196. DLabel:SetPos( 400, 45 )
  197. DLabel:SetSize( 730, 10 )
  198. DLabel:SetText( "Misc" )
  199. DermaImage = vgui.Create( "DImageButton", DermaPanel )
  200. DermaImage:SetParent( Frame )
  201. DermaImage:SetPos( 402, 30 )
  202. DermaImage:SetImage( "icon16/bomb.png" )
  203. DermaImage:SizeToContents()
  204.  
  205. local DLabel = vgui.Create( "DLabel", Frame )
  206. DLabel:SetPos( 199, 45 )
  207. DLabel:SetSize( 730, 15 )
  208. DLabel:SetText( "Options" )
  209. DermaImage = vgui.Create( "DImageButton", DermaPanel )
  210. DermaImage:SetParent( Frame )
  211. DermaImage:SetPos( 210, 30 )
  212. DermaImage:SetImage( "icon16/cog.png" )
  213. DermaImage:SizeToContents()
  214.  
  215.  
  216. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  217. DermaCheckbox:SetParent( Frame )
  218. DermaCheckbox:SetPos( 375, 60 )
  219. DermaCheckbox:SetText( "Bhop" )
  220. DermaCheckbox:SetConVar( "prizm_bhop" )
  221.  
  222. local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
  223. DermaCheckbox:SetParent( Frame )
  224. DermaCheckbox:SetPos( 375, 80 )
  225. DermaCheckbox:SetText( "Chat Spam" )
  226. DermaCheckbox:SetConVar( "prizm_spam" )
  227.  
  228. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  229. DermaNumSlider:SetPos( 30, 397 )
  230. DermaNumSlider:SetSize( 250, 30 )
  231. DermaNumSlider:SetText( "ESP Color R" )
  232. DermaNumSlider:SetMin( 0 )
  233. DermaNumSlider:SetMax( 255 )
  234. DermaNumSlider:SetDecimals( 0 )
  235. DermaNumSlider:SetConVar( "prizm_esp_r" )
  236.  
  237. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  238. DermaNumSlider:SetPos( 30, 417 )
  239. DermaNumSlider:SetSize( 250, 30 )
  240. DermaNumSlider:SetText( "ESP Color G" )
  241. DermaNumSlider:SetMin( 0 )
  242. DermaNumSlider:SetMax( 255 )
  243. DermaNumSlider:SetDecimals( 0 )
  244. DermaNumSlider:SetConVar( "prizm_esp_g" )
  245.  
  246. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  247. DermaNumSlider:SetPos( 30, 437 )
  248. DermaNumSlider:SetSize( 250, 30 )
  249. DermaNumSlider:SetText( "ESP Color B" )
  250. DermaNumSlider:SetMin( 0 )
  251. DermaNumSlider:SetMax( 255 )
  252. DermaNumSlider:SetDecimals( 0 )
  253. DermaNumSlider:SetConVar( "prizm_esp_b" )
  254.  
  255. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  256. DermaNumSlider:SetPos( 30, 457 )
  257. DermaNumSlider:SetSize( 250, 30 )
  258. DermaNumSlider:SetText( "Glow Size" )
  259. DermaNumSlider:SetMin( 1 )
  260. DermaNumSlider:SetMax( 5 )
  261. DermaNumSlider:SetDecimals( 1 )
  262. DermaNumSlider:SetConVar( "prizm_esp_s" )
  263.  
  264. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  265. DermaNumSlider:SetPos( 300, 397 )
  266. DermaNumSlider:SetSize( 250, 30 )
  267. DermaNumSlider:SetText( "Chams R" )
  268. DermaNumSlider:SetMin( 0 )
  269. DermaNumSlider:SetMax( 255 )
  270. DermaNumSlider:SetDecimals( 0 )
  271. DermaNumSlider:SetConVar( "prizm_chams_r" )
  272.  
  273. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  274. DermaNumSlider:SetPos( 300, 417 )
  275. DermaNumSlider:SetSize( 250, 30 )
  276. DermaNumSlider:SetText( "Chams G" )
  277. DermaNumSlider:SetMin( 0 )
  278. DermaNumSlider:SetMax( 255 )
  279. DermaNumSlider:SetDecimals( 0 )
  280. DermaNumSlider:SetConVar( "prizm_chams_g" )
  281.  
  282. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  283. DermaNumSlider:SetPos( 300, 437 )
  284. DermaNumSlider:SetSize( 250, 30 )
  285. DermaNumSlider:SetText( "Chams B" )
  286. DermaNumSlider:SetMin( 0 )
  287. DermaNumSlider:SetMax( 255 )
  288. DermaNumSlider:SetDecimals( 0 )
  289. DermaNumSlider:SetConVar( "prizm_chams_b" )
  290.  
  291. local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
  292. DermaNumSlider:SetPos( 300, 457 )
  293. DermaNumSlider:SetSize( 250, 30 )
  294. DermaNumSlider:SetText( "FoV" )
  295. DermaNumSlider:SetMin( 0 )
  296. DermaNumSlider:SetMax( 255 )
  297. DermaNumSlider:SetDecimals( 0 )
  298. DermaNumSlider:SetConVar( "fov" )
  299.  
  300. end)
  301.  
  302. --[Shitty In-Game Browser]--
  303.  
  304. concommand.Add( "prizm_web", function()
  305.  
  306. local Frame1 = vgui.Create( "DFrame" )
  307. Frame1:SetSize( 1870, 1020 )
  308. Frame1:SetTitle( "PRiZM Browser" )
  309. Frame1:SetVisible( true )
  310. Frame1:SetDraggable( false )
  311. Frame1:ShowCloseButton( false )
  312. Frame1:MakePopup()
  313. Frame1:Center()
  314. Frame1.Paint = function(s, w, h)
  315. local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
  316.  
  317. draw.RoundedBox(5,00,0,w,h,Color(182, 0, 0, 255))
  318. draw.RoundedBox(5,2,2,w-4,h-4,Color(105, 105, 105, 255))
  319. end
  320.  
  321. local cBtn = vgui.Create("DButton")
  322. cBtn:SetParent(Frame1)
  323. cBtn:SetText("X")
  324. cBtn:SetSize(20, 18)
  325. cBtn:SetPos(Frame1:GetWide() - cBtn:GetWide() - 2, 2)
  326. cBtn.DoClick = function ()
  327. Frame1:Close()
  328. end
  329. function cBtn.Paint()
  330. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(182, 0, 0, 255))
  331. end
  332.  
  333. local myText = vgui.Create("DTextEntry", Frame1)
  334. myText:SetSize(800, 18)
  335. myText:SetPos(535,2)
  336. myText:SetText("Enter a URL here")
  337. myText.OnEnter = function(ib)
  338. HTMLTest = vgui.Create("HTML", Frame1)
  339. HTMLTest:SetPos(50,50)
  340. HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
  341. HTMLTest:OpenURL(ib:GetValue())
  342. HTMLTest:Center()
  343. myText:SetText(ib:GetValue())
  344. end
  345.  
  346. local cBtn = vgui.Create("DButton")
  347. cBtn:SetParent(Frame1)
  348. cBtn:SetText("Home")
  349. cBtn:SetSize(40, 18)
  350. cBtn:SetPos(495, 2)
  351. cBtn.DoClick = function ()
  352. HTMLTest = vgui.Create("HTML", Frame1)
  353. HTMLTest:SetPos(50,50)
  354. HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
  355. HTMLTest:OpenURL("www.google.com")
  356. HTMLTest:Center()
  357. end
  358. function cBtn.Paint()
  359. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
  360. end
  361.  
  362. local cBtn = vgui.Create("DButton")
  363. cBtn:SetParent(Frame1)
  364. cBtn:SetText("How to use")
  365. cBtn:SetSize(58, 18)
  366. cBtn:SetPos(378, 2)
  367. cBtn.DoClick = function ()
  368. HTMLTest = vgui.Create("HTML", Frame1)
  369. HTMLTest:SetPos(50,50)
  370. HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
  371. HTMLTest:Center()
  372. HTMLTest:OpenURL("http://pastebin.com/embed_js/86g2uHnC")
  373. end
  374. function cBtn.Paint()
  375. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
  376. end
  377.  
  378. local cBtn = vgui.Create("DButton")
  379. cBtn:SetParent(Frame1)
  380. cBtn:SetText("Reload")
  381. cBtn:SetSize(37, 18)
  382. cBtn:SetPos(339, 2)
  383. cBtn.DoClick = function ()
  384. Frame1:Close()
  385. RunConsoleCommand("prizm_web")
  386. end
  387. function cBtn.Paint()
  388. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(182, 0, 0, 255))
  389. end
  390.  
  391. local cBtn = vgui.Create("DButton")
  392. cBtn:SetParent(Frame1)
  393. cBtn:SetText("Spam4.me")
  394. cBtn:SetSize(55, 18)
  395. cBtn:SetPos(438, 2)
  396. cBtn.DoClick = function ()
  397. HTMLTest = vgui.Create("HTML", Frame1)
  398. HTMLTest:SetPos(50,50)
  399. HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
  400. HTMLTest:OpenURL("spam4.me")
  401. HTMLTest:Center()
  402. end
  403. function cBtn.Paint()
  404. draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
  405. end
  406.  
  407.  
  408. end)
  409.  
  410. --[Real Codens]--
  411. MsgN( "" )
  412. chat.AddText(Color(0, 187, 255), "[PRiZM]: ",Color(0, 187, 0), "Loaded. ")
  413. surface.PlaySound ("player/suit_sprint.wav")
  414. surface.PlaySound ("common/warning.wav")
  415.  
  416. CreateClientConVar( "prizm_esp_glow", "0", false, false )
  417. hook.Add("Think", "prizmesp", function()
  418. if GetConVarNumber("prizm_esp_glow") != 1 then return end
  419.  
  420. halo.Add( ents.FindByClass( "player*" ), Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )),GetConVarNumber( "prizm_esp_s" ), GetConVarNumber( "prizm_esp_s" ), 5, true, true )
  421.  
  422. end)
  423.  
  424. notification.AddLegacy( "PRiZM Has Been Loaded!", NOTIFY_UNDO, 4 )
  425. notification.AddLegacy( "type 'prizm_menu' in console to open the menu", NOTIFY_HINT, 4 )
  426.  
  427. timer.Simple( 3, function()
  428.  
  429. end )
  430.  
  431. concommand.Add( "cheese", function()
  432.  
  433. surface.PlaySound("vo/npc/male01/question06.wav")
  434.  
  435. end)
  436.  
  437. concommand.Add( "prizm_180", function()
  438.  
  439. ply:SetEyeAngles( ply:EyeAngles() + Angle( -2 * ply:EyeAngles().p,180, 0) )
  440.  
  441. end)
  442.  
  443. CreateClientConVar( "prizm_esp_glow", "0", false, false )
  444. CreateClientConVar( "prizm_esp_glow_npc", "0", false, false )
  445. CreateClientConVar( "prizm_esp_text", "0", false, false )
  446.  
  447.  
  448.  
  449. hook.Add("Think", "prizmcrosshair", function()
  450. if GetConVarNumber("prizm_esp_glow") != 1 then return end
  451. surface.SetDrawColor(Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
  452. surface.DrawLine(ScrW() / 2 - 10, ScrH() / 2, ScrW() / 2 + 11 , ScrH() / 2)
  453. surface.DrawLine(ScrW() / 2 - 0, ScrH() / 2 - 10, ScrW() / 2 - 0 , ScrH() / 2 + 11)
  454. end)
  455.  
  456. CreateClientConVar ("prizm_watermark","1", true ,false )
  457. hook.Add("HUDPaint", "watermark",function()
  458. if GetConVarNumber("prizm_watermark") != 1 then return end
  459. draw.SimpleText( "PRiZM ".. version, "DermaDefault", 5, 5, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT, 1)
  460. draw.SimpleText( build .." build", "DermaDefault", 5, 20, Color(0, 255, 0, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT, 1)
  461. end)
  462.  
  463. CreateClientConVar ("prizm_esp_chams","0", true ,false )
  464. hook.Add("HUDPaint", "prizmchams",function()
  465. if GetConVarNumber("prizm_esp_chams") != 1 then return end
  466.  
  467. local v = player.GetAll()
  468.  
  469. for _,v in pairs( player.GetAll() ) do
  470.  
  471. if v != me and v:Alive() then
  472. cam.Start3D()
  473.  
  474. cam.IgnoreZ(true)
  475. render.MaterialOverride(Material("models/wireframe"))
  476. render.SuppressEngineLighting( false )
  477. render.SetColorModulation(GetConVarNumber( "prizm_chams_r" )/105, GetConVarNumber( "prizm_chams_g" )/105, GetConVarNumber( "prizm_chams_b" )/105 )
  478.  
  479. v:DrawModel()
  480.  
  481. render.SuppressEngineLighting( false )
  482. render.MaterialOverride(0)
  483. cam.IgnoreZ(false)
  484. cam.End3D()
  485.  
  486. end
  487. end
  488. end)
  489.  
  490. CreateClientConVar( "prizm_bhop", "0", false, false )
  491. hook.Add("Think", "prizmbhop", function()
  492. if GetConVarNumber("prizm_bhop") != 1 then return end
  493. local bhop = true
  494. if bhop then
  495. if (input.IsKeyDown( KEY_SPACE ) ) then
  496. if LocalPlayer():IsOnGround() then
  497. RunConsoleCommand("+jump")
  498. HasJumped = 1
  499. else
  500. RunConsoleCommand("-jump")
  501. HasJumped = 0
  502. end
  503. elseif bhop and LocalPlayer():IsOnGround() then
  504. if HasJumped == 1 then
  505. RunConsoleCommand("-jump")
  506. HasJumped = 0
  507. end
  508. end
  509. end
  510. end)
  511.  
  512. CreateClientConVar( "prizm_esp_text_health", "0", false, false )
  513. hook.Add( "HUDPaint", "prizmtexthealth", function()
  514. if GetConVarNumber("prizm_esp_text_health") != 1 then return end
  515. for k,v in pairs ( player.GetAll() ) do
  516. local Position2 = ( v:GetPos() + Vector(0,0,-10) ):ToScreen()
  517. local HealthText = ""
  518.  
  519. if v == LocalPlayer() then HealthText = "" else HealthText = v:Health() end
  520.  
  521. draw.DrawText("HP:"..HealthText, "DermaDefault", Position2.x, Position2.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
  522.  
  523. end
  524.  
  525. end )
  526.  
  527. CreateClientConVar( "prizm_esp_text_rank", "0", false, false )
  528. hook.Add( "HUDPaint", "prizmtextrank", function()
  529. if GetConVarNumber("prizm_esp_text_rank") != 1 then return end
  530. for k,v in pairs ( player.GetAll() ) do
  531. local Position3 = ( v:GetPos() + Vector( 0,0,-20 ) ):ToScreen()
  532. local Rank = ""
  533.  
  534. if v == LocalPlayer() then Rank = "" else Rank = v:GetUserGroup() end
  535.  
  536. draw.DrawText("RANK:"..Rank, "DermaDefault", Position3.x, Position3.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
  537.  
  538. end
  539.  
  540. end )
  541.  
  542. hook.Add( "HUDPaint", "prizmtext", function()
  543. if GetConVarNumber("prizm_esp_text") != 1 then return end
  544. for k,v in pairs ( player.GetAll() ) do
  545. local Position = ( v:GetPos() + Vector( 0,0,90 ) ):ToScreen()
  546. local Name = ""
  547.  
  548. if v == LocalPlayer() then Name = "" else Name = v:Name() end
  549.  
  550. draw.DrawText(Name, "DermaDefault", Position.x, Position.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
  551.  
  552. end
  553.  
  554. end )
  555.  
  556. CreateClientConVar( "prizm_esp_text_dist", "0", false, false )
  557. hook.Add( "HUDPaint", "prizmtextdist", function()
  558. if GetConVarNumber("prizm_esp_text_dist") != 1 then return end
  559. for k,v in pairs ( player.GetAll() ) do
  560. local Position4 = ( v:GetPos() + Vector( 0,0,100 ) ):ToScreen()
  561. local dist = ""
  562.  
  563. if v == LocalPlayer() then dist = "" else dist = math.Round( ply:GetPos():Distance( v:GetPos() )) end
  564.  
  565. draw.DrawText("Dist:"..dist.." Ft.", "DermaDefault", Position4.x, Position4.y, Color( 0, 255, 0, 255 ), 1 )
  566.  
  567. end
  568.  
  569. end )
  570.  
  571. local function coordinates( ent )
  572. local min, max = ent:OBBMins(), ent:OBBMaxs()
  573. local corners = {
  574. Vector( min.x, min.y, min.z ),
  575. Vector( min.x, min.y, max.z ),
  576. Vector( min.x, max.y, min.z ),
  577. Vector( min.x, max.y, max.z ),
  578. Vector( max.x, min.y, min.z ),
  579. Vector( max.x, min.y, max.z ),
  580. Vector( max.x, max.y, min.z ),
  581. Vector( max.x, max.y, max.z )
  582. }
  583.  
  584. local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
  585. for _, corner in pairs( corners ) do
  586. local onScreen = ent:LocalToWorld( corner ):ToScreen()
  587. minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
  588. maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
  589. end
  590.  
  591. return minX, minY, maxX, maxY
  592. end
  593. CreateClientConVar( "prizm_esp_box", "0", false, false )
  594. hook.Add("HUDPaint", "prizmbox", function()
  595. if GetConVarNumber("prizm_esp_box") != 1 then return end
  596. for k,v in pairs(player.GetAll()) do
  597. local x1,y1,x2,y2 = coordinates(v)
  598. local ihp = v:Health();
  599. surface.SetDrawColor(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ))
  600.  
  601. local MaxX, MaxY, MinX, MinY, V1, V2, V3, V4, V5, V6, V7, V8 = v:GetPos()
  602.  
  603. surface.DrawLine( x1, y1, math.min( x1 + 5, x2 ), y1 )
  604. surface.DrawLine( x1, y1, x1, math.min( y1 + GetConVarNumber( "prizm_box_style" ) * 9999 + 5, y2 ) )
  605.  
  606. surface.SetDrawColor(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ))
  607. surface.DrawLine( x2, y1, math.max( x2 - GetConVarNumber( "prizm_box_style" ) * 9999 - 5, x1 ), y1 )
  608. surface.DrawLine( x2, y1, x2, math.min( y1 + 5, y2 ) )
  609.  
  610.  
  611. surface.DrawLine( x1, y2, math.min( x1 + GetConVarNumber( "prizm_box_style" ) * 9999 + 5, x2 ), y2 )
  612. surface.DrawLine( x1, y2, x1, math.max( y2 - 5, y1 ) )
  613.  
  614. surface.DrawLine( x2, y2, math.max( x2 - 5, x1 ), y2 )
  615. surface.DrawLine( x2, y2, x2, math.max( y2 - GetConVarNumber( "prizm_box_style" ) * 9999 - 5, y1 ) )
  616.  
  617. end
  618. end)
  619.  
  620. --[[
  621. Backdoor scanner. I did some research on addons with backdoors and these are some of the ones I could find.
  622. ]]--
  623.  
  624. function Scanner()
  625.  
  626. for cn, _ in pairs (concommand.GetTable ()) do
  627. for _, f in ipairs ("debugcmd") do
  628. if string.find (cn, f) then
  629.  
  630. chat.AddText("Possible Backdoor found (debugcmd)")
  631.  
  632. end
  633.  
  634. end
  635. end
  636. end
  637.  
  638. function Scanner2()
  639.  
  640. for cn, _ in pairs (concommand.GetTable ()) do
  641. for _, f in ipairs ("Sandbox_ArmDupe") do
  642. if string.find (cn, f) then
  643.  
  644. chat.AddText("Possible Backdoor found (Sandbox_ArmDupe)")
  645.  
  646. end
  647.  
  648. end
  649. end
  650. end
  651.  
  652. function Scanner3()
  653.  
  654. for cn, _ in pairs (concommand.GetTable ()) do
  655. for _, f in ipairs ("dronesrewrite_admin_hackall") do
  656. if string.find (cn, f) then
  657.  
  658. chat.AddText("Possible Backdoor found (dronesrewrite_admin_hackall)")
  659.  
  660. end
  661.  
  662. end
  663. end
  664. end
  665.  
  666. concommand.Add( "plyinfo", function()
  667. for k,v in pairs ( player.GetAll() ) do
  668. print(v:Nick().." | ".."steamcommunity.com/profiles/"..v:SteamID64())
  669. end
  670. end)
  671.  
  672. concommand.Add( "flipview", function()
  673. ply:SetEyeAngles( ply:EyeAngles() + Angle( 0, 0, 180 ))
  674. end)
  675.  
  676. hook.Add("Think", "prizmfov", function()
  677. function sFOV()
  678. return{fov = Vars["fov"]};
  679. end
  680. end)
  681.  
  682. CreateClientConVar( "prizm_spam", "0", false, false )
  683. hook.Add("HUDPaint", "spamer", function()
  684. if GetConVarNumber("prizm_spam") != 1 then return end
  685. RunConsoleCommand("say", value)
  686. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement