Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local hello = [[
- HELLO СОСИТЕ ХУЙ
- ]]
- local da = GetRenderTarget( "da" .. os.time(), ScrW(), ScrH() )
- hook.Add( "RenderScene", "ASG", function( vOrigin, vAngle, vFOV )
- local vw = {
- x = 0,
- y = 0,
- w = ScrW(),
- h = ScrH(),
- dopostprocess = true,
- origin = vOrigin,
- angles = vAngle,
- fov = vFOV,
- drawhud = true,
- drawmonitors = true,
- drawviewmodel = true
- }
- render.RenderView( vw )
- render.CopyTexture( nil, da )
- cam.Start2D()
- hook.Run( "HKDPAINT" )
- cam.End2D()
- render.SetRenderTarget( da )
- return true
- end )
- hook.Add( "ShutDown", "RemoveAntiScreenGrab", function()
- render.SetRenderTarget()
- end )
- render.Capture = function()
- return
- end
- MsgC(Color(255,255,255), hello.."\n")
- surface.PlaySound ("buttons/blip1.wav")
- concommand.Add("chsvopen", function()
- local ply = LocalPlayer()
- local yesmenu = false
- local x = 15
- local y = ScrH() - 150
- local rgb = 0
- CreateClientConVar("bhp", 0, true, false)
- CreateClientConVar("atstrafe", 0, true, false)
- CreateClientConVar("rgbphysg", 0, true, false)
- CreateClientConVar("spammerflash", 0, true, false)
- CreateClientConVar("crsh", 0, true, false)
- CreateClientConVar("barinfotwentytwoaye", 0, true, false)
- CreateClientConVar("thrd3", 0, true, false)
- CreateClientConVar("watermarktwe3", 0, true, false)
- CreateClientConVar("spamsndbtwe", 0, true, false)
- CreateClientConVar("spamdrptwe", 0, true, false)
- surface.CreateFont('font', {
- font = 'CloseCaption_Bold',
- size = 23,
- weight = 700
- })
- surface.CreateFont('btns', {
- font = 'CloseCaption_Bold',
- size = 15,
- weight = 700
- })
- surface.CreateFont('inf', {
- font = 'CloseCaption_Bold',
- size = 22,
- weight = 600
- })
- function smpbhp()
- if GetConVarNumber("bhp") == 1 and input.IsKeyDown( KEY_SPACE ) then
- if ply:IsTyping() == false and ply:IsOnGround() then
- RunConsoleCommand("+jump")
- timer.Create("Bhop", 0, math.random( .280, .290 ), function()
- RunConsoleCommand("-jump")
- end)
- end
- elseif GetConVarNumber("bhp") == 1 and input.IsKeyDown( KEY_SPACE ) then
- if ply:IsTyping() == false and ply:IsOnGround() then
- RunConsoleCommand("+jump")
- timer.Create("Bhop", 0, .01, function()
- RunConsoleCommand("-jump")
- end)
- end
- end
- end
- hook.Add("Think", "smpbhp", smpbhp)
- function fsh()
- if GetConVarNumber("spammerflash") == 1 and input.IsKeyDown(KEY_F) then
- timer.Create("Spam flashlight", 0, 0, function()
- RunConsoleCommand('impulse','100')
- end)
- elseif GetConVarNumber("spammerflash") == 0 or ( not input.IsKeyDown(KEY_F) ) then
- timer.Remove("Spam flashlight")
- end
- end
- hook.Add("Think", "fsh", fsh)
- hook.Add( "HUDPaint", "crs", function()
- if GetConVarNumber("crsh") == 1 then
- RunConsoleCommand( "hud_draw_fixed_reticle", "1" )
- elseif GetConVarNumber("crsh") == 0 then
- RunConsoleCommand( "hud_draw_fixed_reticle", "0" )
- end
- end)
- hook.Add( "HKDPAINT", "Info-Bar", function()
- if GetConVarNumber("barinfotwentytwoaye") == 1 then
- local speed = math.Round(ply:GetVelocity():Length())
- local fps = math.Round(1/RealFrameTime())
- local hp = ply:Health()
- local name = ply:Name()
- local armor = ply:Armor()
- local ping = ply:Ping()
- draw.RoundedBox( 1, x-30, y-385, 250, 110, Color(0, 0, 0, 150) )
- draw.SimpleText( "Health: ", "inf", x-8, y-380, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "Health: ", "inf", x-10, y-380, Color( 50, 205, 50 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( hp, "inf", x+57, y-380, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( hp, "inf", x+55, y-380, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "Armor: ", "inf", x-8, y-360, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "Armor: ", "inf", x-10, y-360, Color( 0, 191, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( armor, "inf", x+57, y-360, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( armor, "inf", x+55, y-360, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "Speed: ", "inf", x-8, y-340, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "Speed: ", "inf", x-10, y-340, Color( 255, 255, 0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( speed, "inf", x+58, y-340, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( speed, "inf", x+56, y-340, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "FPS: ", "inf", x-8, y-320, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "FPS: ", "inf", x-10, y-320, Color( 153, 50, 204 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( fps, "inf", x+37, y-320, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( fps, "inf", x+35, y-320, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "PING: ", "inf", x-8, y-300, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( "PING: ", "inf", x-10, y-300, Color( 255, 140, 0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( ping, "inf", x+48, y-300, Color( 0,0,0 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.SimpleText( ping, "inf", x+46, y-300, Color( 255, 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- elseif GetConVarNumber("barinfotwentytwoaye") == 0 then
- hook.Remove("Info-Bar")
- end
- end)
- hook.Add("HKDPAINT", "WateRmar-da", function()
- if GetConVarNumber("watermarktwe3") == 1 then
- surface.SetTextColor(0,0,0)
- surface.SetFont("btns")
- surface.SetTextPos(6.9 , 5)
- surface.DrawText("CHSV-menu | "..os.date("%H:%M:%S").." | Website - https://4sv4.ml ")
- surface.SetTextColor(HSVToColor( CurTime() % 6 * 60, 1, 1))
- surface.SetFont("btns")
- surface.SetTextPos(5 , 5)
- surface.DrawText("CHSV-menu | "..os.date("%H:%M:%S").." | Website - https://4sv4.ml ")
- elseif GetConVarNumber("watermarktwe3") == 0 then
- hook.Remove("WateRmar-da")
- end
- end)
- hook.Add( "CalcView", "3DPerson", function(ply, pos, angles, fov, cmd)
- local thrdPerson = {}
- if GetConVarNumber("thrd3") == 1 then
- thrdPerson.origin = pos-( angles:Forward()*100 )
- thrdPerson.angles = angles
- thrdPerson.fov = fov
- thrdPerson.drawviewer = true
- return thrdPerson
- elseif GetConVarNumber("thrd3") == 0 then
- thrdPerson.origin = pos-( angles:Forward() )
- thrdPerson.angles = angles
- thrdPerson.fov = fov
- end
- end)
- local function rgbphys()
- if GetConVarNumber("rgbphysg") == 1 then
- rgb = rgb + 1
- ply:SetWeaponColor(Vector(math.Rand(0,1),math.Rand(0,1),math.Rand(0,1)))
- rgb = 0
- end
- end
- if GetConVarNumber("rgbphysg") == 1 then
- hook.Add("Think","dargbicho",rgbphys)
- else
- hook.Remove("Think","dargbicho",rgbphys)
- end
- cvars.AddChangeCallback("rgbphysg", function()
- if GetConVarNumber("rgbphysg") == 1 then
- hook.Add("CreateMove", "wtf", rgbphys)
- else
- hook.Remove("CreateMove", "wtf")
- ply:SetWeaponColor(Vector(0,1,1))
- rgb = 0
- end
- end)
- function spammersnadx()
- if GetConVarNumber("spamsndbtwe") == 1 then
- ply:ConCommand("say ".."Website - 4sv4.ml")
- elseif GetConVarNumber("spamdrptwe") == 1 then
- ply:ConCommand("say /ooc ".."Website - 4sv4.ml")
- end
- end
- hook.Add("Think", "spammersnadx", spammersnadx)
- hook.Add("CreateMove", "atstrafeda", function(cmd)
- if GetConVarNumber("atstrafe") == 1 and input.IsKeyDown(KEY_SPACE) and ply:GetMoveType() ~= MOVETYPE_NOCLIP and ply:GetMoveType() ~= MOVETYPE_LADDER then
- if(cmd:GetMouseX() < 0) then
- cmd:SetSideMove(-10000);
- elseif(cmd:GetMouseX() > 0) then
- cmd:SetSideMove(10000);
- end
- end
- end)
- local menu = vgui.Create( "DFrame" )
- menu:SetTitle( "" )
- menu:SetSize( 250,240 )
- menu:Center()
- menu:MakePopup()
- menu:ShowCloseButton( false )
- menu.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color( 10, 10, 10, 180 ) )
- surface.SetDrawColor(Color(0, 255, 0))
- surface.DrawOutlinedRect( 2, 2, w-4, h-4 )
- draw.SimpleText('MAIN - FUNCTIONS', "font", 37, 30, Color(0,0,0) )
- draw.SimpleText('MAIN - FUNCTIONS', "font", 35, 30, Color(255,255,255) )
- draw.SimpleText('___________', "font", 72, 32, Color(0,0,0) )
- draw.SimpleText('___________', "font", 70, 32, HSVToColor( CurTime() % 6 * 60, 1, 1) )
- draw.SimpleText('OTHER - FUNCTIONS', "font", 30, 90, Color(0,0,0) )
- draw.SimpleText('OTHER - FUNCTIONS', "font", 28, 90, Color(255,255,255) )
- draw.SimpleText('___________', "font", 72, 92, Color(0,0,0) )
- draw.SimpleText('___________', "font", 70, 92, HSVToColor( CurTime() % 6 * 60, 1, 1) )
- draw.SimpleText('SPAMING - FUNCTIONS', "font", 15, 180, Color(0,0,0) )
- draw.SimpleText('SPAMING - FUNCTIONS', "font", 13, 180, Color(255,255,255) )
- draw.SimpleText('___________', "font", 72, 182, Color(0,0,0) )
- draw.SimpleText('___________', "font", 70, 182, HSVToColor( CurTime() % 6 * 60, 1, 1) )
- end
- local bhpbtn = vgui.Create( "DCheckBoxLabel", menu )
- bhpbtn:SetText( "BUNNYHOP")
- bhpbtn:SetFont( "btns" )
- bhpbtn:SetTextColor( Color(0, 191, 255) )
- bhpbtn:SetPos( 25, 65 )
- bhpbtn:SetConVar( "bhp" )
- bhpbtn:SizeToContents()
- function bhpbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local atstrafebhpbtn = vgui.Create( "DCheckBoxLabel", menu )
- atstrafebhpbtn:SetText( "AUTOSTRAFE")
- atstrafebhpbtn:SetFont( "btns" )
- atstrafebhpbtn:SetTextColor( Color(255, 127, 80) )
- atstrafebhpbtn:SetPos( 133, 65 )
- atstrafebhpbtn:SetConVar( "atstrafe" )
- atstrafebhpbtn:SizeToContents()
- function atstrafebhpbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local flshbtn = vgui.Create( "DCheckBoxLabel", menu )
- flshbtn:SetText( "FLASHSPAM" )
- flshbtn:SetFont( "btns" )
- flshbtn:SetTextColor( Color(0, 255, 0) )
- flshbtn:SetPos( 25, 120 )
- flshbtn:SetConVar( "spammerflash" )
- flshbtn:SizeToContents()
- function flshbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local crosshairbtn = vgui.Create( "DCheckBoxLabel", menu )
- crosshairbtn:SetText( "CROSSHAIR" )
- crosshairbtn:SetFont( "btns" )
- crosshairbtn:SetTextColor( Color(255, 165, 0) )
- crosshairbtn:SetPos( 133, 120 )
- crosshairbtn:SetConVar( "crsh" )
- crosshairbtn:SizeToContents()
- function crosshairbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local bar_twe10 = vgui.Create( "DCheckBoxLabel", menu )
- bar_twe10:SetText( "INFO-BAR" )
- bar_twe10:SetFont( "btns" )
- bar_twe10:SetTextColor( Color(138, 43, 226) )
- bar_twe10:SetPos( 25, 140 )
- bar_twe10:SetConVar( "barinfotwentytwoaye" )
- bar_twe10:SizeToContents()
- function bar_twe10.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local thrdwtfda = vgui.Create( "DCheckBoxLabel", menu )
- thrdwtfda:SetText( "3-PERSON" )
- thrdwtfda:SetFont( "btns" )
- thrdwtfda:SetTextColor( Color(0, 255, 255) )
- thrdwtfda:SetPos( 133, 140 )
- thrdwtfda:SetConVar( "thrd3" )
- thrdwtfda:SizeToContents()
- function thrdwtfda.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local wtrbtn = vgui.Create( "DCheckBoxLabel", menu )
- wtrbtn:SetText( "WATERMARK" )
- wtrbtn:SetFont( "btns" )
- wtrbtn:SetTextColor( Color(255, 255, 0) )
- wtrbtn:SetPos( 25, 160 )
- wtrbtn:SetConVar( "watermarktwe3" )
- wtrbtn:SizeToContents()
- function wtrbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local rgbbtn = vgui.Create( "DCheckBoxLabel", menu )
- rgbbtn:SetText( "RGB-PHYSGUN" )
- rgbbtn:SetFont( "btns" )
- rgbbtn:SetTextColor( Color(255, 69, 0) )
- rgbbtn:SetPos( 133, 160 )
- rgbbtn:SetConVar( "rgbphysg" )
- rgbbtn:SizeToContents()
- function rgbbtn.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local spambtnsbx = vgui.Create( "DCheckBoxLabel", menu )
- spambtnsbx:SetText( "SANDBOX" )
- spambtnsbx:SetFont( "btns" )
- spambtnsbx:SetTextColor( Color(230, 230, 250) )
- spambtnsbx:SetPos( 25, 210 )
- spambtnsbx:SetConVar( "spamsndbtwe" )
- spambtnsbx:SizeToContents()
- function spambtnsbx.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local spambtndrp = vgui.Create( "DCheckBoxLabel", menu )
- spambtndrp:SetText( "DARKRP" )
- spambtndrp:SetFont( "btns" )
- spambtndrp:SetTextColor( Color(230, 230, 250) )
- spambtndrp:SetPos( 133, 210 )
- spambtndrp:SetConVar( "spamdrptwe" )
- spambtndrp:SizeToContents()
- function spambtndrp.Button:Paint()
- surface.SetDrawColor(128, 128, 128)
- surface.DrawRect(0, 0, 100, 100)
- if self:GetChecked() then
- surface.SetDrawColor(Color( 50, 205, 50 ) )
- surface.DrawRect(0, 0, 100, 100)
- end
- surface.SetDrawColor(Color(100, 100, 100, 255))
- surface.DrawOutlinedRect(0, 0, 100, 100)
- end
- local close = vgui.Create( "DButton", menu )
- close:SetText( "X" )
- close:SetTextColor( Color(255,255,255) )
- close:SetPos( 207, 3 )
- close:SetSize( 40, 22.5 )
- close.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(255,0,0) )
- close.DoClick = function()
- menu:Close()
- end
- end
- end)
Add Comment
Please, Sign In to add comment