Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local version = 2.4
- local build = "Public"
- MsgN("")
- MsgN("")
- MsgN("")
- MsgC (Color( 0, 182, 255 ), [[
- ===============================================
- /+$$$$$$ /$$$$$$$ /$$ /$$$$$$$$ /$$ /$$
- | $$__ $$| $$__ $$|__/|_____ $$ | $$$ /$$$
- | $$ \ $$| $$ \ $$ /$$ /$$/ | $$$$ /$$$$
- | $$$$$$$/| $$$$$$$/| $$ /$$/ | $$ $$/$$ $$
- | $$____/ | $$__ $$| $$ /$$/ | $$ $$$| $$
- | $$ | $$ \ $$| $$ /$$/ | $$\ $ | $$
- | $$ | $$ | $$| $$ /$$$$$$$$| $$ \/ | $$
- |__/ |__/ |__/|__/|________/|__/ |__/
- Made by Kiddy
- ===============================================
- ]])
- MsgC (Color(0, 182, 255), [[
- To open the menu, type prizm_menu.
- To open the in game browser, type prizm_web
- ===============================================
- ]])
- MsgN("")
- MsgN("")
- MsgN("")
- --[Locals]--
- local v = player.GetAll()
- local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
- local ply = LocalPlayer()
- CreateClientConVar( "prizm_esp_glow", "0", false, false )
- CreateClientConVar( "prizm_esp_r", "0", false, false )
- CreateClientConVar( "prizm_esp_g", "187", false, false )
- CreateClientConVar( "prizm_esp_b", "255", false, false )
- CreateClientConVar( "prizm_esp_s", "1", false, false )
- CreateClientConVar( "prizm_chams_r", "0", false, false )
- CreateClientConVar( "prizm_chams_g", "182", false, false )
- CreateClientConVar( "prizm_chams_b", "255", false, false )
- CreateClientConVar( "prizm_box_style", "0", false, false )
- hook.Add("CalcView", "FOV", sFOV)
- Vars = {
- ["fov"] = fov,
- }
- --[Main Menu]--
- concommand.Add( "prizm_menu", function()
- surface.PlaySound ( "items/ammocrate_open.wav" )
- local Frame = vgui.Create( "DFrame" )
- Frame:SetSize( 650, 530 )
- Frame:SetTitle( "" )
- Frame:SetVisible( true )
- Frame:SetDraggable( false )
- Frame:ShowCloseButton( false )
- Frame:MakePopup()
- Frame:Center()
- Frame:SetBackgroundBlur( 999 )
- Frame.Paint = function(s, w, h)
- local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
- draw.RoundedBox(5,00,0,w,h,Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
- draw.RoundedBox(5,2,2,w-4,h-4,Color(75, 75, 75, 255))
- 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 )
- 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 )
- end
- local DComboBox = vgui.Create( "DComboBox", Frame )
- DComboBox:SetPos( 455, 77 )
- DComboBox:SetSize( 130, 20 )
- DComboBox:SetValue( "Spam Text" )
- DComboBox:AddChoice( "Git Gud, Git PRiZM" )
- DComboBox:AddChoice( "This server is 10/10 cancer" )
- DComboBox:AddChoice( "WOW, You're bad" )
- DComboBox:AddChoice( "You're a horrible minge" )
- DComboBox:AddChoice( "Oh really ( ͡° ͜ʖ ͡°)" )
- DComboBox:AddChoice( "stfu Kid" )
- DComboBox:AddChoice( "hisssssss" )
- DComboBox:AddChoice( "Your memes are shit" )
- DComboBox:AddChoice( "spam.exe has stopped working" )
- DComboBox:AddChoice( "ƒancy as ƒuck" )
- DComboBox.OnSelect = function( panel, index, value )
- hook.Add("HUDPaint", "spamer", function()
- if GetConVarNumber("prizm_spam") != 1 then return end
- RunConsoleCommand("say", value.." ["..math.Round(math.Rand(0,100)).."]")
- end)
- end
- local changelog = vgui.Create("DButton")
- changelog:SetParent(Frame)
- changelog:SetText("Changelog")
- changelog:SetSize(60, 18)
- changelog:SetPos(Frame:GetWide() - changelog:GetWide() - 1,510)
- changelog.DoClick = function ()
- --[changelog]-
- 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!" )
- surface.PlaySound ("Friends/message.wav")
- Frame:Close()
- end
- function changelog.Paint()
- draw.RoundedBox(4, 0, 0, changelog:GetWide(), changelog:GetTall(), Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame)
- cBtn:SetText("X")
- cBtn:SetSize(20, 18)
- cBtn:SetPos(Frame:GetWide() - cBtn:GetWide() - 2, 2)
- cBtn.DoClick = function ()
- surface.PlaySound ( "items/ammocrate_close.wav" )
- Frame:Close()
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
- end
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 60 )
- DermaCheckbox:SetText( "Glow (Lags)" )
- DermaCheckbox:SetConVar( "prizm_esp_glow" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 80 )
- DermaCheckbox:SetText( "Chams" )
- DermaCheckbox:SetConVar( "prizm_esp_chams" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 100 )
- DermaCheckbox:SetText( "Name" )
- DermaCheckbox:SetConVar( "prizm_esp_text" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 120 )
- DermaCheckbox:SetText( "Health" )
- DermaCheckbox:SetConVar( "prizm_esp_text_health" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 140 )
- DermaCheckbox:SetText( "Rank" )
- DermaCheckbox:SetConVar( "prizm_esp_text_rank" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 160 )
- DermaCheckbox:SetText( "Distance" )
- DermaCheckbox:SetConVar( "prizm_esp_text_dist" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 10, 180 )
- DermaCheckbox:SetText( "Box" )
- DermaCheckbox:SetConVar( "prizm_esp_box" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 180, 62 )
- DermaCheckbox:SetText( "Full Box" )
- DermaCheckbox:SetConVar( "prizm_box_style" )
- local DLabel = vgui.Create( "DLabel", Frame )
- DLabel:SetPos( 40, 45 )
- DLabel:SetSize( 730, 10 )
- DLabel:SetText( "ESP" )
- DermaImage = vgui.Create( "DImageButton", DermaPanel )
- DermaImage:SetParent( Frame )
- DermaImage:SetPos( 40, 30 )
- DermaImage:SetImage( "icon16/eye.png" )
- DermaImage:SizeToContents()
- local DLabel = vgui.Create( "DLabel", Frame )
- DLabel:SetPos( 290, 370 )
- DLabel:SetSize( 730, 15 )
- DLabel:SetText( "Settings" )
- DermaImage = vgui.Create( "DImageButton", DermaPanel )
- DermaImage:SetParent( Frame )
- DermaImage:SetPos( 300, 350 )
- DermaImage:SetImage( "icon16/cog_add.png" )
- DermaImage:SizeToContents()
- local DLabel = vgui.Create( "DLabel", Frame )
- DLabel:SetPos( 400, 45 )
- DLabel:SetSize( 730, 10 )
- DLabel:SetText( "Misc" )
- DermaImage = vgui.Create( "DImageButton", DermaPanel )
- DermaImage:SetParent( Frame )
- DermaImage:SetPos( 402, 30 )
- DermaImage:SetImage( "icon16/bomb.png" )
- DermaImage:SizeToContents()
- local DLabel = vgui.Create( "DLabel", Frame )
- DLabel:SetPos( 199, 45 )
- DLabel:SetSize( 730, 15 )
- DLabel:SetText( "Options" )
- DermaImage = vgui.Create( "DImageButton", DermaPanel )
- DermaImage:SetParent( Frame )
- DermaImage:SetPos( 210, 30 )
- DermaImage:SetImage( "icon16/cog.png" )
- DermaImage:SizeToContents()
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 375, 60 )
- DermaCheckbox:SetText( "Bhop" )
- DermaCheckbox:SetConVar( "prizm_bhop" )
- local DermaCheckbox = vgui.Create( "DCheckBoxLabel", Frame )
- DermaCheckbox:SetParent( Frame )
- DermaCheckbox:SetPos( 375, 80 )
- DermaCheckbox:SetText( "Chat Spam" )
- DermaCheckbox:SetConVar( "prizm_spam" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 30, 397 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "ESP Color R" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_esp_r" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 30, 417 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "ESP Color G" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_esp_g" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 30, 437 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "ESP Color B" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_esp_b" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 30, 457 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "Glow Size" )
- DermaNumSlider:SetMin( 1 )
- DermaNumSlider:SetMax( 5 )
- DermaNumSlider:SetDecimals( 1 )
- DermaNumSlider:SetConVar( "prizm_esp_s" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 300, 397 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "Chams R" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_chams_r" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 300, 417 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "Chams G" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_chams_g" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 300, 437 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "Chams B" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "prizm_chams_b" )
- local DermaNumSlider = vgui.Create( "DNumSlider", Frame )
- DermaNumSlider:SetPos( 300, 457 )
- DermaNumSlider:SetSize( 250, 30 )
- DermaNumSlider:SetText( "FoV" )
- DermaNumSlider:SetMin( 0 )
- DermaNumSlider:SetMax( 255 )
- DermaNumSlider:SetDecimals( 0 )
- DermaNumSlider:SetConVar( "fov" )
- end)
- --[Shitty In-Game Browser]--
- concommand.Add( "prizm_web", function()
- local Frame1 = vgui.Create( "DFrame" )
- Frame1:SetSize( 1870, 1020 )
- Frame1:SetTitle( "PRiZM Browser" )
- Frame1:SetVisible( true )
- Frame1:SetDraggable( false )
- Frame1:ShowCloseButton( false )
- Frame1:MakePopup()
- Frame1:Center()
- Frame1.Paint = function(s, w, h)
- local rainbowcol = HSVToColor( RealTime() * 50 % 360, 1, 1)
- draw.RoundedBox(5,00,0,w,h,Color(182, 0, 0, 255))
- draw.RoundedBox(5,2,2,w-4,h-4,Color(105, 105, 105, 255))
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame1)
- cBtn:SetText("X")
- cBtn:SetSize(20, 18)
- cBtn:SetPos(Frame1:GetWide() - cBtn:GetWide() - 2, 2)
- cBtn.DoClick = function ()
- Frame1:Close()
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(182, 0, 0, 255))
- end
- local myText = vgui.Create("DTextEntry", Frame1)
- myText:SetSize(800, 18)
- myText:SetPos(535,2)
- myText:SetText("Enter a URL here")
- myText.OnEnter = function(ib)
- HTMLTest = vgui.Create("HTML", Frame1)
- HTMLTest:SetPos(50,50)
- HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
- HTMLTest:OpenURL(ib:GetValue())
- HTMLTest:Center()
- myText:SetText(ib:GetValue())
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame1)
- cBtn:SetText("Home")
- cBtn:SetSize(40, 18)
- cBtn:SetPos(495, 2)
- cBtn.DoClick = function ()
- HTMLTest = vgui.Create("HTML", Frame1)
- HTMLTest:SetPos(50,50)
- HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
- HTMLTest:OpenURL("www.google.com")
- HTMLTest:Center()
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame1)
- cBtn:SetText("How to use")
- cBtn:SetSize(58, 18)
- cBtn:SetPos(378, 2)
- cBtn.DoClick = function ()
- HTMLTest = vgui.Create("HTML", Frame1)
- HTMLTest:SetPos(50,50)
- HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
- HTMLTest:Center()
- HTMLTest:OpenURL("http://pastebin.com/embed_js/86g2uHnC")
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame1)
- cBtn:SetText("Reload")
- cBtn:SetSize(37, 18)
- cBtn:SetPos(339, 2)
- cBtn.DoClick = function ()
- Frame1:Close()
- RunConsoleCommand("prizm_web")
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(182, 0, 0, 255))
- end
- local cBtn = vgui.Create("DButton")
- cBtn:SetParent(Frame1)
- cBtn:SetText("Spam4.me")
- cBtn:SetSize(55, 18)
- cBtn:SetPos(438, 2)
- cBtn.DoClick = function ()
- HTMLTest = vgui.Create("HTML", Frame1)
- HTMLTest:SetPos(50,50)
- HTMLTest:SetSize(ScrW() - 100, ScrH() - 100)
- HTMLTest:OpenURL("spam4.me")
- HTMLTest:Center()
- end
- function cBtn.Paint()
- draw.RoundedBox(3, 0, 0, cBtn:GetWide(), cBtn:GetTall(), Color(0, 182, 0, 255))
- end
- end)
- --[Real Codens]--
- MsgN( "" )
- chat.AddText(Color(0, 187, 255), "[PRiZM]: ",Color(0, 187, 0), "Loaded. ")
- surface.PlaySound ("player/suit_sprint.wav")
- surface.PlaySound ("common/warning.wav")
- CreateClientConVar( "prizm_esp_glow", "0", false, false )
- hook.Add("Think", "prizmesp", function()
- if GetConVarNumber("prizm_esp_glow") != 1 then return end
- 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 )
- end)
- notification.AddLegacy( "PRiZM Has Been Loaded!", NOTIFY_UNDO, 4 )
- notification.AddLegacy( "type 'prizm_menu' in console to open the menu", NOTIFY_HINT, 4 )
- timer.Simple( 3, function()
- end )
- concommand.Add( "cheese", function()
- surface.PlaySound("vo/npc/male01/question06.wav")
- end)
- concommand.Add( "prizm_180", function()
- ply:SetEyeAngles( ply:EyeAngles() + Angle( -2 * ply:EyeAngles().p,180, 0) )
- end)
- CreateClientConVar( "prizm_esp_glow", "0", false, false )
- CreateClientConVar( "prizm_esp_glow_npc", "0", false, false )
- CreateClientConVar( "prizm_esp_text", "0", false, false )
- hook.Add("Think", "prizmcrosshair", function()
- if GetConVarNumber("prizm_esp_glow") != 1 then return end
- surface.SetDrawColor(Color(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" )))
- surface.DrawLine(ScrW() / 2 - 10, ScrH() / 2, ScrW() / 2 + 11 , ScrH() / 2)
- surface.DrawLine(ScrW() / 2 - 0, ScrH() / 2 - 10, ScrW() / 2 - 0 , ScrH() / 2 + 11)
- end)
- CreateClientConVar ("prizm_watermark","1", true ,false )
- hook.Add("HUDPaint", "watermark",function()
- if GetConVarNumber("prizm_watermark") != 1 then return end
- draw.SimpleText( "PRiZM ".. version, "DermaDefault", 5, 5, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT, 1)
- draw.SimpleText( build .." build", "DermaDefault", 5, 20, Color(0, 255, 0, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT, 1)
- end)
- CreateClientConVar ("prizm_esp_chams","0", true ,false )
- hook.Add("HUDPaint", "prizmchams",function()
- if GetConVarNumber("prizm_esp_chams") != 1 then return end
- local v = player.GetAll()
- for _,v in pairs( player.GetAll() ) do
- if v != me and v:Alive() then
- cam.Start3D()
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/wireframe"))
- render.SuppressEngineLighting( false )
- render.SetColorModulation(GetConVarNumber( "prizm_chams_r" )/105, GetConVarNumber( "prizm_chams_g" )/105, GetConVarNumber( "prizm_chams_b" )/105 )
- v:DrawModel()
- render.SuppressEngineLighting( false )
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- end
- end)
- CreateClientConVar( "prizm_bhop", "0", false, false )
- hook.Add("Think", "prizmbhop", function()
- if GetConVarNumber("prizm_bhop") != 1 then return end
- local bhop = true
- if bhop then
- if (input.IsKeyDown( KEY_SPACE ) ) then
- if LocalPlayer():IsOnGround() then
- RunConsoleCommand("+jump")
- HasJumped = 1
- else
- RunConsoleCommand("-jump")
- HasJumped = 0
- end
- elseif bhop and LocalPlayer():IsOnGround() then
- if HasJumped == 1 then
- RunConsoleCommand("-jump")
- HasJumped = 0
- end
- end
- end
- end)
- CreateClientConVar( "prizm_esp_text_health", "0", false, false )
- hook.Add( "HUDPaint", "prizmtexthealth", function()
- if GetConVarNumber("prizm_esp_text_health") != 1 then return end
- for k,v in pairs ( player.GetAll() ) do
- local Position2 = ( v:GetPos() + Vector(0,0,-10) ):ToScreen()
- local HealthText = ""
- if v == LocalPlayer() then HealthText = "" else HealthText = v:Health() end
- draw.DrawText("HP:"..HealthText, "DermaDefault", Position2.x, Position2.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
- end
- end )
- CreateClientConVar( "prizm_esp_text_rank", "0", false, false )
- hook.Add( "HUDPaint", "prizmtextrank", function()
- if GetConVarNumber("prizm_esp_text_rank") != 1 then return end
- for k,v in pairs ( player.GetAll() ) do
- local Position3 = ( v:GetPos() + Vector( 0,0,-20 ) ):ToScreen()
- local Rank = ""
- if v == LocalPlayer() then Rank = "" else Rank = v:GetUserGroup() end
- draw.DrawText("RANK:"..Rank, "DermaDefault", Position3.x, Position3.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
- end
- end )
- hook.Add( "HUDPaint", "prizmtext", function()
- if GetConVarNumber("prizm_esp_text") != 1 then return end
- for k,v in pairs ( player.GetAll() ) do
- local Position = ( v:GetPos() + Vector( 0,0,90 ) ):ToScreen()
- local Name = ""
- if v == LocalPlayer() then Name = "" else Name = v:Name() end
- draw.DrawText(Name, "DermaDefault", Position.x, Position.y, Color( GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ), 255 ), 1 )
- end
- end )
- CreateClientConVar( "prizm_esp_text_dist", "0", false, false )
- hook.Add( "HUDPaint", "prizmtextdist", function()
- if GetConVarNumber("prizm_esp_text_dist") != 1 then return end
- for k,v in pairs ( player.GetAll() ) do
- local Position4 = ( v:GetPos() + Vector( 0,0,100 ) ):ToScreen()
- local dist = ""
- if v == LocalPlayer() then dist = "" else dist = math.Round( ply:GetPos():Distance( v:GetPos() )) end
- draw.DrawText("Dist:"..dist.." Ft.", "DermaDefault", Position4.x, Position4.y, Color( 0, 255, 0, 255 ), 1 )
- end
- end )
- local function coordinates( ent )
- local min, max = ent:OBBMins(), ent:OBBMaxs()
- local corners = {
- Vector( min.x, min.y, min.z ),
- Vector( min.x, min.y, max.z ),
- Vector( min.x, max.y, min.z ),
- Vector( min.x, max.y, max.z ),
- Vector( max.x, min.y, min.z ),
- Vector( max.x, min.y, max.z ),
- Vector( max.x, max.y, min.z ),
- Vector( max.x, max.y, max.z )
- }
- local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
- for _, corner in pairs( corners ) do
- local onScreen = ent:LocalToWorld( corner ):ToScreen()
- minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
- maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
- end
- return minX, minY, maxX, maxY
- end
- CreateClientConVar( "prizm_esp_box", "0", false, false )
- hook.Add("HUDPaint", "prizmbox", function()
- if GetConVarNumber("prizm_esp_box") != 1 then return end
- for k,v in pairs(player.GetAll()) do
- local x1,y1,x2,y2 = coordinates(v)
- local ihp = v:Health();
- surface.SetDrawColor(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ))
- local MaxX, MaxY, MinX, MinY, V1, V2, V3, V4, V5, V6, V7, V8 = v:GetPos()
- surface.DrawLine( x1, y1, math.min( x1 + 5, x2 ), y1 )
- surface.DrawLine( x1, y1, x1, math.min( y1 + GetConVarNumber( "prizm_box_style" ) * 9999 + 5, y2 ) )
- surface.SetDrawColor(GetConVarNumber( "prizm_esp_r" ), GetConVarNumber( "prizm_esp_g" ), GetConVarNumber( "prizm_esp_b" ))
- surface.DrawLine( x2, y1, math.max( x2 - GetConVarNumber( "prizm_box_style" ) * 9999 - 5, x1 ), y1 )
- surface.DrawLine( x2, y1, x2, math.min( y1 + 5, y2 ) )
- surface.DrawLine( x1, y2, math.min( x1 + GetConVarNumber( "prizm_box_style" ) * 9999 + 5, x2 ), y2 )
- surface.DrawLine( x1, y2, x1, math.max( y2 - 5, y1 ) )
- surface.DrawLine( x2, y2, math.max( x2 - 5, x1 ), y2 )
- surface.DrawLine( x2, y2, x2, math.max( y2 - GetConVarNumber( "prizm_box_style" ) * 9999 - 5, y1 ) )
- end
- end)
- --[[
- Backdoor scanner. I did some research on addons with backdoors and these are some of the ones I could find.
- ]]--
- function Scanner()
- for cn, _ in pairs (concommand.GetTable ()) do
- for _, f in ipairs ("debugcmd") do
- if string.find (cn, f) then
- chat.AddText("Possible Backdoor found (debugcmd)")
- end
- end
- end
- end
- function Scanner2()
- for cn, _ in pairs (concommand.GetTable ()) do
- for _, f in ipairs ("Sandbox_ArmDupe") do
- if string.find (cn, f) then
- chat.AddText("Possible Backdoor found (Sandbox_ArmDupe)")
- end
- end
- end
- end
- function Scanner3()
- for cn, _ in pairs (concommand.GetTable ()) do
- for _, f in ipairs ("dronesrewrite_admin_hackall") do
- if string.find (cn, f) then
- chat.AddText("Possible Backdoor found (dronesrewrite_admin_hackall)")
- end
- end
- end
- end
- concommand.Add( "plyinfo", function()
- for k,v in pairs ( player.GetAll() ) do
- print(v:Nick().." | ".."steamcommunity.com/profiles/"..v:SteamID64())
- end
- end)
- concommand.Add( "flipview", function()
- ply:SetEyeAngles( ply:EyeAngles() + Angle( 0, 0, 180 ))
- end)
- hook.Add("Think", "prizmfov", function()
- function sFOV()
- return{fov = Vars["fov"]};
- end
- end)
- CreateClientConVar( "prizm_spam", "0", false, false )
- hook.Add("HUDPaint", "spamer", function()
- if GetConVarNumber("prizm_spam") != 1 then return end
- RunConsoleCommand("say", value)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement