Advertisement
Guest User

Phantom Forces Best Gui Script

a guest
Dec 21st, 2018
33,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.64 KB | None | 0 0
  1. --[[
  2. Made by: Racist Dolphin#0293
  3. Unpatched by: Prof. Moneywise#6067 say thanks and suck my dick
  4. Your free skidded exploits won't work. Only paid executors will work. Synapse X tested and working. ProtoSmasher, etc. not tested. PM me on Discord if it works with certain exploits.
  5. ]]
  6.  
  7. local pr=print;
  8.  
  9. print=function(...)
  10. local args={...}
  11. local printStr=''
  12. for i,v in next, args do
  13. if(v==nil)then v='nil' end
  14. printStr=printStr.. tostring(v) ..'\n'
  15. end
  16. pr(printStr)
  17. end
  18. script.Name = "Base_Script"
  19.  
  20. local ps = game:GetService("Players")
  21. local i = game:GetService("UserInputService")
  22. local r = game:GetService("RunService")
  23. local cg = game:GetService("CoreGui")
  24. local sg = game:GetService("StarterGui")
  25. local ts = game:GetService("TweenService")
  26. local rs = game:GetService("ReplicatedStorage")
  27. local sc = game:GetService("ScriptContext")
  28. local http = game:GetService("HttpService")
  29. local light = game:GetService("Lighting")
  30. local pathservice = game:GetService("PathfindingService")
  31. local p = ps.LocalPlayer
  32. local c = p.Character
  33. local mo = p:GetMouse()
  34. local b = p:FindFirstChild("Backpack") or p:WaitForChild("Backpack")
  35. local g = p:FindFirstChild("PlayerGui") or p:WaitForChild("PlayerGui")
  36. local ca = workspace.CurrentCamera
  37.  
  38. local loadtime = tick()
  39. local hint = Instance.new("Hint", cg)
  40. hint.Text = "Initializing... Please wait... (This can take up to 30 seconds!)"
  41.  
  42. local getupval = debug.getupvalue or getupvalue
  43. local getupvals = debug.getupvalues or getupvalues
  44. local getreg = debug.getregistry or getregistry or getreg
  45. local setupval = debug.setupvalue or setupvalue
  46. local getlocalval = debug.getlocal or getlocal
  47. local getlocalvals = debug.getlocals or getlocals
  48. local setlocalval = debug.setlocal or setlocal
  49. local getmetat = getrawmetatable
  50. local setreadonly1 = make_writeable or setreadonly
  51. local copy = setclipboard or clipboard.set or copystring
  52.  
  53. --print(getupval, getupvals, getreg, setupval, getlocalval, getlocalvals, setlocalval, getmetat, setreadonly1)
  54. if getupval == nil or getupvals == nil or getreg == nil or setupval == nil or setreadonly1 == nil or getrenv == nil then
  55. hint.Text = "Unfortunately the exploit you're using is not supported. :C"
  56. wait(10)
  57. hint:Destroy()
  58. spawn(function()
  59. pcall(function()
  60. local m = getmetat(game)
  61. setreadonly1(m, false)
  62.  
  63. for i, v in next, m do
  64. m[i] = "pornhub.com"
  65. end
  66. end)
  67. end)
  68.  
  69. return
  70. end
  71.  
  72. local m = getmetat(game)
  73. setreadonly1(m, false)
  74.  
  75. local oldindex = m.__index
  76. local oldnewindex = m.__newindex
  77. local oldnamecall = m.__namecall
  78.  
  79. local functions = { }
  80. local main = { }
  81. local esp_stuff = { }
  82. local faggot_esp = { }
  83. local cham_stuff = { }
  84. local fullbright_stuff = { }
  85. local radar_esp = { }
  86. local developer_stuff = { }
  87. local gui = { }
  88. local loops = { }
  89. local client = { }
  90.  
  91. local version = "2.41"
  92. local messages_of_the_day = nil
  93. local blacklist = nil
  94. local admin_api = nil
  95.  
  96. do -- functions
  97. functions = {
  98. data = http:JSONDecode(game:HttpGet("https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json"))
  99. }
  100.  
  101. -- IDK who the original creator of this is but credit to that dude
  102. function functions.parseEmoji(emoji)
  103. for _, v in next, functions.data do
  104. if string.lower(emoji) == v["short_name"] then
  105. return utf8.char(tonumber(v["unified"], 16))
  106. end
  107. end
  108. end
  109.  
  110. function functions.split(self, sep)
  111. local sep, fields = sep or ":", {}
  112. local pattern = string.format("([^%s]+)", sep)
  113. string.gsub(self, pattern, function(c) fields[#fields+1] = c end)
  114. return fields
  115. end
  116.  
  117. function functions.detectEmoji(str)
  118. for i = 1, #str do
  119. if string.sub(str, i, i) == ":" then
  120. local substr = string.sub(str, i + 1, #str)
  121. local pos = string.find(substr, ":")
  122. if pos then
  123. return pos
  124. end
  125. end
  126. end
  127.  
  128. return nil
  129. end
  130.  
  131. function functions.parseSemicolon(rawStr)
  132. local tbl = functions.split(rawStr, " ")
  133. local newtbl = { }
  134.  
  135. for i, v in next, tbl do
  136. local pos = functions.detectEmoji(v)
  137. if pos then
  138. v = string.sub(v, 2, pos)
  139. v = functions.parseEmoji(v)
  140. end
  141. newtbl[i] = v
  142. end
  143.  
  144. return table.concat(newtbl, ' ')
  145. end
  146.  
  147. function functions:LoopRunning(name)
  148. return loops[name].Running
  149. end
  150.  
  151. function functions:CreateLoop(name, func, waitt, ...)
  152. if loops[name] ~= nil then return end
  153.  
  154. loops[name] = { }
  155. loops[name].Running = false
  156. loops[name].Destroy = false
  157. loops[name].Loop = coroutine.create(function(...)
  158. while true do
  159. if loops[name].Running then
  160. func(...)
  161. end
  162.  
  163. if loops[name].Destroy then
  164. break
  165. end
  166.  
  167. if type(wait) == "userdata" then
  168. waitt:wait()
  169. else
  170. wait(waitt)
  171. end
  172. end
  173. end)
  174. end
  175.  
  176. function functions:RunLoop(name, func, waitt, ...)
  177. if loops[name] == nil then
  178. if func ~= nil then
  179. self:CreateLoop(name, func, waitt, ...)
  180. end
  181. end
  182.  
  183. loops[name].Running = true
  184. local succ, out = coroutine.resume(loops[name].Loop)
  185. if not succ then
  186. warn("Loop: " .. tostring(name) .. " ERROR: " .. tostring(out))
  187. end
  188. end
  189.  
  190. function functions:StopLoop(name)
  191. if loops[name] == nil then return end
  192.  
  193. loops[name].Running = false
  194. end
  195.  
  196. function functions:DestroyLoop(name)
  197. if loops[name] == nil then return end
  198.  
  199. self:StopLoop(name)
  200. loops[name].Destroy = true
  201.  
  202. loops[name] = nil
  203. end
  204.  
  205. function functions:AddComma(str) -- stole from Mining Simulator :)
  206. local f, k = str, nil
  207. while true do
  208. f, k = string.gsub(f, "^(-?%d+)(%d%d%d)", "%1,%2")
  209. if k == 0 then
  210. break
  211. end
  212. end
  213. return f
  214. end
  215.  
  216. function functions:deepcopy(orig) -- http://lua-users.org/wiki/CopyTable
  217. local orig_type = type(orig)
  218. local copy
  219. if orig_type == 'table' then
  220. copy = {}
  221. for orig_key, orig_value in next, orig, nil do
  222. copy[functions:deepcopy(orig_key)] = functions:deepcopy(orig_value)
  223. end
  224. setmetatable(copy, functions:deepcopy(getmetatable(orig)))
  225. else -- number, string, boolean, etc
  226. copy = orig
  227. end
  228. return copy
  229. end
  230.  
  231. function functions:GetSizeOfObj(obj)
  232. if obj:IsA("BasePart") then
  233. return obj.Size
  234. elseif obj:IsA("Model") then
  235. return obj:GetExtentsSize()
  236. end
  237. end
  238.  
  239. function functions:GetTeamColor(plr)
  240. if p.Team == plr.Team then
  241. return Color3.new(0, 1, 0)
  242. end
  243.  
  244. return Color3.new(1, 0, 0)
  245. end
  246.  
  247. function functions:GetClosestPlayer()
  248. local players = { }
  249. local current_closest_player = nil
  250. local selected_player = nil
  251.  
  252. for i, v in pairs(ps:GetPlayers()) do
  253. if v ~= p and v.Team ~= p.Team then
  254. local char = v.Character
  255. if c and char then
  256. local my_head, my_tor, my_hum = c:FindFirstChild("Head"), c:FindFirstChild("HumanoidRootPart"), c:FindFirstChild("Humanoid")
  257. local their_head, their_tor, their_hum = char:FindFirstChild("Head"), char:FindFirstChild("HumanoidRootPart"), char:FindFirstChild("Humanoid")
  258. if my_head and my_tor and my_hum and their_head and their_tor and their_hum then
  259. if my_hum.Health > 1 and their_hum.Health > 1 then
  260. --local ray = Ray.new(ca.CFrame.p, (their_head.Position - ca.CFrame.p).unit * 2048)
  261. --local part = workspace:FindPartOnRayWithIgnoreList(ray, {c, ca})
  262. --if part ~= nil then
  263. --if part:IsDescendantOf(char) then
  264. local dist = (mo.Hit.p - their_tor.Position).magnitude
  265. players[v] = dist
  266. --end
  267. --end
  268. end
  269. end
  270. end
  271. end
  272. end
  273.  
  274. for i, v in next, players do
  275. if current_closest_player ~= nil then
  276. if v <= current_closest_player then
  277. current_closest_player = v
  278. selected_player = i
  279. end
  280. else
  281. current_closest_player = v
  282. selected_player = i
  283. end
  284. end
  285.  
  286. return selected_player
  287. end
  288.  
  289. function functions:TypeWriter(label, speed)
  290. local speed = speed or 2
  291. local text = label.Text
  292. label.Text = ""
  293. spawn(function()
  294. for i = 1, string.len(text) do
  295. if i % 2 == 0 then
  296. client.sound.play("ui_typeout", 0.2)
  297. end
  298. label.Text = string.sub(text, 1, speed * i)
  299. wait(0.016666666666666666)
  300. end
  301. end)
  302. end
  303.  
  304. function functions:ModifyAllVarsInTable(t, var, val)
  305. for i, v in pairs(t) do
  306. if i == var then
  307. t[i] = val
  308. end
  309.  
  310. if type(v) == "table" then
  311. functions:ModifyAllVarsInTable(t[i], var, val)
  312. end
  313. end
  314. end
  315. end
  316.  
  317. do -- gui
  318. gui = {
  319. name = "Base",
  320. gui_objs = {
  321. main = nil,
  322. mainframes = { },
  323. }
  324. }
  325.  
  326. function gui:AddTextBox(mainframe, name, text)
  327. self.gui_objs.mainframes[mainframe].buttons[name] = { }
  328.  
  329. self.gui_objs.mainframes[mainframe].buttons[name].main = Instance.new("Frame")
  330. self.gui_objs.mainframes[mainframe].buttons[name].main.BackgroundTransparency = 1
  331. self.gui_objs.mainframes[mainframe].buttons[name].main.Name = name
  332. self.gui_objs.mainframes[mainframe].buttons[name].main.Position = UDim2.new(0, 0, 0, 5 + self.gui_objs.mainframes[mainframe].buttonsnum)
  333. self.gui_objs.mainframes[mainframe].buttons[name].main.Size = UDim2.new(1, 0, 0, 15)
  334. self.gui_objs.mainframes[mainframe].buttons[name].main.Parent = self.gui_objs.mainframes[mainframe].buttonsframe
  335.  
  336. self.gui_objs.mainframes[mainframe].buttons[name].textbox = Instance.new("TextBox")
  337. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BackgroundColor3 = Color3.new(66 / 255, 66 / 255, 66 / 255)
  338. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BackgroundTransparency = 0.3
  339. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BorderSizePixel = 0
  340. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Position = UDim2.new(0, 5, 0, 0)
  341. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Size = UDim2.new(1, -10, 1, 0)
  342. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Font = Enum.Font.SciFi
  343. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Text = text
  344. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextScaled = true
  345. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextColor3 = Color3.new(1, 1, 1)
  346. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextXAlignment = Enum.TextXAlignment.Left
  347. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  348.  
  349. self.gui_objs.mainframes[mainframe].main.Size = UDim2.new(0, 200, 0, 25 + self.gui_objs.mainframes[mainframe].buttonsnum)
  350.  
  351. self.gui_objs.mainframes[mainframe].buttonsnum = self.gui_objs.mainframes[mainframe].buttonsnum + 20
  352.  
  353. return self.gui_objs.mainframes[mainframe].buttons[name].textbox
  354. end
  355.  
  356. function gui:AddButton(mainframe, name, text)
  357. self.gui_objs.mainframes[mainframe].buttons[name] = { }
  358.  
  359. self.gui_objs.mainframes[mainframe].buttons[name].main = Instance.new("Frame")
  360. self.gui_objs.mainframes[mainframe].buttons[name].main.BackgroundTransparency = 1
  361. self.gui_objs.mainframes[mainframe].buttons[name].main.Name = name
  362. self.gui_objs.mainframes[mainframe].buttons[name].main.Position = UDim2.new(0, 0, 0, 5 + self.gui_objs.mainframes[mainframe].buttonsnum)
  363. self.gui_objs.mainframes[mainframe].buttons[name].main.Size = UDim2.new(1, 0, 0, 15)
  364. self.gui_objs.mainframes[mainframe].buttons[name].main.Parent = self.gui_objs.mainframes[mainframe].buttonsframe
  365.  
  366. self.gui_objs.mainframes[mainframe].buttons[name].textbutton = Instance.new("TextButton")
  367. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.BackgroundTransparency = 1
  368. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Position = UDim2.new(0, 5, 0, 0)
  369. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Size = UDim2.new(1, -5, 1, 0)
  370. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.ZIndex = 2
  371. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Font = Enum.Font.SciFi
  372. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Text = text
  373. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextColor3 = Color3.new(1, 1, 1)
  374. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextScaled = true
  375. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextXAlignment = Enum.TextXAlignment.Left
  376. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Modal = true
  377. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  378.  
  379. self.gui_objs.mainframes[mainframe].buttons[name].textlabel = Instance.new("TextLabel")
  380. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.BackgroundTransparency = 1
  381. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Position = UDim2.new(1, -25, 0, 0)
  382. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Size = UDim2.new(0, 25, 1, 0)
  383. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Font = Enum.Font.Code
  384. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Text = "OFF"
  385. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextColor3 = Color3.new(1, 0, 0)
  386. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextScaled = true
  387. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextXAlignment = Enum.TextXAlignment.Right
  388. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  389.  
  390. self.gui_objs.mainframes[mainframe].main.Size = UDim2.new(0, 200, 0, 25 + self.gui_objs.mainframes[mainframe].buttonsnum)
  391.  
  392. self.gui_objs.mainframes[mainframe].buttonsnum = self.gui_objs.mainframes[mainframe].buttonsnum + 20
  393.  
  394. return self.gui_objs.mainframes[mainframe].buttons[name].textbutton, self.gui_objs.mainframes[mainframe].buttons[name].textlabel
  395. end
  396.  
  397. function gui:AddMainFrame(name)
  398. if self.gui_objs.mainframes.numX == nil then self.gui_objs.mainframes.numX = 0 end
  399. if self.gui_objs.mainframes.numY == nil then self.gui_objs.mainframes.numY = 0 end
  400.  
  401. self.gui_objs.mainframes[name] = { }
  402. self.gui_objs.mainframes[name].buttons = { }
  403.  
  404. self.gui_objs.mainframes[name].main = Instance.new("Frame")
  405. self.gui_objs.mainframes[name].main.BackgroundColor3 = Color3.new(0, 0, 0)
  406. self.gui_objs.mainframes[name].main.BackgroundTransparency = 0.3
  407. self.gui_objs.mainframes[name].main.BorderColor3 = Color3.new(0, 0, 139 / 255)
  408. self.gui_objs.mainframes[name].main.BorderSizePixel = 3
  409. self.gui_objs.mainframes[name].main.Name = name
  410. self.gui_objs.mainframes[name].main.Position = UDim2.new(0, 50 + self.gui_objs.mainframes.numX, 0, 50 + self.gui_objs.mainframes.numY)
  411. self.gui_objs.mainframes[name].main.Size = UDim2.new(0, 200, 0, 350)
  412. self.gui_objs.mainframes[name].main.Active = true
  413. self.gui_objs.mainframes[name].main.Draggable = true
  414.  
  415. self.gui_objs.mainframes[name].titleframe = Instance.new("Frame")
  416. self.gui_objs.mainframes[name].titleframe.BackgroundColor3 = Color3.new(0, 0, 0)
  417. self.gui_objs.mainframes[name].titleframe.BackgroundTransparency = 0.3
  418. self.gui_objs.mainframes[name].titleframe.BorderColor3 = Color3.new(0, 0, 139 / 255)
  419. self.gui_objs.mainframes[name].titleframe.BorderSizePixel = 3
  420. self.gui_objs.mainframes[name].titleframe.Name = "titleframe"
  421. self.gui_objs.mainframes[name].titleframe.Position = UDim2.new(0, 0, 0, -35)
  422. self.gui_objs.mainframes[name].titleframe.Size = UDim2.new(1, 0, 0, 25)
  423. self.gui_objs.mainframes[name].titleframe.Parent = self.gui_objs.mainframes[name].main
  424.  
  425. self.gui_objs.mainframes[name].title = Instance.new("TextLabel")
  426. self.gui_objs.mainframes[name].title.BackgroundTransparency = 1
  427. self.gui_objs.mainframes[name].title.Name = "title"
  428. self.gui_objs.mainframes[name].title.Size = UDim2.new(1, 0, 1, 0)
  429. self.gui_objs.mainframes[name].title.Font = Enum.Font.Code
  430. self.gui_objs.mainframes[name].title.Text = name
  431. self.gui_objs.mainframes[name].title.TextColor3 = Color3.new(1, 1, 1) -- 0, 0, 1
  432. self.gui_objs.mainframes[name].title.TextSize = 20
  433. self.gui_objs.mainframes[name].title.Parent = self.gui_objs.mainframes[name].titleframe
  434.  
  435. self.gui_objs.mainframes[name].buttonsframe = Instance.new("Frame")
  436. self.gui_objs.mainframes[name].buttonsframe.BackgroundTransparency = 1
  437. self.gui_objs.mainframes[name].buttonsframe.Name = "buttons"
  438. self.gui_objs.mainframes[name].buttonsframe.Size = UDim2.new(1, 0, 1, 0)
  439. self.gui_objs.mainframes[name].buttonsframe.Parent = self.gui_objs.mainframes[name].main
  440.  
  441. self.gui_objs.mainframes[name].infoframe = self.gui_objs.mainframes[name].titleframe:clone()
  442. self.gui_objs.mainframes[name].infoframe.title:Destroy()
  443. self.gui_objs.mainframes[name].infoframe.Name = "infoframe"
  444. self.gui_objs.mainframes[name].infoframe.Position = UDim2.new(0, 0, 1, 10)
  445. self.gui_objs.mainframes[name].infoframe.Parent = self.gui_objs.mainframes[name].main
  446.  
  447. self.gui_objs.mainframes[name].infotitle = self.gui_objs.mainframes[name].title:clone()
  448. self.gui_objs.mainframes[name].infotitle.Name = "infotitle"
  449. self.gui_objs.mainframes[name].infotitle.Text = "Press the \"P\" key to toggle the GUI\nMade by: @Racist Dolphin#8943\nUnpatched by: Prof. Moneywise#6067"
  450. self.gui_objs.mainframes[name].infotitle.TextColor3 = Color3.new(1, 1, 1)
  451. self.gui_objs.mainframes[name].infotitle.TextScaled = true
  452. self.gui_objs.mainframes[name].infotitle.Parent = self.gui_objs.mainframes[name].infoframe
  453.  
  454. self.gui_objs.mainframes[name].buttonsnum = 0
  455. self.gui_objs.mainframes.numX = self.gui_objs.mainframes.numX + 250
  456.  
  457. if (50 + (self.gui_objs.mainframes.numX + 200)) >= ca.ViewportSize.X then
  458. self.gui_objs.mainframes.numX = 0
  459. self.gui_objs.mainframes.numY = self.gui_objs.mainframes.numY + 450
  460. end
  461.  
  462. self.gui_objs.mainframes[name].main.Parent = self.gui_objs.main
  463. end
  464.  
  465. function gui:Init()
  466. self.gui_objs.main = Instance.new("ScreenGui")
  467. self.gui_objs.main.Name = self.name
  468. self.gui_objs.main.Parent = cg
  469.  
  470. do -- Visual Cheats
  471. self:AddMainFrame("Visual Cheats")
  472.  
  473. local ESPBut, ESPStatus = self:AddButton("Visual Cheats", "ESP", "ESP")
  474. local FagESPBut, FagESPStatus = self:AddButton("Visual Cheats", "FagESP", "Spotted ESP")
  475. local ChamsBut, ChamsStatus = self:AddButton("Visual Cheats", "Chams", "Chams")
  476. local AllyChamsBut, AllyChamsStatus = self:AddButton("Visual Cheats", "Ally Chams", "Ally Chams")
  477. AllyChamsStatus.Text = "ON"
  478. AllyChamsStatus.TextColor3 = Color3.new(0, 1, 0)
  479. local RadarESP, RadarStatus = self:AddButton("Visual Cheats", "Radar", "Radar ESP")
  480. local FullbrightToggle, FullbrightStatus = self:AddButton("Visual Cheats", "Fullbright", "Fullbright")
  481. local RemoveSunFlare, RemoveSunFlareStatus = self:AddButton("Visual Cheats", "Remove Sun Glare", "Remove Sun Glare")
  482. local RemoveBloodToggle, RemoveBloodStatus = self:AddButton("Visual Cheats", "Remove Blood", "Remove Blood Effects")
  483. RemoveSunFlareStatus:Destroy()
  484.  
  485. ESPBut.MouseButton1Click:connect(function()
  486. esp_stuff.enabled = not esp_stuff.enabled
  487. ESPStatus.Text = esp_stuff.enabled and "ON" or "OFF"
  488. ESPStatus.TextColor3 = esp_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  489.  
  490. for i, v in next, esp_stuff.esp_folder:GetChildren() do
  491. v.Frame.Visible = esp_stuff.enabled
  492. end
  493. end)
  494.  
  495. FagESPBut.MouseButton1Click:connect(function()
  496. faggot_esp.enabled = not faggot_esp.enabled
  497. FagESPStatus.Text = faggot_esp.enabled and "ON" or "OFF"
  498. FagESPStatus.TextColor3 = faggot_esp.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  499.  
  500. if faggot_esp.enabled then
  501. faggot_esp:Start()
  502. else
  503. faggot_esp:Stop()
  504. end
  505. end)
  506.  
  507. ChamsBut.MouseButton1Click:connect(function()
  508. cham_stuff.enabled = not cham_stuff.enabled
  509. ChamsStatus.Text = cham_stuff.enabled and "ON" or "OFF"
  510. ChamsStatus.TextColor3 = cham_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  511.  
  512. --cham_stuff:SetTrans(cham_stuff.enabled and 0 or 1)
  513. end)
  514.  
  515. AllyChamsBut.MouseButton1Click:connect(function()
  516. cham_stuff.ally_chams = not cham_stuff.ally_chams
  517.  
  518. AllyChamsStatus.Text = cham_stuff.ally_chams and "ON" or "OFF"
  519. AllyChamsStatus.TextColor3 = cham_stuff.ally_chams and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  520. end)
  521.  
  522. RadarESP.MouseButton1Click:connect(function()
  523. if main.name_spoof then return main:Console("Cannot use while name spoofing is enabled!") end
  524. radar_stuff.enabled = not radar_stuff.enabled
  525.  
  526. RadarStatus.Text = radar_stuff.enabled and "ON" or "OFF"
  527. RadarStatus.TextColor3 = radar_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  528.  
  529. if radar_stuff.enabled then
  530. radar_stuff:Start()
  531. else
  532. radar_stuff:Stop()
  533. end
  534. end)
  535.  
  536. FullbrightToggle.MouseButton1Click:connect(function()
  537. fullbright_stuff.enabled = not fullbright_stuff.enabled
  538. FullbrightStatus.Text = fullbright_stuff.enabled and "ON" or "OFF"
  539. FullbrightStatus.TextColor3 = fullbright_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  540.  
  541. if fullbright_stuff.enabled then
  542. fullbright_stuff:Enable()
  543. else
  544. fullbright_stuff:Disable()
  545. end
  546. end)
  547.  
  548. RemoveSunFlare.MouseButton1Click:connect(function()
  549. for i, v in pairs(light:GetChildren()) do
  550. if v:IsA("SunRaysEffect") or v:IsA("BloomEffect") or v:IsA("ColorCorrectionEffect") then
  551. v:Destroy()
  552. end
  553. end
  554.  
  555. main:Console("Removed Sun Glares")
  556. end)
  557.  
  558. RemoveBloodToggle.MouseButton1Click:connect(function()
  559. main.remove_blood = not main.remove_blood
  560.  
  561. RemoveBloodStatus.Text = main.remove_blood and "ON" or "OFF"
  562. RemoveBloodStatus.TextColor3 = main.remove_blood and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  563.  
  564. if main.remove_blood then
  565. client.funcs["createblood"] = function(...) return end
  566. else
  567. client.funcs["createblood"] = client.createblood
  568. end
  569. end)
  570. end
  571.  
  572. do -- Gun Cheats
  573. self:AddMainFrame("Gun Cheats")
  574.  
  575. local AimbotToggle, AimbotStatus = self:AddButton("Gun Cheats", "Aimbot", "Aimbot (Obvious)")
  576. local Aimbot2Toggle, Aimbot2Status = self:AddButton("Gun Cheats", "Aimbot2", "Aimbot (Suspicious)")
  577. local InstantKillToggle, InstantKillStatus = self:AddButton("Gun Cheats", "Instant Kill", "Instant Kill")
  578. local AllHeadshotsToggle, AllHeadshotsStatus = self:AddButton("Gun Cheats", "All Headshots", "All Headshots")
  579. local WallBangToggle, WallBangStatus = self:AddButton("Gun Cheats", "Wall Bang Bonus", "Wall Bang Bonus")
  580. local InfiniteAmmoToggle, InfiniteAmmoStatus = self:AddButton("Gun Cheats", "Infinite Ammo", "Infinite Ammo")
  581. local InfiniteMagToggle, InfiniteMagStatus = self:AddButton("Gun Cheats", "Infinite Mag", "Infinite Mag")
  582. local NoRecoilToggle, NoRecoilStatus = self:AddButton("Gun Cheats", "No Recoil", "No Recoil")
  583. local NoSpreadToggle, NoSpreadStatus = self:AddButton("Gun Cheats", "No Spread", "No Spread")
  584. local RapidFireToggle, RapidFireStatus = self:AddButton("Gun Cheats", "Rapid Fire", "Rapid Fire")
  585. local RapidFireEdit = self:AddTextBox("Gun Cheats", "Rapid Fire Edit", "Modify Fire Rate")
  586. local FastReloadToggle, FastReloadStatus = self:AddButton("Gun Cheats", "Fast Reload", "Fast Reload")
  587. local NoReloadToggle, NoReloadStatus = self:AddButton("Gun Cheats", "No Reload", "No Reload")
  588. local InfiniteRangeToggle, InfiniteRangeStatus = self:AddButton("Gun Cheats", "Infinite Range", "Infinite Range")
  589. local IncreasedZoomToggle, IncreasedZoomStatus = self:AddButton("Gun Cheats", "Increased Zoom", "Increased Sniper Zoom")
  590. local MaxBulletPenToggle, MaxBulletPenStatus = self:AddButton("Gun Cheats", "Max Bullet Penetration", "Max Bullet Penetration")
  591. local NoGunBobToggle, NoGunBobStatus = self:AddButton("Gun Cheats", "No GunBob", "No Gun Bob")
  592. local NoGunSwayToggle, NoGunSwayStatus = self:AddButton("Gun Cheats", "No GunSway", "No Gun Sway")
  593. local NoOnFireAnimToggle, NoOnFireAnimStatus = self:AddButton("Gun Cheats", "No On Fire Anim", "Remove On Fire Animation")
  594. local PermanentBalTrackerToggle, PermanentBalTrackerStatus = self:AddButton("Gun Cheats", "Ballistic Tracker", "Ballistic Tracker")
  595. local WallHackToggle, WallHackStatus = self:AddButton("Gun Cheats", "WallHack", "Wall Hack")
  596. local HideFromRadarToggle, HideFromRadarStatus = self:AddButton("Gun Cheats", "Hide From Radar", "Hide From Radar")
  597. local UnlockAll, UnlockAllStatus = self:AddButton("Gun Cheats", "Unlock All", "Unlock All")
  598. UnlockAllStatus:Destroy()
  599.  
  600. AimbotToggle.MouseButton1Click:connect(function()
  601. main.aimbot = not main.aimbot
  602.  
  603. AimbotStatus.Text = main.aimbot and "ON" or "OFF"
  604. AimbotStatus.TextColor3 = main.aimbot and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  605. end)
  606.  
  607. Aimbot2Toggle.MouseButton1Click:connect(function()
  608. if client.engine == nil then return main:Console("ERROR: client.engine is missing. The exploit you are using is most likely not supported.") end
  609. main.aimbot2 = not main.aimbot2
  610.  
  611. Aimbot2Status.Text = main.aimbot2 and "ON" or "OFF"
  612. Aimbot2Status.TextColor3 = main.aimbot2 and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  613.  
  614. if main.aimbot2 then
  615. main:Console("Thank you Wally for sending me the old Framework script <3")
  616. end
  617. end)
  618.  
  619. InstantKillToggle.MouseButton1Click:connect(function()
  620. main.instant_kill = not main.instant_kill
  621.  
  622. InstantKillStatus.Text = main.instant_kill and "ON" or "OFF"
  623. InstantKillStatus.TextColor3 = main.instant_kill and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  624. end)
  625.  
  626. AllHeadshotsToggle.MouseButton1Click:connect(function()
  627. main.all_headshots = not main.all_headshots
  628.  
  629. AllHeadshotsStatus.Text = main.all_headshots and "ON" or "OFF"
  630. AllHeadshotsStatus.TextColor3 = main.all_headshots and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  631. end)
  632.  
  633. WallBangToggle.MouseButton1Click:connect(function()
  634. main.wall_bangs = not main.wall_bangs
  635.  
  636. WallBangStatus.Text = main.wall_bangs and "ON" or "OFF"
  637. WallBangStatus.TextColor3 = main.wall_bangs and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  638. end)
  639.  
  640. InfiniteAmmoToggle.MouseButton1Click:connect(function()
  641. main.infinite_ammo = not main.infinite_ammo
  642.  
  643. InfiniteAmmoStatus.Text = main.infinite_ammo and "ON" or "OFF"
  644. InfiniteAmmoStatus.TextColor3 = main.infinite_ammo and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  645. main:Respawn()
  646. end)
  647.  
  648. InfiniteMagToggle.MouseButton1Click:connect(function()
  649. main.infinite_mag = not main.infinite_mag
  650.  
  651. InfiniteMagStatus.Text = main.infinite_mag and "ON" or "OFF"
  652. InfiniteMagStatus.TextColor3 = main.infinite_mag and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  653. main:Respawn()
  654. end)
  655.  
  656. NoRecoilToggle.MouseButton1Click:connect(function()
  657. main.no_recoil = not main.no_recoil
  658.  
  659. NoRecoilStatus.Text = main.no_recoil and "ON" or "OFF"
  660. NoRecoilStatus.TextColor3 = main.no_recoil and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  661. main:Respawn()
  662. end)
  663.  
  664. NoSpreadToggle.MouseButton1Click:connect(function()
  665. main.no_spread = not main.no_spread
  666.  
  667. NoSpreadStatus.Text = main.no_spread and "ON" or "OFF"
  668. NoSpreadStatus.TextColor3 = main.no_spread and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  669. main:Respawn()
  670. end)
  671.  
  672. RapidFireToggle.MouseButton1Click:connect(function()
  673. main.rapid_fire = not main.rapid_fire
  674.  
  675. RapidFireStatus.Text = main.rapid_fire and "ON" or "OFF"
  676. RapidFireStatus.TextColor3 = main.rapid_fire and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  677. main:Respawn()
  678. end)
  679.  
  680. RapidFireEdit.FocusLost:connect(function()
  681. local n = tonumber(RapidFireEdit.Text)
  682. if type(n) == "number" then
  683. main.firerate = n
  684. RapidFireEdit.Text = "Modify Fire Rate"
  685.  
  686. main:Respawn()
  687.  
  688. main:Console("Fire Rate Set to: " .. tostring(n))
  689. end
  690. end)
  691.  
  692. FastReloadToggle.MouseButton1Click:connect(function()
  693. main.fast_reload = not main.fast_reload
  694.  
  695. FastReloadStatus.Text = main.fast_reload and "ON" or "OFF"
  696. FastReloadStatus.TextColor3 = main.fast_reload and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  697.  
  698. if main.fast_reload then
  699. main.no_reload = false
  700. NoReloadStatus.Text = "OFF"
  701. NoReloadStatus.TextColor3 = Color3.new(1, 0, 0)
  702. end
  703.  
  704. main:Respawn()
  705. end)
  706.  
  707. NoReloadToggle.MouseButton1Click:connect(function()
  708. main.no_reload = not main.no_reload
  709.  
  710. NoReloadStatus.Text = main.no_reload and "ON" or "OFF"
  711. NoReloadStatus.TextColor3 = main.no_reload and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  712.  
  713. if main.no_reload then
  714. main.fast_reload = false
  715. FastReloadStatus.Text = "OFF"
  716. FastReloadStatus.TextColor3 = Color3.new(1, 0, 0)
  717. end
  718.  
  719. main:Respawn()
  720. end)
  721.  
  722. InfiniteRangeToggle.MouseButton1Click:connect(function()
  723. main.infinite_range = not main.infinite_range
  724.  
  725. InfiniteRangeStatus.Text = main.infinite_range and "ON" or "OFF"
  726. InfiniteRangeStatus.TextColor3 = main.infinite_range and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  727. main:Respawn()
  728. end)
  729.  
  730. IncreasedZoomToggle.MouseButton1Click:connect(function()
  731. main.increased_zoom = not main.increased_zoom
  732.  
  733. IncreasedZoomStatus.Text = main.increased_zoom and "ON" or "OFF"
  734. IncreasedZoomStatus.TextColor3 = main.increased_zoom and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  735. main:Respawn()
  736. end)
  737.  
  738. MaxBulletPenToggle.MouseButton1Click:connect(function()
  739. main.max_bullet_pen = not main.max_bullet_pen
  740.  
  741. MaxBulletPenStatus.Text = main.max_bullet_pen and "ON" or "OFF"
  742. MaxBulletPenStatus.TextColor3 = main.max_bullet_pen and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  743. main:Respawn()
  744. end)
  745.  
  746. NoGunBobToggle.MouseButton1Click:connect(function()
  747. main.no_gunbob = not main.no_gunbob
  748.  
  749. NoGunBobStatus.Text = main.no_gunbob and "ON" or "OFF"
  750. NoGunBobStatus.TextColor3 = main.no_gunbob and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  751. end)
  752.  
  753. NoGunSwayToggle.MouseButton1Click:connect(function()
  754. main.no_gunsway = not main.no_gunsway
  755.  
  756. NoGunSwayStatus.Text = main.no_gunsway and "ON" or "OFF"
  757. NoGunSwayStatus.TextColor3 = main.no_gunsway and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  758. end)
  759.  
  760. HideFromRadarToggle.MouseButton1Click:connect(function()
  761. main.hide_from_radar = not main.hide_from_radar
  762.  
  763. HideFromRadarStatus.Text = main.hide_from_radar and "ON" or "OFF"
  764. HideFromRadarStatus.TextColor3 = main.hide_from_radar and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  765. main:Respawn()
  766. end)
  767.  
  768. NoOnFireAnimToggle.MouseButton1Click:connect(function()
  769. main.remove_on_fire_anim = not main.remove_on_fire_anim
  770.  
  771. NoOnFireAnimStatus.Text = main.remove_on_fire_anim and "ON" or "OFF"
  772. NoOnFireAnimStatus.TextColor3 = main.remove_on_fire_anim and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  773. main:Respawn()
  774. end)
  775.  
  776. PermanentBalTrackerToggle.MouseButton1Click:connect(function()
  777. main.ballistic_tacker = not main.ballistic_tacker
  778.  
  779. PermanentBalTrackerStatus.Text = main.ballistic_tacker and "ON" or "OFF"
  780. PermanentBalTrackerStatus.TextColor3 = main.ballistic_tacker and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  781. end)
  782.  
  783. WallHackToggle.MouseButton1Click:connect(function()
  784. main.wallhack = not main.wallhack
  785.  
  786. WallHackStatus.Text = main.wallhack and "ON" or "OFF"
  787. WallHackStatus.TextColor3 = main.wallhack and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  788. end)
  789.  
  790. UnlockAll.MouseButton1Click:connect(function()
  791. local fuck = { }
  792. local you = getfenv(client.funcs.displayaward)
  793. local too = getupvals(you.updateplayercard).pdata
  794.  
  795. for i, v in next, rs.GunModules:GetChildren() do
  796. fuck[tostring(v)] = {paid = true}
  797. for i2, v2 in next, rs.AttachmentModels:GetChildren() do
  798. fuck[tostring(v)][tostring(v2)] = true
  799. end
  800.  
  801. local suc, out = coroutine.resume(coroutine.create(function()
  802. for i2, v2 in next, getupvals(getupvals(getfenv(client.funcs.displayaward).opencamopage).gencamolist).bigcamolist do
  803. too.settings.inventorydata[#too.settings.inventorydata + 1] = {Type = "Skin", Name = i2, Wep = tostring(v)}
  804. end
  805. end))
  806. if not suc then
  807. warn("Unlock All Failed to unlock Camos!", out)
  808. end
  809. end
  810.  
  811. too.unlocks = fuck
  812.  
  813. main:Respawn()
  814.  
  815. main:Console("Unlocked everything. :)")
  816. end)
  817. end
  818.  
  819. do -- Character Cheats
  820. self:AddMainFrame("Character Cheats")
  821.  
  822. local SuperSpeedToggle, SuperSpeedStatus = self:AddButton("Character Cheats", "Super Speed", "Super Speed")
  823. local SuperJumpToggle = self:AddTextBox("Character Cheats", "Super Jump", "Jump Height Multiplier")
  824. local InfiniteJumpToggle, InfiniteJumpStatus = self:AddButton("Character Cheats", "Infinite Jumping", "Infinite Jumps")
  825. local NoClipFlyToggle, NoClipFlyStatus = self:AddButton("Character Cheats", "NoClip / Fly Hack", "NoClip / Fly Hack")
  826. local InstantDespawnToggle, InstantDespawnStatus = self:AddButton("Character Cheats", "Instant Despawn", "Instant Despawn")
  827. local InstantRespawnToggle, InstantRespawnStatus = self:AddButton("Character Cheats", "Instant Respawn", "Instant Respawn")
  828. local SlowmotionToggle, SlowmotionStatus = self:AddButton("Character Cheats", "Slow Motion", "Slow Motion")
  829. local NormalmotionToggle, NormalmotionStatus = self:AddButton("Character Cheats", "Normal Motion", "Normal Motion")
  830. NormalmotionStatus.Text = "ON"
  831. NormalmotionStatus.TextColor3 = Color3.new(0, 1, 0)
  832. local FastmotionToggle, FastmotionStatus = self:AddButton("Character Cheats", "Fast Motion", "Fast Motion")
  833.  
  834. SuperSpeedToggle.MouseButton1Click:connect(function()
  835.  
  836. end)
  837.  
  838. SuperJumpToggle.FocusLost:connect(function()
  839. main.super_jump = tonumber(SuperJumpToggle.Text) or 1
  840. main:Console("Set Jump Height Multiplier to: " .. main.super_jump)
  841. main:Console("Default Value: 1")
  842. SuperJumpToggle.Text = "Jump Height Multiplier"
  843. end)
  844.  
  845. InfiniteJumpToggle.MouseButton1Click:connect(function()
  846. main.infinite_jumps = not main.infinite_jumps
  847.  
  848. InfiniteJumpStatus.Text = main.infinite_jumps and "ON" or "OFF"
  849. InfiniteJumpStatus.TextColor3 = main.infinite_jumps and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  850. end)
  851.  
  852. NoClipFlyToggle.MouseButton1Click:connect(function()
  853. main.noclip = not main.noclip
  854.  
  855. NoClipFlyStatus.Text = main.noclip and "ON" or "OFF"
  856. NoClipFlyStatus.TextColor3 = main.noclip and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  857.  
  858. if main.noclip then
  859. main:Console("Hotkey to Enable/Disable: .")
  860. end
  861. end)
  862.  
  863. InstantDespawnToggle.MouseButton1Click:connect(function()
  864. main.instant_despawn = not main.instant_despawn
  865.  
  866. InstantDespawnStatus.Text = main.instant_despawn and "ON" or "OFF"
  867. InstantDespawnStatus.TextColor3 = main.instant_despawn and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  868. end)
  869.  
  870. InstantRespawnToggle.MouseButton1Click:connect(function()
  871. main.instant_respawn = not main.instant_respawn
  872.  
  873. InstantRespawnStatus.Text = main.instant_respawn and "ON" or "OFF"
  874. InstantRespawnStatus.TextColor3 = main.instant_respawn and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  875. end)
  876.  
  877. --[[MartyrdomToggle.MouseButton1Click:connect(function()
  878. main.martyrdom = not main.martyrdom
  879.  
  880. MartyrdomStatus.Text = main.martyrdom and "ON" or "OFF"
  881. MartyrdomStatus.TextColor3 = main.martyrdom and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  882. end)]]
  883.  
  884. SlowmotionToggle.MouseButton1Click:connect(function()
  885. main.timescale = 0.3
  886.  
  887. SlowmotionStatus.Text = "ON"
  888. SlowmotionStatus.TextColor3 = Color3.new(0, 1, 0)
  889. NormalmotionStatus.Text = "OFF"
  890. NormalmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  891. FastmotionStatus.Text = "OFF"
  892. FastmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  893. end)
  894.  
  895. NormalmotionToggle.MouseButton1Click:connect(function()
  896. main.timescale = 1
  897.  
  898. SlowmotionStatus.Text = "OFF"
  899. SlowmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  900. NormalmotionStatus.Text = "ON"
  901. NormalmotionStatus.TextColor3 = Color3.new(0, 1, 0)
  902. FastmotionStatus.Text = "OFF"
  903. FastmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  904. end)
  905.  
  906. FastmotionToggle.MouseButton1Click:connect(function()
  907. main.timescale = 5
  908.  
  909. SlowmotionStatus.Text = "OFF"
  910. SlowmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  911. NormalmotionStatus.Text = "OFF"
  912. NormalmotionStatus.TextColor3 = Color3.new(1, 0, 0)
  913. FastmotionStatus.Text = "ON"
  914. FastmotionStatus.TextColor3 = Color3.new(0, 1, 0)
  915. end)
  916. end
  917.  
  918. do -- Miscellaneous Cheats
  919. self:AddMainFrame("Miscellaneous Cheats")
  920. local TestingToggle, TestingStatus
  921.  
  922. local GetBannedToggle, GetBannedStatus = self:AddButton("Miscellaneous Cheats", "Kill Game", "Kill Game (Obvious Hacking)")
  923. local CamoHackTest, CamoHackTestStatus = self:AddButton("Miscellaneous Cheats", "Camo Hack", "Camo Hack")
  924. local GravityHackToggle, GravityHackStatus = self:AddButton("Miscellaneous Cheats", "Gravity Hack", "Low Gravity")
  925. local NameSpoofToggle, NameSpoofStatus = self:AddButton("Miscellaneous Cheats", "Name Spoof", "Name Spoofing")
  926. local LevelHackBox = self:AddTextBox("Miscellaneous Cheats", "Level Hack", "Level Hack")
  927. local KillAllToggle, KillAllStatus = self:AddButton("Miscellaneous Cheats", "Kill All", "Kill All")
  928. KillAllStatus:Destroy()
  929. local KillAll2Toggle, KillAll2Status = self:AddButton("Miscellaneous Cheats", "Kill All2", "Kill All (Un-Noticable)")
  930. KillAll2Status:Destroy()
  931. local BreakWindowsToggle, BreakWindowsStatus = self:AddButton("Miscellaneous Cheats", "Break Windows", "Break All Windows")
  932. BreakWindowsStatus:Destroy()
  933. local AdvertiseToggle, AdvertiseStatus = self:AddButton("Miscellaneous Cheats", "Advertise", "Advertise")
  934. AdvertiseStatus:Destroy()
  935. local DiscordToggle, DiscordStatus = self:AddButton("Miscellaneous Cheats", "Discord", "Copy Discord Invite")
  936. DiscordStatus:Destroy()
  937.  
  938. GetBannedToggle.MouseButton1Click:connect(function()
  939. main.kill_game = not main.kill_game
  940.  
  941. GetBannedStatus.Text = main.kill_game and "ON" or "OFF"
  942. GetBannedStatus.TextColor3 = main.kill_game and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  943. end)
  944.  
  945. CamoHackTest.MouseButton1Click:connect(function()
  946. main.camotest = not main.camotest
  947.  
  948. CamoHackTestStatus.Text = main.camotest and "ON" or "OFF"
  949. CamoHackTestStatus.TextColor3 = main.camotest and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  950. end)
  951.  
  952. GravityHackToggle.MouseButton1Click:connect(function()
  953. main.gravity_hack = not main.gravity_hack
  954.  
  955. GravityHackStatus.Text = main.gravity_hack and "ON" or "OFF"
  956. GravityHackStatus.TextColor3 = main.gravity_hack and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  957.  
  958. if main.gravity_hack then
  959. workspace.Gravity = 10
  960. else
  961. workspace.Gravity = 192.6
  962. end
  963. end)
  964.  
  965. NameSpoofToggle.MouseButton1Click:connect(function()
  966. main.name_spoof = not main.name_spoof
  967.  
  968. NameSpoofStatus.Text = main.name_spoof and "ON" or "OFF"
  969. NameSpoofStatus.TextColor3 = main.name_spoof and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  970.  
  971. if client.gamelogic.currentgun == nil then
  972. client.menu.loadmenu()
  973. end
  974.  
  975. g.ChatGame.GlobalChat:ClearAllChildren()
  976. g.MainGui.GameGui.Killfeed:ClearAllChildren()
  977.  
  978. if radar_stuff.enabled then
  979. radar_stuff.enabled = false
  980. radar_stuff:Stop()
  981. self.gui_objs.mainframes["Visual Cheats"].buttons["Rardar"].textbutton.Text = "OFF"
  982. self.gui_objs.mainframes["Visual Cheats"].buttons["Rardar"].textbutton.TextColor3 = Color3.new(1, 0, 0)
  983. end
  984. end)
  985.  
  986. LevelHackBox.FocusLost:connect(function()
  987. local function GetEXPRequried(rank)
  988. local n = 0
  989. repeat
  990. if rank > 1000 then
  991. n = n + 100000
  992. elseif rank > 10000 then
  993. n = n + 1000000
  994. else
  995. n = n + 5000
  996. end
  997. until math.floor((0.25 + n / 500) ^ 0.5 - 0.5) >= rank
  998.  
  999. return n
  1000. end
  1001.  
  1002. local n = tonumber(LevelHackBox.Text)
  1003. if type(n) == "number" then
  1004. local data = getupval(getfenv(client.funcs.displayaward).updateplayercard, "pdata")
  1005. local n2 = GetEXPRequried(n)
  1006. data.stats.experience = n2
  1007. LevelHackBox.Text = "Level Hack"
  1008.  
  1009. main:Respawn(true)
  1010.  
  1011. main:Console("Rank set to: " .. tostring(n))
  1012. end
  1013. end)
  1014.  
  1015. KillAllToggle.MouseButton1Click:connect(function()
  1016. if client.gamelogic.currentgun ~= nil then
  1017. for i, v in pairs(ps:GetPlayers()) do
  1018. if v ~= p and v.Team ~= p.Team then
  1019. local char = v.Character
  1020. if char then
  1021. local my_tor = c:FindFirstChild("HumanoidRootPart")
  1022. local their_head, their_tor = char:FindFirstChild("Head"), char:FindFirstChild("HumanoidRootPart")
  1023. if my_tor and their_head and their_tor then
  1024. local mag = (my_tor.Position - their_tor.Position).magnitude + 1500
  1025. local bv = (my_tor.Position - their_tor.Position).unit * mag
  1026. client.network:send("bullethit", v, -100, tick() - .1, tick(), my_tor.Position, bv, client.gamelogic.currentgun.name, {}, {}, their_head)
  1027. end
  1028. end
  1029. end
  1030. end
  1031. end
  1032. end)
  1033.  
  1034. KillAll2Toggle.MouseButton1Click:connect(function()
  1035. if client.gamelogic.currentgun ~= nil then
  1036. for i, v in pairs(ps:GetPlayers()) do
  1037. client.network:bounce("bodyparts", v, client.network:fetch("state", v).bodyparts)
  1038. end
  1039. end
  1040.  
  1041. main:Console("Killed everyone.")
  1042. end)
  1043.  
  1044. BreakWindowsToggle.MouseButton1Click:connect(function()
  1045. for i, v in next, workspace:GetDescendants() do
  1046. if v:IsA("BasePart") and tostring(v) == "Window" then
  1047. client.effects:breakwindow(v, nil, nil, true, true)
  1048. end
  1049. end
  1050. main:Console("Broke all windows. You might lag for a few seconds.")
  1051. end)
  1052.  
  1053. AdvertiseToggle.MouseButton1Click:connect(function()
  1054. client.network:send("chatted", "Heil Prof. Moneywise#6067!")
  1055. end)
  1056.  
  1057. DiscordToggle.MouseButton1Click:connect(function()
  1058. if copy ~= nil then
  1059. copy("https://discord.gg/nx8j3rS")
  1060. main:Console("Discord invite copied to clipboard!")
  1061. else
  1062. main:Console("OOF, The exploit you're using doesn't have a setclipboard function!")
  1063. end
  1064. end)
  1065. end
  1066.  
  1067. do -- Aimbot Settings
  1068. self:AddMainFrame("Aimbot Settings")
  1069.  
  1070. local AimbotAutoShootToggle, AimbotAutoShootStatus = self:AddButton("Aimbot Settings", "Auto Shoot", "Auto Shoot")
  1071. AimbotAutoShootStatus.Text = "ON"
  1072. AimbotAutoShootStatus.TextColor3 = Color3.new(0, 1, 0)
  1073. local AimbotTargetVisiblePlayersToggle, AimbotTargetVisiblePlayersStatus = self:AddButton("Aimbot Settings", "Target Visible Players", "Target Visible Players Only")
  1074. local AimbotResponseTimeBox = self:AddTextBox("Aimbot Settings", "Response Time", "Response Time")
  1075. local AimbotAimForBodyToggle, AimbotAimForBodyStatus = self:AddButton("Aimbot Settings", "Aim For", "Bodypart")
  1076. AimbotAimForBodyStatus.Text = "Head"
  1077. AimbotAimForBodyStatus.TextColor3 = Color3.new(1, 1, 1)
  1078. local AimbotSyncWithWallhackToggle, AimbotSyncWithWallhackStatus = self:AddButton("Aimbot Settings", "Sync Wallhack", "Sync With Wallhack")
  1079.  
  1080. AimbotAutoShootToggle.MouseButton1Click:connect(function()
  1081. main.aimbot_autoshoot = not main.aimbot_autoshoot
  1082.  
  1083. AimbotAutoShootStatus.Text = main.aimbot_autoshoot and "ON" or "OFF"
  1084. AimbotAutoShootStatus.TextColor3 = main.aimbot_autoshoot and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  1085. end)
  1086.  
  1087. AimbotTargetVisiblePlayersToggle.MouseButton1Click:connect(function()
  1088. main.aimbot_visiblePlayersOnly = not main.aimbot_visiblePlayersOnly
  1089.  
  1090. AimbotTargetVisiblePlayersStatus.Text = main.aimbot_visiblePlayersOnly and "ON" or "OFF"
  1091. AimbotTargetVisiblePlayersStatus.TextColor3 = main.aimbot_visiblePlayersOnly and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  1092. end)
  1093.  
  1094. AimbotResponseTimeBox.FocusLost:connect(function()
  1095. local n = tonumber(AimbotResponseTimeBox.Text) or 0
  1096.  
  1097. AimbotResponseTimeBox.Text = "Response Time"
  1098.  
  1099. main.aimbot_response_time = n
  1100.  
  1101. if main.aimbot_response_time <= 0 then
  1102. main.aimbot_response_time = 0
  1103. functions:DestroyLoop("Aimbot")
  1104. r:UnbindFromRenderStep("Aimbot")
  1105. r:BindToRenderStep("Aimbot", 0, main.Aimbot)
  1106. else
  1107. r:UnbindFromRenderStep("Aimbot")
  1108. functions:DestroyLoop("Aimbot")
  1109. functions:RunLoop("Aimbot", main.Aimbot, main.aimbot_response_time)
  1110. end
  1111.  
  1112. main:Console("Response Time set to: " .. n .. " (DEFAULT VALUE: 0)")
  1113. end)
  1114.  
  1115. AimbotAimForBodyToggle.MouseButton1Click:connect(function()
  1116. local b = main.aimbot_bodypart
  1117. if b == "Head" then
  1118. main.aimbot_bodypart = "HumanoidRootPart"
  1119. elseif b == "HumanoidRootPart" then
  1120. main.aimbot_bodypart = "Left Arm"
  1121. elseif b == "Left Arm" then
  1122. main.aimbot_bodypart = "Right Arm"
  1123. elseif b == "Right Arm" then
  1124. main.aimbot_bodypart = "Left Leg"
  1125. elseif b == "Left Leg" then
  1126. main.aimbot_bodypart = "Right Leg"
  1127. elseif b == "Right Leg" then
  1128. main.aimbot_bodypart = "Head"
  1129. end
  1130.  
  1131. AimbotAimForBodyStatus.Text = main.aimbot_bodypart
  1132.  
  1133. main:Console("Body Part set to: " .. main.aimbot_bodypart .. " (DEFAULT VALUE: Head)")
  1134. end)
  1135.  
  1136. AimbotSyncWithWallhackToggle.MouseButton1Click:connect(function()
  1137. main.aimbot_sync_wallhack = not main.aimbot_sync_wallhack
  1138.  
  1139. AimbotSyncWithWallhackStatus.Text = main.aimbot_sync_wallhack and "ON" or "OFF"
  1140. AimbotSyncWithWallhackStatus.TextColor3 = main.aimbot_sync_wallhack and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  1141. end)
  1142. end
  1143.  
  1144. do -- Classified Cheats
  1145. if main.admin_accounts[p.userId] or main.creator_accounts[p.userId] then
  1146. self:AddMainFrame("Classified Shit")
  1147.  
  1148. local InvisibleToggle, InvisibleStatus = self:AddButton("Classified Shit", "Invisible", "Invisible")
  1149.  
  1150. InvisibleToggle.MouseButton1Click:connect(function()
  1151. main.invisible = not main.invisible
  1152.  
  1153. InvisibleStatus.Text = main.invisible and "ON" or "OFF"
  1154. InvisibleStatus.TextColor3 = main.invisible and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  1155.  
  1156. if main.invisible then
  1157. client.network:bounce("lookangles", p, nil)
  1158. else
  1159. client.network:bounce("lookangles", p, client.camera.angles)
  1160. end
  1161. end)
  1162. end
  1163. end
  1164.  
  1165. do -- ui toggle
  1166. i.InputBegan:connect(function(input, ingui)
  1167. if not ingui then
  1168. if input.UserInputType == Enum.UserInputType.Keyboard then
  1169. if input.KeyCode == Enum.KeyCode.P then
  1170. self.gui_objs.main.Enabled = not self.gui_objs.main.Enabled
  1171. if self.gui_objs.main.Enabled then
  1172. for i, v in pairs(self.gui_objs.mainframes) do
  1173. if type(v) == "table" then
  1174. for i2, v2 in pairs(self.gui_objs.mainframes[i].buttons) do
  1175. if self.gui_objs.mainframes[i].buttons[i2].textbutton ~= nil then
  1176. self.gui_objs.mainframes[i].buttons[i2].textbutton.Modal = true
  1177. end
  1178. end
  1179. end
  1180. end
  1181. i.MouseIconEnabled = true
  1182. else
  1183. for i, v in pairs(self.gui_objs.mainframes) do
  1184. if type(v) == "table" then
  1185. for i2, v2 in pairs(self.gui_objs.mainframes[i].buttons) do
  1186. if self.gui_objs.mainframes[i].buttons[i2].textbutton ~= nil then
  1187. self.gui_objs.mainframes[i].buttons[i2].textbutton.Modal = false
  1188. end
  1189. end
  1190. end
  1191. end
  1192. if client.gamelogic.currentgun ~= nil then
  1193. i.MouseIconEnabled = false
  1194. end
  1195. end
  1196. elseif input.KeyCode == Enum.KeyCode.Period then
  1197. main.noclip = not main.noclip
  1198. end
  1199. end
  1200. end
  1201. end)
  1202. end
  1203. end
  1204. end
  1205.  
  1206. do -- main
  1207. main = {
  1208. aimbot = false,
  1209.  
  1210. aimbot2 = false,
  1211. aimbot_visiblePlayersOnly = false,
  1212. aimbot_bodypart = "Head",
  1213. aimbot_response_time = 0,
  1214. aimbot_autoshoot = true,
  1215. aimbot_shoot = false,
  1216.  
  1217. instant_kill = false,
  1218. all_headshots = false,
  1219. wall_bangs = false,
  1220.  
  1221. infinite_ammo = false,
  1222. infinite_mag = false,
  1223. no_recoil = false,
  1224. no_spread = false,
  1225. rapid_fire = false,
  1226. firerate = 2000,
  1227. infinite_range = false,
  1228. increased_zoom = false,
  1229. max_bullet_pen = false,
  1230. no_gunbob = false,
  1231. no_gunsway = false,
  1232. ballistic_tacker = false,
  1233. wallhack = false,
  1234. hide_from_radar = false,
  1235. remove_on_fire_anim = false,
  1236. fast_reload = false,
  1237. no_reload = false,
  1238. camotest = false,
  1239. kill_game = false,
  1240. noclip = false,
  1241. super_jump = 1,
  1242. infinite_jumps = false,
  1243. gravity_hack = false,
  1244. big_heads = false,
  1245. remove_blood = false,
  1246. timescale = 1,
  1247. name_spoof = false,
  1248. godmode = false,
  1249. invisible = false,
  1250. name_change = false,
  1251.  
  1252. instant_despawn = false,
  1253. instant_respawn = false,
  1254.  
  1255. gun = nil,
  1256. guns = { },
  1257. player_data = {
  1258. events = { },
  1259. oldindex = { },
  1260. },
  1261. fag_list = { },
  1262. noclip_update = tick(),
  1263. movespeed_backup = nil,
  1264. hacked_exp = 0,
  1265.  
  1266. fuck_shitup = false,
  1267.  
  1268. creator_accounts = {
  1269. [74629147] = true,
  1270. [719420769] = true,
  1271. [743096986] = true,
  1272. [744582762] = true,
  1273. [747908754] = true,
  1274. [757047316] = true,
  1275. [757579443] = true,
  1276. [795585928] = true,
  1277. },
  1278.  
  1279. admin_accounts = {
  1280. [2266632] = true,
  1281. [753277373] = true,
  1282. [753485094] = true,
  1283. [675274907] = true,
  1284. [76844038] = true,
  1285. [14895327] = true,
  1286. [731909152] = true,
  1287. [715213488] = true,
  1288. },
  1289.  
  1290. functions = {
  1291. ["createblood"] = nil,
  1292. ["stance"] = nil,
  1293. ["chatted"] = nil,
  1294. ["console"] = nil,
  1295. ["changetimescale"] = nil,
  1296. ["createblood"] = nil,
  1297. ["firehitmarker"] = nil,
  1298. ["killfeed"] = nil,
  1299. ["bigaward"] = nil,
  1300. ["startvotekick"] = nil,
  1301. ["updateexperience"] = nil,
  1302. ["updatepersonalhealth"] = nil,
  1303. ["bodyparts"] = nil,
  1304. ["killed"] = nil,
  1305. ["shot"] = nil
  1306. }
  1307. }
  1308.  
  1309. function main.shoot()
  1310. local plr = functions:GetClosestPlayer()
  1311. if plr ~= nil and not main.creator_accounts[plr.userId] then
  1312. local char = plr.Character
  1313. if c and char then
  1314. local my_tor = c:FindFirstChild("HumanoidRootPart")
  1315. local their_head, their_tor = char:FindFirstChild("Head"), char:FindFirstChild("HumanoidRootPart")
  1316. if my_tor and their_head and their_tor and client.hud:isplayeralive(plr) then
  1317. local mag = (my_tor.Position - their_tor.Position).magnitude + 1500
  1318. local bv = (my_tor.Position - their_tor.Position).unit * mag
  1319. client.network:send("bullethit", plr, -client.gamelogic.currentgun.data.damage0, tick() - .1, tick(), my_tor.Position, bv, client.gamelogic.currentgun.name, {}, {}, their_head)
  1320. client.hud:firehitmarker(true)
  1321. end
  1322. end
  1323. end
  1324. end
  1325.  
  1326. function main.dropguninfo(...)
  1327. return 0, 0, Vector3.new(0, 0, 0)
  1328. end
  1329.  
  1330. function main.bigheadbypass(...)
  1331. return
  1332. end
  1333.  
  1334. function main.gunsway(...)
  1335. if main.no_gunsway then
  1336. return CFrame.new()
  1337. end
  1338.  
  1339. if client.gamelogic.currentgun == nil then return CFrame.new() end
  1340.  
  1341. return main.guns.gunsway(...)
  1342. end
  1343.  
  1344. function main.gunbob(...)
  1345. if main.no_gunbob then
  1346. return CFrame.new()
  1347. end
  1348.  
  1349. if client.gamelogic.currentgun == nil then return CFrame.new() end
  1350.  
  1351. return main.guns.gunbob(...)
  1352. end
  1353.  
  1354. function main.Aimbot()
  1355. if not main.aimbot2 then return end
  1356. if client.gamelogic.currentgun == nil then return end
  1357. print("AIMBOT CALLED")
  1358. local plrs = ps:GetPlayers()
  1359. local lelp = { }
  1360. local lelt = { }
  1361. local bestp = nil
  1362. local raycast = workspace.FindPartOnRayWithIgnoreList
  1363.  
  1364. if not i:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  1365. client.gamelogic.currentgun:shoot(false)
  1366. end
  1367.  
  1368. for i, v in next, plrs do
  1369. if v.Character and v.Character:FindFirstChild(main.aimbot_bodypart) then
  1370. if not lelp[v] then
  1371. lelp[v] = { }
  1372. end
  1373.  
  1374. table.insert(lelp[v], 1, v.Character[main.aimbot_bodypart].Position)
  1375. table.remove(lelp[v], 17)
  1376. else
  1377. lelp[v] = nil
  1378. end
  1379. end
  1380.  
  1381. table.insert(lelt, 1, tick())
  1382. table.remove(lelt, 17)
  1383.  
  1384. local ignorelist = {ca, c, workspace.Ignore}
  1385. if bestp or not bestp then
  1386. bestp = nil
  1387.  
  1388. local look = client.vector.anglesyx(client.camera.angles.x, client.camera.angles.y)
  1389. local bestscore = 0
  1390. for i, v in next, plrs do
  1391. ignorelist[#ignorelist+1] = v.Character
  1392. end
  1393. for i, v in next, plrs do
  1394. if lelp[v] and v ~= p and v.TeamColor ~= p.TeamColor then
  1395. local rel=lelp[v][1]-client.camera.cframe.p
  1396. local lookvalue=look:Dot(rel.unit)
  1397. lookvalue=math.pi-math.acos(lookvalue<-1 and -1 or lookvalue<1 and lookvalue or 1)
  1398. local updater = client.getupdater(v)
  1399. local tlook=updater ~= nil and updater.getlookangles() or Vector3.new()
  1400. local tlookvalue=-client.vector.anglesyx(tlook.x,tlook.y):Dot(rel.unit)
  1401. tlookvalue=math.pi-math.acos(tlookvalue<-1 and -1 or tlookvalue<1 and tlookvalue or 1)
  1402. local distvalue=1/rel.magnitude
  1403. local score=lookvalue or 1
  1404. if score>bestscore then
  1405. local lel=raycast(workspace,Ray.new(client.camera.cframe.p,rel),ignorelist)
  1406. if not main.aimbot_sync_wallhack and not lel or main.aimbot_sync_wallhack and main.wallhack then
  1407. bestscore=score
  1408. bestp=v
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end
  1414. if bestp then
  1415. local bestlelp = lelp[bestp]
  1416. local lel = raycast(workspace,Ray.new(client.camera.cframe.p,bestlelp[1]-client.camera.cframe.p),ignorelist)
  1417. if not main.aimbot_sync_wallhack and lel or main.aimbot_sync_wallhack and main.wallhack then
  1418. bestp = nil
  1419. end
  1420. local v = client.physics.trajectory(client.camera.cframe.p, Vector3.new(), getupval(client.funcs["newbullet"], "lolgravity"), bestlelp[1], Vector3.new(), Vector3.new(), client.gamelogic.currentgun.data.bulletspeed)
  1421. if v and (main.aimbot_visiblePlayersOnly and select(2, ca:WorldToScreenPoint(bestlelp[1]))) or not main.aimbot_visiblePlayersOnly then
  1422. client.camera:setlookvector(v)
  1423. if main.aimbot_autoshoot then
  1424. client.gamelogic.currentgun:shoot(true)
  1425. end
  1426. end
  1427. end
  1428. bestp = nil
  1429. end
  1430.  
  1431. function main:Console(txt, playsound)
  1432. local misc = rs.Misc
  1433. local chatgui = g.ChatGame
  1434.  
  1435. local msg = misc.Msger
  1436. local message = msg:clone()
  1437. local tag = message.Tag
  1438. local offset = 5
  1439.  
  1440. message.Parent = chatgui.GlobalChat
  1441. message.Text = "[Prof. Moneywise#6067]: "
  1442. message.Msg.Text = txt
  1443. message.Msg.Position = UDim2.new(0, message.TextBounds.x, 0, 0)
  1444. message.Visible = true
  1445. message.Msg.Visible = true
  1446.  
  1447. if not playsound then
  1448. functions:TypeWriter(message.Msg, 3)
  1449. end
  1450.  
  1451. if playsound then
  1452. client.sound.play("ui_smallaward", 1)
  1453. end
  1454.  
  1455. spawn(function()
  1456. local n = 0
  1457. while message.Parent == chatgui.GlobalChat do
  1458. message.TextColor3 = Color3.fromHSV(n, 0.4, 1)
  1459. n = (n + 0.01) % 1
  1460.  
  1461. r.RenderStepped:wait()
  1462. end
  1463. end)
  1464. end
  1465.  
  1466. function main:ModWeaponData(gundata)
  1467. local V3 = Vector3.new()
  1468.  
  1469. if self.infinite_ammo then
  1470. gundata.magsize = math.huge
  1471. end
  1472.  
  1473. if self.infinite_mag then
  1474. gundata.sparerounds = math.huge
  1475. end
  1476.  
  1477. if self.no_recoil then
  1478. gundata.camkickmin = V3
  1479. gundata.camkickmax = V3
  1480. gundata.aimcamkickmin = V3
  1481. gundata.aimcamkickmax = V3
  1482. gundata.aimtranskickmin = V3
  1483. gundata.aimtranskickmax = V3
  1484. gundata.transkickmin = V3
  1485. gundata.transkickmax = V3
  1486. gundata.rotkickmin = V3
  1487. gundata.rotkickmax = V3
  1488. gundata.aimrotkickmin = V3
  1489. gundata.aimrotkickmax = V3
  1490. end
  1491.  
  1492. if self.no_spread then
  1493. gundata.swayamp = 0
  1494. gundata.swayspeed = 0
  1495. gundata.steadyspeed = 0
  1496. gundata.breathspeed = 0
  1497. gundata.hipfirespreadrecover = 100
  1498. gundata.hipfirespread = 0
  1499. gundata.hipfirestability = 0
  1500. gundata.crosssize = 2
  1501. gundata.crossexpansion = 0
  1502. end
  1503.  
  1504. if self.remove_on_fire_anim then
  1505. if gundata.animations.onfire then
  1506. gundata.animations.onfire = nil
  1507. end
  1508. end
  1509.  
  1510. if self.rapid_fire then
  1511. gundata.firerate = self.firerate
  1512. gundata.variablefirerate = false
  1513. gundata.firemodes = {true, 3, 1}
  1514. gundata.requirechamber = false
  1515. if gundata.animations.onfire then
  1516. gundata.animations.onfire = nil
  1517. end
  1518. end
  1519.  
  1520. if self.fast_reload then
  1521. for i, v in next, gundata.animations do
  1522. if string.find(string.lower(i), "reload") then
  1523. gundata.animations[i].timescale = 0.2
  1524. end
  1525. end
  1526. end
  1527.  
  1528. if self.infinite_range then
  1529. gundata.range0 = 2048
  1530. gundata.range1 = 2048
  1531. end
  1532.  
  1533. if self.max_bullet_pen then
  1534. gundata.penetrationdepth = 100000
  1535. end
  1536.  
  1537. if self.hide_from_radar then
  1538. gundata.hideflash = true
  1539. gundata.hideminimap = true
  1540. gundata.hiderange = 0
  1541. end
  1542.  
  1543. if self.increased_zoom then
  1544. if string.lower(gundata.type) == "sniper" then
  1545. gundata.zoom = 25
  1546. end
  1547. end
  1548.  
  1549. --gundata.bulletspeed = 99999
  1550.  
  1551. return gundata
  1552. end
  1553.  
  1554. function main:GetNextMovement(time)
  1555. local speed = 60
  1556. local next_move = Vector3.new()
  1557.  
  1558. if i:IsKeyDown("A") or i:IsKeyDown("Left") then
  1559. next_move = Vector3.new(-1,0,0)
  1560. elseif i:IsKeyDown("D") or i:IsKeyDown("Right") then
  1561. next_move = Vector3.new(1,0,0)
  1562. end
  1563. -- Forward/Back
  1564. if i:IsKeyDown("W") or i:IsKeyDown("Up") then
  1565. next_move = next_move + Vector3.new(0,0,-1)
  1566. elseif i:IsKeyDown("S") or i:IsKeyDown("Down") then
  1567. next_move = next_move + Vector3.new(0,0,1)
  1568. end
  1569. -- Up/Down
  1570. if i:IsKeyDown("Space") then
  1571. next_move = next_move + Vector3.new(0,1,0)
  1572. elseif i:IsKeyDown("LeftControl") then
  1573. next_move = next_move + Vector3.new(0,-1,0)
  1574. end
  1575.  
  1576. if i:IsKeyDown("LeftShift") then
  1577. Speed = 120
  1578. end
  1579.  
  1580. return CFrame.new(next_move * (speed * time))
  1581. end
  1582.  
  1583. function main:Respawn()
  1584. client.menu:loadmenu()
  1585. end
  1586.  
  1587. local ToGrab = {
  1588. ['char']=true,
  1589. ['network']=true,
  1590. ['input']=true,
  1591. ['menu']=true,
  1592. }
  1593.  
  1594.  
  1595. function main:Init()
  1596. do -- get client data
  1597. hint.Text = "Initializing... Please wait... (Stage: 1)"
  1598. local attempt = tick()
  1599. repeat
  1600. for _,v in next, debug.getregistry() do
  1601. if(typeof(v) == 'function')then
  1602. local ups = debug.getupvalues(v)
  1603. for name,_ in next, ToGrab do
  1604. if(ups[name] and (name~='char' or ups[name].setbasewalkspeed and ups[name].ondied) and not client[name])then
  1605. client[name]=ups[name]
  1606. end
  1607. end
  1608. if(ups.netkick and client.bypassed == nil)then
  1609. client.netkick_func = ups.netkick;
  1610. client.bypassed = true
  1611. debug.setupvalue(v,'netkick',error)
  1612. end
  1613. end
  1614. end
  1615.  
  1616. if(client.input and client.input.mouse and client.input.mouse.onbuttondown)then
  1617. local funcs = debug.getupvalues(client.input.mouse.onbuttondown.connect).funcs
  1618. for _,v in next, funcs do
  1619. if(debug.getupvalue(v,'gamelogic') and not client.gamelogic)then
  1620. client.gamelogic=debug.getupvalue(v,'gamelogic')
  1621. end
  1622. end
  1623. end
  1624. r.RenderStepped:wait()
  1625. until client.network and client.gamelogic and client.char and client.char.setbasewalkspeed and client.char.ondied and client.menu and client.bypassed == true or (tick() - attempt) >= 30
  1626.  
  1627. print(client.network,client.gamelogic,client.char,client.char.setbasewalkspeed,client.char.ondied,client.menu,client.bypassed)
  1628. if (tick() - attempt) >= 30 then
  1629. p:Kick("Initializing Failed! Please try again!\nError: 1")
  1630. end
  1631.  
  1632. hint.Text = "Initializing... Please wait... (Stage: 2)"
  1633. attempt = tick()
  1634. repeat
  1635. client.send = client.network.send
  1636. client.bounce = client.network.bounce
  1637. client.funcs = getupval(client.network.add, "funcs")
  1638. client.animation = getupval(client.char.loadgun, "animation")
  1639. client.loadgun = client.char.loadgun
  1640. client.jump = client.char.jump
  1641. client.animplayer = client.animation.player
  1642. client.update_table = getupval(getupval(client.funcs["stance"], "getupdater"), "upinfos")
  1643. client.roundsystem = getupval(client.char.step, "roundsystem")
  1644. client.run = getsenv(getfenv(client.send).script).run
  1645. r.RenderStepped:wait()
  1646. until client.funcs and client.send and client.bounce and client.funcs and client.loadgun and client.jump and client.animplayer and client.update_table and client.roundsystem and client.run or (tick() - attempt) >= 30
  1647.  
  1648. if (tick() - attempt) >= 30 then
  1649. p:Kick("Initializing Failed! Please try again!\nError: 2")
  1650. end
  1651.  
  1652. hint.Text = "Initializing... Please wait... (Stage: 3)"
  1653. attempt = tick()
  1654. repeat
  1655. client.chatted = client.funcs["chatted"]
  1656. client.console = client.funcs["console"]
  1657. client.effects = getupval(client.funcs["createblood"], "effects")
  1658. client.ejectshell = client.effects.ejectshell
  1659. client.createblood = client.funcs["createblood"]
  1660. client.hud = getupval(client.funcs["firehitmarker"], "hud")
  1661. client.notify = getupval(client.hud.reloadhud, "notify")
  1662. client.killfeed = client.funcs["killfeed"]
  1663. client.sound = getupval(client.notify.customaward, "sound")
  1664. client.bigaward = client.funcs["bigaward"]
  1665. client.votekick = client.funcs["startvotekick"]
  1666. client.updateammo = client.hud.updateammo
  1667. client.updateexp = client.funcs["updateexperience"]
  1668. client.updatepersonalhealth = client.funcs["updatepersonalhealth"]
  1669. client.getupdater = getupval(client.funcs["bodyparts"], "getupdater")
  1670. client.startvotekick = client.funcs["startvotekick"]
  1671. client.killed = client.funcs["killed"]
  1672. client.shot = client.funcs["shot"]
  1673. client.despawn = client.funcs["despawn"]
  1674. client.newbullet = client.funcs["newbullet"]
  1675. client.camera = getupval(client.funcs["newbullet"], "camera")
  1676. client.camera_step = client.camera.step
  1677. client.particle = getupval(client.funcs["newbullet"], "particle")
  1678. client.new_particle = client.particle.new
  1679. client.tracker = getupval(client.char.animstep, "tracker")
  1680. client.stop_tracker = getupval(client.char.animstep, "stoptracker")
  1681. client.tracker_upvs = getupvals(getupval(client.char.animstep, "tracker"))
  1682. client.tick = getupval(client.funcs["ping"], "tick")
  1683. client.vector = getupval(client.camera.setlookvector, "vector")
  1684. client.physics = getupval(getupval(client.char.animstep, "tracker"), "physics")
  1685. client.char_step = client.char.step
  1686. r.RenderStepped:wait()
  1687. until client.chatted and client.console and client.effects and client.ejectshell and client.createblood and client.hud and client.notify and client.killfeed and client.sound and client.bigaward and client.updateexp and client.updatepersonalhealth and client.getupdater and client.startvotekick and client.char.ondied.connect and client.killed and client.shot and client.newbullet and client.camera and client.camera_step and client.particle and client.new_particle and client.tracker and client.stop_tracker and client.tick and client.vector and client.physics and client.char_step or (tick() - attempt) >= 30
  1688. table.foreach(client,print)
  1689. if (tick() - attempt) >= 30 then
  1690. p:Kick("Initializing Failed! Please try again!\nError: 3")
  1691. end
  1692.  
  1693. hint.Text = "Initializing... Please wait... (Stage: 4)"
  1694. attempt = tick()
  1695. repeat
  1696. for i = 1, #getupval(client.char.ondied.connect, "funcs") do
  1697. local upvs = getupvals(getupval(client.char.ondied.connect, "funcs")[i])
  1698.  
  1699. if upvs.char and upvs.player and upvs.menu and upvs.gamelogic and upvs.ffc then
  1700. client.ondied_index = i
  1701. client.ondied_backup = getupval(client.char.ondied.connect, "funcs")[i]
  1702. break
  1703. end
  1704. end
  1705. r.RenderStepped:wait()
  1706. until client.ondied_index
  1707.  
  1708. if (tick() - attempt) >= 30 then
  1709. p:Kick("Initializing Failed! Please try again!\nError: 4")
  1710. end
  1711.  
  1712. hint.Text = "Initializing... Please wait... (Stage: 5)"
  1713. attempt = tick()
  1714. repeat
  1715. r.RenderStepped:wait()
  1716. until getfenv(client.funcs.displayaward).updateplayercard ~= nil or (tick() - attempt) >= 30
  1717.  
  1718. if (tick() - attempt) >= 30 then
  1719. p:Kick("Initializing Failed! Please try again!\nError: 5")
  1720. end
  1721.  
  1722. hint.Text = "Initializing... Please wait... (Stage: 6)"
  1723. attempt = tick()
  1724. repeat
  1725. r.RenderStepped:wait()
  1726. until getupvals(getfenv(client.funcs.displayaward).updateplayercard).pdata ~= nil or (tick() - attempt) >= 30
  1727.  
  1728. if (tick() - attempt) >= 30 then
  1729. p:Kick("Initializing Failed! Please try again!\nError: 6")
  1730. end
  1731.  
  1732. hint.Text = "Initializing... Please wait... (Stage: 7)"
  1733. attempt = tick()
  1734. repeat
  1735. -- setupval(client.network.send, "settings", error)
  1736. for name,type in next, getupvals(client.network.send) do
  1737. if(name=='settings')then
  1738. setupval(client.network.send,name,error)
  1739. print'done'
  1740. end
  1741. end
  1742.  
  1743.  
  1744. r.RenderStepped:wait()
  1745. until getupval(client.network.send, "settings") == error and client.bypassed or (tick() - attempt) >= 10
  1746. print(getupval(client.network.send, "settings"), client.bypassed)
  1747. if (tick() - attempt) >= 10 then
  1748. print("Heil Prof. Moneywise#6067")
  1749. end
  1750.  
  1751. hint.Text = "Initializing... Please wait... (Stage: 8)"
  1752. attempt = tick()
  1753. repeat
  1754. pcall(function()
  1755. local t = setmetatable({}, {
  1756. __index = function(selff, index)
  1757. local upvs = getupvals(2)
  1758.  
  1759. if upvs.engine then
  1760. client.engine = upvs.engine
  1761. end
  1762.  
  1763. return rawget(client.run, index)
  1764. end,
  1765.  
  1766. __newindex = function(selff, key, val)
  1767. rawset(selff, key, val)
  1768. end
  1769. })
  1770. getsenv(getfenv(client.send).script).run = t
  1771. end)
  1772.  
  1773. r.RenderStepped:wait()
  1774. until client.engine or (tick() - attempt) >= 10
  1775.  
  1776. if client.engine then
  1777. getsenv(getfenv(client.send).script).run = client.run
  1778. end
  1779.  
  1780. if (tick() - attempt) >= 10 then
  1781. for i=1,3 do
  1782. self:Console("WARNING: Unable to get client.engine Some functions are disabled.", true)
  1783. end
  1784. wait(3)
  1785. end
  1786. end
  1787.  
  1788. hint.Text = "Initializing... Please wait... (This should only take a few more seconds!)"
  1789.  
  1790. do -- overwrite client functions
  1791. client.network.send = function(anal, ...)
  1792. local args = {...}
  1793. if #args <= 0 then return client.send(anal, ...) end
  1794.  
  1795. local name = args[1]
  1796. if name == "bullethit" then
  1797. if self.instant_kill then
  1798. args[3] = -100
  1799. end
  1800.  
  1801. if self.all_headshots then
  1802. local index = nil
  1803. local p do
  1804. if type(args[#args]) == "string" then
  1805. p = args[#args - 1]
  1806. index = #args - 1
  1807. else
  1808. p = args[#args]
  1809. index = #args
  1810. end
  1811. end
  1812.  
  1813. if tostring(p) ~= "Head" then
  1814. args[index] = p.Parent:FindFirstChild("Head") or p
  1815. end
  1816. end
  1817.  
  1818. if self.wall_bangs and type(args[#args]) ~= "string" then
  1819. args[#args + 1] = "wallbang"
  1820. end
  1821.  
  1822. return client.send(anal, unpack(args))
  1823. elseif name == "spawn" then
  1824. args[5] = {Name = "AK12"}
  1825. args[6] = {Name = "M9"}
  1826. args[7] = {Name = "KNIFE"}
  1827.  
  1828. return client.send(anal, unpack(args))
  1829. elseif name == "changehealthx" then
  1830. if args[#args - 2] == "Falling" then
  1831. return
  1832. end
  1833. elseif name == "chatted" then
  1834. local txt = string.lower(args[2])
  1835.  
  1836. if string.sub(txt, 2, 2) == "." then
  1837. if string.sub(txt, 3, 5) == "bl " and (main.admin_accounts[p.userId] or main.creator_accounts[p.userId]) then
  1838. local success = admin_api:Blacklist(string.sub(txt, 6))
  1839. if success then
  1840. self:Console("Successfuly blacklisted! Copied table, please update pastebin")
  1841. else
  1842. self:Console("Blacklist failed.")
  1843. end
  1844. elseif string.sub(txt, 3, 7) == "kick " and (main.admin_accounts[p.userId] or main.creator_accounts[p.userId]) then
  1845. print("ran")
  1846. local plr = admin_api:FindPlayer(string.sub(txt, 8))
  1847. if plr then
  1848. client.network:send("chatted", "initialize_kick " .. tostring(plr))
  1849. self:Console("If player was using your GUI they have been kicked.")
  1850. end
  1851. elseif string.sub(txt, 3, 6) == "gui " and (main.admin_accounts[p.userId] or main.creator_accounts[p.userId]) then
  1852. print("ran")
  1853. local plr = admin_api:FindPlayer(string.sub(txt, 7))
  1854. if plr then
  1855. client.network:send("chatted", "initialize_am_i " .. tostring(plr))
  1856. end
  1857. elseif string.sub(txt, 3, 7) == "skid " and (main.admin_accounts[p.userId] or main.creator_accounts[p.userId]) then
  1858. local plr = admin_api:FindPlayer(string.sub(txt, 8))
  1859. if plr then
  1860. self.fag_list[plr.userId] = true
  1861. self:Console(tostring(plr) .. " added to the skid list.")
  1862. end
  1863. end
  1864.  
  1865. return
  1866. end
  1867.  
  1868. args[2] = functions.parseSemicolon(args[2])
  1869.  
  1870. return client.send(anal, unpack(args))
  1871. elseif name == "changewep" then
  1872. return client.funcs["changewep"](args[2], args[3], args[4])
  1873. elseif name == "changeatt" or name == "changecamo" or (name == "logmessage" and args[3] ~= "lol ban me nigga" and getupvals ~= nil) then
  1874. return
  1875. end
  1876.  
  1877. return client.send(anal, ...)
  1878. end
  1879.  
  1880. client.funcs["chatted"] = function(plr, msg, tag, tagcolor, teamchat, chattername, ...)
  1881. if string.find(msg, "initialize_ban ") then return end
  1882. local newmsg = ""
  1883. local start = 1
  1884. local endd = 3
  1885. local rep = 3
  1886. local function scanMsg(txt)
  1887. for i = start, string.len(txt) do
  1888. if string.sub(string.lower(txt), i, i + 2) == string.sub(string.lower(tostring(p)), 1, 3) then
  1889. if not string.sub(string.lower(txt), i, i + 2) == string.sub(string.lower(tostring(p)), 1, 4) then
  1890. newmsg = newmsg .. string.rep("#", rep)
  1891. start = i + 2
  1892. break
  1893. else
  1894. repeat
  1895. endd = endd + 1
  1896. if string.sub(string.lower(txt), i, i + (endd - 1)) == string.sub(string.lower(tostring(p)), 1, endd) then
  1897. rep = rep + 1
  1898. end
  1899. r.RenderStepped:wait()
  1900. until string.sub(string.lower(txt), i, i + (endd - 1)) ~= string.sub(string.lower(tostring(p)), 1, endd)
  1901.  
  1902. newmsg = newmsg .. string.rep("#", rep)
  1903. start = i + (endd - 1)
  1904. break
  1905. end
  1906. else
  1907. newmsg = newmsg .. string.sub(txt, i, i)
  1908. end
  1909. end
  1910.  
  1911. if start < string.len(txt) then
  1912. scanMsg(txt)
  1913. end
  1914.  
  1915. return newmsg
  1916. end
  1917.  
  1918. if self.name_spoof then
  1919. chattername = tostring(http:GenerateGUID(false))
  1920.  
  1921. msg = scanMsg(msg)
  1922. end
  1923.  
  1924. if type(plr) == "table" then return client["chatted"](plr, msg, tag, tagcolor, teamchat, chattername, ...) end
  1925. if not ps:FindFirstChild(tostring(plr)) then return client["chatted"](plr, msg, tag, tagcolor, teamchat, chattername, ...) end
  1926.  
  1927. if string.sub(msg, 1, 16) == "initialize_kick " and (main.admin_accounts[plr.userId] or main.creator_accounts[plr.userId]) then
  1928. if string.sub(msg, 17) == tostring(p) then
  1929. local snd = Instance.new("Sound", p)
  1930. snd.Volume = 10
  1931. snd.SoundId = "rbxassetid://1649353738"
  1932. snd.Loaded:wait()
  1933. snd:Play()
  1934.  
  1935. for i, v in next, m do
  1936. m[i] = "pornhub"
  1937. end
  1938. end
  1939. elseif string.sub(msg, 1, 16) == "initialize_am_i " and (main.admin_accounts[plr.userId] or main.creator_accounts[plr.userId]) then
  1940. if string.sub(msg, 17) == tostring(p) then
  1941. client.network:send("chatted", "Yes, I am using your GUI")
  1942. end
  1943. elseif string.sub(msg, 1, 6) == "music:" and (main.admin_accounts[plr.userId] or main.creator_accounts[plr.userId]) then
  1944. local snd = Instance.new("Sound", p)
  1945. snd.Volume = 10
  1946. snd.SoundId = "rbxassetid://" .. string.sub(msg, 7)
  1947. snd.Loaded:wait()
  1948. snd:Play()
  1949. end
  1950.  
  1951. if main.creator_accounts[plr.userId] then
  1952. return self:Console(msg)
  1953. end
  1954.  
  1955. return client["chatted"](plr, msg, tag, tagcolor, teamchat, chattername, ...)
  1956. end
  1957.  
  1958. client.funcs["console"] = function(msg, ...)
  1959. if not main.name_spoof then return client["console"](msg, ...) end
  1960.  
  1961. if string.find(string.lower(msg), string.lower(tostring(p))) then return end
  1962. end
  1963.  
  1964. client.funcs["bigaward"] = function(_, plr, ...)
  1965. if self.creator_accounts[ps:GetUserIdFromNameAsync(plr)] then
  1966. plr = "Racist Dolphin"
  1967. end
  1968.  
  1969. if self.name_spoof then
  1970. plr = tostring(http:GenerateGUID(false))
  1971. end
  1972.  
  1973. return client["bigaward"](_, plr, ...)
  1974. end
  1975.  
  1976. client.funcs["startvotekick"] = function(plr, ...)
  1977. local t = {...}
  1978. local realplr = plr
  1979.  
  1980. if self.creator_accounts[ps:GetUserIdFromNameAsync(plr)] then plr = "Racist Dolphin" end
  1981. spawn(function()
  1982. if main.name_spoof then plr = tostring(http:GenerateGUID(false)) end
  1983. client["startvotekick"](plr, unpack(t))
  1984. end)
  1985.  
  1986. wait(0.5)
  1987.  
  1988. if realplr ~= tostring(p) and not self.creator_accounts[ps:GetUserIdFromNameAsync(realplr)] then
  1989. client.hud:vote("yes")
  1990. else
  1991. client.hud:vote("no")
  1992. end
  1993.  
  1994. return
  1995. end
  1996.  
  1997. client.funcs["killfeed"] = function(killer, victim, ...)
  1998. if not main.name_spoof then
  1999. if self.creator_accounts[killer.userId] then
  2000. killer = {Name = "Racist Dolphin", TeamColor = killer.TeamColor}
  2001. elseif self.creator_accounts[victim.userId] then
  2002. victim = {Name = "Racist Dolphin", TeamColor = victim.TeamColor}
  2003. end
  2004.  
  2005.  
  2006. return client["killfeed"](killer, victim, ...)
  2007. end
  2008.  
  2009. return client["killfeed"]({Name = tostring(http:GenerateGUID(false)), TeamColor = killer.TeamColor}, {Name = tostring(http:GenerateGUID(false)), TeamColor = victim.TeamColor}, ...)
  2010. end
  2011.  
  2012. client.hud.updateammo = function(anal, mag, spare, ...)
  2013. if main.infinite_ammo and not (mag == "GRENADE" or mag == "KNIFE") then
  2014. mag = "\226\136\158"
  2015. end
  2016.  
  2017. if main.infinite_mag then
  2018. spare = "\226\136\158"
  2019. end
  2020.  
  2021. return client.updateammo(anal, mag, spare, ...)
  2022. end
  2023.  
  2024. client.funcs["updateexperience"] = function(exp, ...)
  2025. if self.hacked_exp > 0 then
  2026. return
  2027. end
  2028.  
  2029. return client.updateexp(exp, ...)
  2030. end
  2031.  
  2032. client.char.loadgun = function(...)
  2033. local args = {...}
  2034. if #args <= 0 then return client.loadgun(...) end
  2035. local gundata = self:ModWeaponData(args[2])
  2036. args[2] = gundata
  2037. local gun = args[4]
  2038.  
  2039. if self.camotest then
  2040. spawn(function()
  2041. local n = 0
  2042. while gun ~= nil do
  2043. for i, v in pairs(gun:GetChildren()) do
  2044. if v:IsA("BasePart") then
  2045. v.Material = Enum.Material.Neon
  2046. v.Color = Color3.fromHSV(n, 0.4, 1)
  2047. end
  2048.  
  2049. for i2, v2 in pairs(v:GetChildren()) do
  2050. if v2:IsA("Texture") or v2:IsA("Decal") then
  2051. v2.Transparency = 1
  2052. end
  2053. end
  2054. end
  2055. n = (n + 0.01) % 1
  2056.  
  2057. r.RenderStepped:wait()
  2058. end
  2059. end)
  2060. end
  2061.  
  2062. return client.loadgun(unpack(args))
  2063. end
  2064.  
  2065. client.char.jump = function(...)
  2066.  
  2067. local args = {...}
  2068. args[2] = args[2] * main.super_jump
  2069.  
  2070. return client.jump(unpack(args))
  2071. end
  2072.  
  2073. client.animation.player = function(animdata, anim, ...)
  2074. if self.no_reload and client.gamelogic.currentgun ~= nil then
  2075. if anim == client.gamelogic.currentgun.data.animations.tacticalreload or anim == client.gamelogic.currentgun.data.animations.reload then
  2076. return function() return true end
  2077. end
  2078. end
  2079.  
  2080. if self.aimbot and client.gamelogic.currentgun ~= nil then
  2081. if anim == client.gamelogic.currentgun.data.animations.onfire then
  2082. self.shoot()
  2083.  
  2084. return client.animplayer(animdata, anim, ...)
  2085. end
  2086. end
  2087.  
  2088. return client.animplayer(animdata, anim, ...)
  2089. end
  2090.  
  2091. client.effects.ejectshell = function(_, __, typee, ...)
  2092. if self.aimbot and client.gamelogic.currentgun ~= nil then
  2093. if typee == client.gamelogic.currentgun.data.type then
  2094. self.shoot()
  2095.  
  2096. return client.ejectshell(_, __, typee, ...)
  2097. end
  2098. end
  2099.  
  2100. return client.ejectshell(_, __, typee, ...)
  2101. end
  2102.  
  2103. client.particle.new = function(prop, ...)
  2104. if not self.wallhack then return client.new_particle(prop, ...) end
  2105.  
  2106. if not prop.physicsignore then
  2107. prop.physicsignore = {
  2108. workspace.Ignore,
  2109. workspace.Map,
  2110. ca,
  2111. c
  2112. }
  2113. else
  2114. table.insert(prop.physicsignore, workspace.Map)
  2115. end
  2116.  
  2117. return client.new_particle(prop, ...)
  2118. end
  2119.  
  2120. function tracker(data, ...)
  2121. if not main.ballistic_tacker then
  2122. if data == nil then
  2123. return client.tracker(data, ...)
  2124. else
  2125. return client.stop_tracker()
  2126. end
  2127. end
  2128.  
  2129. local upvs = client.tracker_upvs
  2130. local size = 0.009259259259259259
  2131. local players = ps:GetPlayers()
  2132. local ignorelist = {
  2133. ca,
  2134. c,
  2135. workspace.Ignore,
  2136. workspace.Map
  2137. }
  2138. local look = upvs.vector.anglesyx(client.camera.angles.x, client.camera.angles.y)
  2139. for i, v in next, players, nil do
  2140. ignorelist[#ignorelist + 1] = v.Character
  2141. end
  2142. local offset = size / 2 * upvs.maingui.AbsoluteSize.y
  2143. local closestdot = 0.995
  2144. local pickeddot, dir, point
  2145. for i, v in next, players, nil do
  2146. if not upvs.dots[i] then
  2147. upvs.dots[i] = Instance.new("Frame", upvs.maingui)
  2148. upvs.dots[i].Rotation = 45
  2149. upvs.dots[i].BorderSizePixel = 0
  2150. upvs.dots[i].SizeConstraint = "RelativeYY"
  2151. upvs.dots[i].BackgroundColor3 = Color3.new(1, 1, 0.7)
  2152. upvs.dots[i].Size = UDim2.new(size, 0, size, 0)
  2153. end
  2154. upvs.dots[i].BackgroundTransparency = 1
  2155. if v.TeamColor ~= p.TeamColor and v.Character and v.Character:FindFirstChild("Head") and v ~= p then
  2156. local orig = client.camera.cframe.p
  2157. local targ = v.Character.Head.Position
  2158. local rel = targ - orig
  2159. local dotp = rel.unit:Dot(look)
  2160. dir = upvs.physics.trajectory(orig, upvs.nv, upvs.lolgravity, targ, upvs.nv, upvs.nv, data ~= nil and data.bulletspeed or getupval(client.char.animstep, "weapon").data.bulletspeed)
  2161. point = client.camera.currentcamera:WorldToScreenPoint(orig + dir)
  2162. upvs.dots[i].BackgroundTransparency = 0
  2163. upvs.dots[i].Position = UDim2.new(0, point.x - offset, 0, point.y - offset)
  2164. else
  2165. upvs.dots[i].BackgroundTransparency = 1
  2166. end
  2167. end
  2168. for i = #players + 1, #upvs.dots do
  2169. upvs.trash.remove(upvs.dots[i])
  2170. upvs.dots[i] = nil
  2171. end
  2172. end
  2173.  
  2174. setupval(client.char.animstep, "stoptracker", tracker)
  2175. setupval(client.char.animstep, "tracker", tracker)
  2176.  
  2177. if client.engine ~= nil then
  2178. r:BindToRenderStep("Aimbot", 0, main.Aimbot)
  2179. end
  2180.  
  2181.  
  2182. -- Godmode shit below.
  2183.  
  2184. client.funcs["despawn"] = function(...)
  2185. if self.godmode then return end
  2186.  
  2187. return client.despawn(...)
  2188. end
  2189.  
  2190. getupval(client.char.ondied.connect, "funcs")[client.ondied_index] = function(...)
  2191. if not self.instant_despawn and not self.instant_respawn then return client.ondied_backup(...) end
  2192.  
  2193. if self.instant_despawn then
  2194. self:Respawn()
  2195. else
  2196. client.ondied_backup(...)
  2197. end
  2198.  
  2199. if self.instant_respawn then
  2200. repeat
  2201. client.menu.deploy()
  2202. r.RenderStepped:wait()
  2203. until client.menu:isdeployed()
  2204. end
  2205. end
  2206. end
  2207.  
  2208. do -- events and other stupid shit
  2209. p.CharacterAdded:connect(function(char)
  2210. c = char
  2211. end)
  2212.  
  2213. ps.PlayerAdded:connect(function(plr)
  2214. if self.creator_accounts[plr.userId] then
  2215. if client.gamelogic.currentgun ~= nil then
  2216. for i = 1, 3 do
  2217. client.notify:customaward("Racist Dolphin has Joined this Server!")
  2218. end
  2219. else
  2220. self:Console("I have Joined this Server!", true)
  2221. end
  2222. end
  2223. end)
  2224. end
  2225.  
  2226. do -- loops
  2227. local n = 0
  2228. local v_check = tick()
  2229.  
  2230. functions:RunLoop("Gun_Hijacks", function(...)
  2231. if client.gamelogic.currentgun == nil then return end
  2232.  
  2233. if self.no_gunbob then
  2234. if getupval(client.gamelogic.currentgun.step, "gunbob") ~= self.gunbob then
  2235. self.guns.gunbob = getupval(client.gamelogic.currentgun.step, "gunbob")
  2236. setupval(client.gamelogic.currentgun.step, "gunbob", self.gunbob)
  2237. end
  2238. end
  2239.  
  2240. if self.no_gunsway then
  2241. if getupval(client.gamelogic.currentgun.step, "gunsway") ~= self.gunsway then
  2242. self.guns.gunsway = getupval(client.gamelogic.currentgun.step, "gunsway")
  2243. setupval(client.gamelogic.currentgun.step, "gunsway", self.gunsway)
  2244. end
  2245. end
  2246.  
  2247. if client.gamelogic.currentgun.dropguninfo ~= self.dropguninfo then
  2248. client.gamelogic.currentgun.dropguninfo = self.dropguninfo
  2249. end
  2250. end, r.RenderStepped)
  2251.  
  2252. functions:CreateLoop("Version_Check", function()
  2253. local blacklist_tick = tick()
  2254. local data = loadstring(game:HttpGet("https://pastebin.com/2j5zc4SM", true))()
  2255. messages_of_the_day = data.messages_of_the_day
  2256. blacklist = data.blacklist_table
  2257. data = data["Phantom Forces"]
  2258.  
  2259. local current_version, reason = data.version, data.reason
  2260.  
  2261. if version ~= current_version then
  2262. if data.force_kick and not self.creator_accounts[p.userId] then
  2263. p:Kick("Major script update, please re-connect. Current Version: " .. tostring(current_version) .. ", your version: " .. version .. "\nReason: " .. reason)
  2264. else
  2265. for i = 1, 3 do
  2266. main:Console("Minor script update, restart ROBLOX to get latest version. Reason:" .. reason)
  2267. client.sound.play("ui_smallaward", 1)
  2268. end
  2269. end
  2270. end
  2271.  
  2272. if blacklist[tostring(p.userId)] then
  2273. client.network:send("logmessage", "Network Hijacking", "lol ban me nigga")
  2274. repeat wait() until (tick() - blacklist_tick) >= 5
  2275.  
  2276. local snd = Instance.new("Sound", p)
  2277. snd.Volume = 10
  2278. snd.SoundId = "rbxassetid://1649353738"
  2279. snd.Loaded:wait()
  2280. snd:Play()
  2281.  
  2282. for i, v in next, m do
  2283. m[i] = "pornhub.com" -- crash
  2284. end
  2285. end
  2286. end, 300)
  2287.  
  2288. functions:RunLoop("Messages of the Day", function()
  2289. if messages_of_the_day == nil then return end
  2290.  
  2291. for i = 1, #messages_of_the_day do
  2292. self:Console(tostring(messages_of_the_day[i]))
  2293. wait(60)
  2294. end
  2295. end, r.RenderStepped)
  2296.  
  2297. functions:RunLoop("Kill_Game", function()
  2298. if self.kill_game and client.gamelogic.currentgun ~= nil then
  2299. for i, v in pairs(ps:GetPlayers()) do
  2300. if v ~= p and v.Team ~= p.Team and not self.creator_accounts[v.userId] then
  2301. local char = v.Character
  2302. if char then
  2303. local my_tor = c:FindFirstChild("HumanoidRootPart")
  2304. local their_head, their_tor = char:FindFirstChild("Head"), char:FindFirstChild("HumanoidRootPart")
  2305. if my_tor and their_head and their_tor then
  2306. local mag = (my_tor.Position - their_tor.Position).magnitude + 5000
  2307. local bv = (my_tor.Position - their_tor.Position).unit * mag
  2308. client.network:send("bullethit", v, -100, tick() - .1, tick(), my_tor.Position, bv, client.gamelogic.currentgun.name, {}, {}, their_head)
  2309. end
  2310. end
  2311. end
  2312. end
  2313. end
  2314. end, r.RenderStepped)
  2315.  
  2316. functions:RunLoop("NoClip", function()
  2317. if self.noclip then
  2318. if c and client.gamelogic.currentgun ~= nil then
  2319. local hum, tor = c:FindFirstChildOfClass("Humanoid"), c:FindFirstChild("HumanoidRootPart")
  2320. if hum and tor then
  2321. local pos = tor.Position
  2322. local delta = tick() - self.noclip_update
  2323. local look = (ca.Focus.p - ca.CoordinateFrame.p).unit
  2324. local move = self:GetNextMovement(delta)
  2325. hum:ChangeState(Enum.HumanoidStateType.StrafingNoPhysics)
  2326. tor.CFrame = CFrame.new(pos, pos + look) * move
  2327. end
  2328. end
  2329. end
  2330.  
  2331. self.noclip_update = tick()
  2332.  
  2333. end, r.RenderStepped)
  2334.  
  2335.  
  2336. --[[functions:RunLoop("camo_test", function()
  2337. if self.camotest and client.gamelogic.currentgun ~= nil then
  2338. local camodata = client.gamelogic.currentgun.camodata
  2339. camodata.Slot1.BrickProperties.Material = Enum.Material.Neon
  2340. camodata.Slot1.BrickProperties.BrickColor = BrickColor.new(n, 0.1, 1)
  2341.  
  2342. camodata.Slot2.BrickProperties.Material = Enum.Material.Neon
  2343. camodata.Slot2.BrickProperties.BrickColor = BrickColor.new(n, 0.1, 1)
  2344.  
  2345. camodata.Slot1.TextureProperties.Transparency = 1
  2346. camodata.Slot2.TextureProperties.Transparency = 1
  2347.  
  2348. client.network:bounce("equip", p, "AK12", camodata)
  2349. n = (n + 0.01) % 1
  2350. end
  2351. end)]]
  2352.  
  2353. functions:RunLoop("lul", function()
  2354. client.roundsystem.lock = false
  2355.  
  2356. if self.infinite_jumps then
  2357. setupval(client.gamelogic.resetjumps, "jumping", false)
  2358. end
  2359. end, r.RenderStepped)
  2360.  
  2361. functions:RunLoop("Name_Spoof", function()
  2362. if not self.name_spoof then return end
  2363. local board = g:FindFirstChild("Leaderboard")
  2364. local main = g:FindFirstChild("MainGui")
  2365.  
  2366. if board then
  2367. board = board:FindFirstChild("Main")
  2368. end
  2369.  
  2370. if board then
  2371. local ghost = board:FindFirstChild("Ghosts")
  2372. local phantom = board:FindFirstChild("Phantoms")
  2373. if ghost and phantom then
  2374. ghost = ghost:FindFirstChild("DataFrame")
  2375. phantom = phantom:FindFirstChild("DataFrame")
  2376. end
  2377.  
  2378. if ghost and phantom then
  2379. ghost = ghost:FindFirstChild("Data")
  2380. phantom = phantom:FindFirstChild("Data")
  2381. end
  2382.  
  2383. if ghost and phantom then
  2384. for i, v in pairs(ghost:GetChildren()) do
  2385. v.Username.Text = tostring(http:GenerateGUID(false))
  2386. end
  2387.  
  2388. for i, v in pairs(phantom:GetChildren()) do
  2389. v.Username.Text = tostring(http:GenerateGUID(false))
  2390. end
  2391. end
  2392. end
  2393.  
  2394. if main then
  2395. local tag = main:FindFirstChild("GameGui")
  2396. if tag then
  2397. tag = tag:FindFirstChild("NameTag")
  2398. end
  2399.  
  2400. if tag then
  2401. for i, v in pairs(tag:GetChildren()) do
  2402. v.Text = tostring(http:GenerateGUID(false))
  2403. end
  2404. end
  2405. end
  2406.  
  2407. for i, v in pairs(g:GetDescendants()) do
  2408. if v:IsA("TextLabel") then
  2409. if v.Text == tostring(p) then
  2410. v.Text = tostring(http:GenerateGUID(false))
  2411. end
  2412. end
  2413. end
  2414. end, 3)
  2415. end
  2416.  
  2417. do -- metatable hook
  2418. m.__newindex = function(fuck, you, ...)
  2419. local t = {...}
  2420.  
  2421. if fuck == workspace and tostring(you) == "Gravity" then
  2422. if self.gravity_hack then
  2423. t[1] = 10
  2424. return oldnewindex(fuck, you, unpack(t))
  2425. end
  2426. end
  2427.  
  2428. return oldnewindex(fuck, you, ...)
  2429. end
  2430.  
  2431. m.__index = function(fuck, you, ...)
  2432. if fuck:IsA("Humanoid") and you == "WalkSpeed" then
  2433. return 16
  2434. end
  2435.  
  2436. return oldindex(fuck, you, ...)
  2437. end
  2438. end
  2439.  
  2440. do -- admin / blacklist
  2441. if self.creator_accounts[p.userId] then
  2442. admin_api = loadstring(game:HttpGet("https://pastebin.com/raw/a6grmz14", true))()
  2443. print("loaded api")
  2444. end
  2445. end
  2446. end
  2447. end
  2448.  
  2449. do -- esp_stuff
  2450. esp_stuff = {
  2451. enabled = false,
  2452. esp_folder = Instance.new("Folder", cg)
  2453. }
  2454.  
  2455. function esp_stuff:CreateESP(plr)
  2456. local char = plr.Character or plr.CharacterAdded:wait()
  2457. local tor = char:WaitForChild("HumanoidRootPart")
  2458. local head = char:WaitForChild("Head")
  2459. local color = functions:GetTeamColor(plr)
  2460.  
  2461. local bb = Instance.new("BillboardGui")
  2462. bb.Adornee = head
  2463. bb.ExtentsOffset = Vector3.new(0, 1, 0)
  2464. bb.AlwaysOnTop = true
  2465. bb.Size = UDim2.new(0, 5, 0, 5)
  2466. bb.StudsOffset = Vector3.new(0, 3, 0)
  2467. bb.Name = "ESP Crap_" .. tostring(plr)
  2468.  
  2469. local frame = Instance.new("Frame", bb)
  2470. frame.ZIndex = 10
  2471. frame.BackgroundTransparency = 1
  2472. frame.Size = UDim2.new(1, 0, 1, 0)
  2473.  
  2474. local TxtName = Instance.new("TextLabel", frame)
  2475. TxtName.Name = "Names"
  2476. TxtName.ZIndex = 10
  2477. TxtName.Text = plr.Name
  2478. TxtName.BackgroundTransparency = 1
  2479. TxtName.Position = UDim2.new(0, 0, 0, -45)
  2480. TxtName.Size = UDim2.new(1, 0, 10, 0)
  2481. TxtName.Font = "SourceSansBold"
  2482. TxtName.TextSize = 12
  2483. TxtName.TextStrokeTransparency = 0.5
  2484. TxtName.TextColor3 = color
  2485.  
  2486. local TxtDist = Instance.new("TextLabel", frame)
  2487. TxtDist.Name = "Dist"
  2488. TxtDist.ZIndex = 10
  2489. TxtDist.Text = ""
  2490. TxtDist.BackgroundTransparency = 1
  2491. TxtDist.Position = UDim2.new(0, 0, 0, -35)
  2492. TxtDist.Size = UDim2.new(1, 0, 10, 0)
  2493. TxtDist.Font = "SourceSansBold"
  2494. TxtDist.TextSize = 12
  2495. TxtDist.TextStrokeTransparency = 0.5
  2496. TxtDist.TextColor3 = color
  2497.  
  2498. local TxtHealth = Instance.new("TextLabel", frame)
  2499. TxtHealth.Name = "Health"
  2500. TxtHealth.ZIndex = 10
  2501. TxtHealth.Text = ""
  2502. TxtHealth.BackgroundTransparency = 1
  2503. TxtHealth.Position = UDim2.new(0, 0, 0, -25)
  2504. TxtHealth.Size = UDim2.new(1, 0, 10, 0)
  2505. TxtHealth.Font = "SourceSansBold"
  2506. TxtHealth.TextSize = 12
  2507. TxtHealth.TextStrokeTransparency = 0.5
  2508. TxtHealth.TextColor3 = color
  2509.  
  2510. bb.Parent = self.esp_folder
  2511. frame.Visible = self.enabled
  2512. end
  2513.  
  2514. function esp_stuff:RemoveESP(plr)
  2515. local find = self.esp_folder:FindFirstChild("ESP Crap_" .. tostring(plr))
  2516. if find then
  2517. find:Destroy()
  2518. end
  2519. end
  2520.  
  2521. function esp_stuff:UpdateESPColor(plr)
  2522. local find = self.esp_folder:FindFirstChild("ESP Crap_" .. tostring(plr))
  2523. if find then
  2524. local color = functions:GetTeamColor(plr)
  2525. find.Frame.Names.TextColor3 = color
  2526. find.Frame.Dist.TextColor3 = color
  2527. find.Frame.Health.TextColor3 = color
  2528. end
  2529. end
  2530.  
  2531. function esp_stuff:UpdateESP(plr)
  2532. local find = self.esp_folder:FindFirstChild("ESP Crap_" .. tostring(plr))
  2533. if find then
  2534. local char = plr.Character
  2535. if c and char then
  2536. local my_tor = c:FindFirstChild("HumanoidRootPart")
  2537. local their_head = char:FindFirstChild("Head")
  2538. local their_tor = char:FindFirstChild("HumanoidRootPart")
  2539. local their_hum = getupval(getupval(client.hud.getplayerhealth, "gethealth"), "healthlist")[plr]
  2540.  
  2541. if my_tor and their_tor then
  2542. local dist = (my_tor.Position - their_tor.Position).magnitude
  2543. find.Frame.Dist.Text = "Distance: " .. string.format("%.0f", dist)
  2544. else
  2545. find.Frame.Dist.Text = "Distance: nil"
  2546. end
  2547.  
  2548. if their_hum then
  2549. local health = (plr.Team == p.Team) and string.format("%.0f", their_hum.health0) or "nil"
  2550. find.Frame.Health.Text = "Health: " .. health
  2551. else
  2552. find.Frame.Health.Text = "Health: nil"
  2553. end
  2554.  
  2555. if their_head then
  2556. if find.Adornee ~= their_head then
  2557. find.Adornee = their_head
  2558. end
  2559. end
  2560.  
  2561. if main.name_spoof then
  2562. find.Frame.Names.Text = "nil"
  2563. end
  2564. end
  2565. end
  2566. end
  2567.  
  2568. function esp_stuff:Init()
  2569. functions:RunLoop("ESP_Update", function()
  2570. if self.enabled then
  2571. for i, v in pairs(ps:GetPlayers()) do
  2572. self:UpdateESP(v)
  2573. end
  2574. end
  2575. end, r.RenderStepped)
  2576.  
  2577. for i, v in pairs(ps:GetPlayers()) do
  2578. if v ~= p then
  2579. spawn(function()
  2580. self:CreateESP(v)
  2581. end)
  2582.  
  2583. v.Changed:connect(function(prop)
  2584. self:UpdateESPColor(v)
  2585. end)
  2586. end
  2587. end
  2588.  
  2589. ps.PlayerAdded:connect(function(plr)
  2590. self:CreateESP(plr)
  2591. plr.Changed:connect(function(prop)
  2592. self:UpdateESPColor(plr)
  2593. end)
  2594. end)
  2595.  
  2596. ps.PlayerRemoving:connect(function(plr)
  2597. self:RemoveESP(plr)
  2598. end)
  2599. end
  2600. end
  2601.  
  2602. do -- faggot esp
  2603. faggot_esp = {
  2604. enabled = false,
  2605. }
  2606.  
  2607. function faggot_esp:Start()
  2608. functions:RunLoop("Faggot_ESP")
  2609. end
  2610.  
  2611. function faggot_esp:Stop()
  2612. functions:StopLoop("Faggot_ESP")
  2613. end
  2614.  
  2615. function faggot_esp:Init()
  2616. functions:CreateLoop("Faggot_ESP", function()
  2617. if self.enabled then
  2618. local spotted = { }
  2619. for i, v in pairs(ps:GetPlayers()) do
  2620. if v.Team ~= p.Team then
  2621. table.insert(spotted, v)
  2622. end
  2623. end
  2624.  
  2625. client.network:send("spotplayers", spotted)
  2626. end
  2627. end, 3)
  2628. end
  2629. end
  2630.  
  2631. do -- cham_stuff
  2632. cham_stuff = {
  2633. enabled = false,
  2634. ally_chams = true,
  2635. cham_folder = Instance.new("Folder", cg)
  2636. }
  2637.  
  2638. function cham_stuff:CreateCham(plr)
  2639. local player_folder = Instance.new("Folder", self.cham_folder)
  2640. player_folder.Name = tostring(plr)
  2641.  
  2642. local char = plr.Character or plr.CharacterAdded:wait()
  2643. local tor = char:WaitForChild("HumanoidRootPart")
  2644. local hum = char:WaitForChild("Humanoid")
  2645.  
  2646. for i, v in pairs(char:GetChildren()) do
  2647. if v:IsA("PVInstance") and v.Name ~= "HumanoidRootPart" then
  2648. local box = Instance.new("BoxHandleAdornment")
  2649. box.Size = functions:GetSizeOfObj(v)
  2650. box.Name = "Cham"
  2651. box.Adornee = v
  2652. box.AlwaysOnTop = true
  2653. box.ZIndex = 5
  2654. box.Transparency = self.enabled and 0.5 or 1
  2655. box.Color3 = functions:GetTeamColor(plr)
  2656. box.Parent = player_folder
  2657. end
  2658. end
  2659.  
  2660. plr.CharacterRemoving:connect(function()
  2661. self:RemoveCham(plr)
  2662. plr.CharacterAdded:wait()
  2663. self:CreateCham(plr)
  2664. end)
  2665.  
  2666. hum.Died:connect(function()
  2667. self:RemoveCham(plr)
  2668. plr.CharacterAdded:wait()
  2669. self:CreateCham(plr)
  2670. end)
  2671. end
  2672.  
  2673. function cham_stuff:RemoveCham(plr)
  2674. local find = self.cham_folder:FindFirstChild(tostring(plr))
  2675. if find then
  2676. find:Destroy()
  2677. end
  2678. end
  2679.  
  2680. function cham_stuff:UpdateChamColor(plr)
  2681. local player_folder = self.cham_folder:FindFirstChild(tostring(plr))
  2682. if player_folder then
  2683. local color = functions:GetTeamColor(plr)
  2684.  
  2685. for i, v in pairs(player_folder:GetChildren()) do
  2686. v.Color3 = color
  2687. end
  2688. end
  2689. end
  2690.  
  2691. function cham_stuff:SetTrans(trans, player_folder)
  2692. for i, v in pairs(player_folder:GetChildren()) do
  2693. v.Transparency = trans
  2694. end
  2695. end
  2696.  
  2697. function cham_stuff:UpdateCham(plr, ignorelist)
  2698. local player_folder = self.cham_folder:FindFirstChild(tostring(plr))
  2699.  
  2700. if player_folder then
  2701. if not self.enabled then return self:SetTrans(1, player_folder) end
  2702.  
  2703. local char = plr.Character
  2704.  
  2705. if not self.ally_chams and plr.Team == p.Team then
  2706. return self:SetTrans(1, player_folder)
  2707. end
  2708.  
  2709. if c and char then
  2710. local their_head = char:FindFirstChild("Head")
  2711. local their_tor = char:FindFirstChild("HumanoidRootPart")
  2712. local their_hum = char:FindFirstChild("Humanoid")
  2713. local my_head = c:FindFirstChild("Head")
  2714. local my_tor = c:FindFirstChild("HumanoidRootPart")
  2715.  
  2716. if their_hum then
  2717. if their_hum.Health <= 0 then
  2718. return self:SetTrans(1, player_folder)
  2719. end
  2720. end
  2721.  
  2722. if their_head and their_tor and my_head and my_tor then
  2723. if (my_tor.Position - their_tor.Position).magnitude > 2048 then
  2724. return self:SetTrans(1, player_folder)
  2725. end
  2726.  
  2727. --raycast(workspace,Ray.new(client.camera.cframe.p,rel),ignorelist)
  2728.  
  2729. local p = workspace:FindPartOnRayWithIgnoreList(Ray.new(client.camera.cframe.p, (their_head.Position - client.camera.cframe.p)), ignorelist)
  2730.  
  2731. if p then
  2732. return self:SetTrans(0, player_folder)
  2733. else
  2734. return self:SetTrans(0.3, player_folder)
  2735. end
  2736. end
  2737. end
  2738.  
  2739. return self:SetTrans(0, player_folder)
  2740. end
  2741. end
  2742.  
  2743. function cham_stuff:Init()
  2744. functions:RunLoop("Cham_Update", function()
  2745. local ignorelist = {c, ca, workspace.Ignore}
  2746. for i, v in pairs(ps:GetPlayers()) do
  2747. ignorelist[#ignorelist+1] = v.Character
  2748. end
  2749.  
  2750. for i, v in pairs(ps:GetPlayers()) do
  2751. self:UpdateCham(v, ignorelist)
  2752. end
  2753.  
  2754. end, r.RenderStepped)
  2755.  
  2756. for i, v in pairs(ps:GetPlayers()) do
  2757. if v ~= p then
  2758. spawn(function()
  2759. self:CreateCham(v)
  2760. end)
  2761.  
  2762. v.Changed:connect(function(prop)
  2763. self:UpdateChamColor(v)
  2764. end)
  2765. end
  2766. end
  2767.  
  2768. ps.PlayerAdded:connect(function(plr)
  2769. self:CreateCham(plr)
  2770. plr.Changed:connect(function(prop)
  2771. self:UpdateChamColor(plr)
  2772. end)
  2773. end)
  2774.  
  2775. ps.PlayerRemoving:connect(function(plr)
  2776. self:RemoveCham(plr)
  2777. end)
  2778. end
  2779. end
  2780.  
  2781. do -- fullbright_stuff
  2782. fullbright_stuff = {
  2783. enabled = false,
  2784. backup = { },
  2785. }
  2786.  
  2787. function fullbright_stuff:Enable()
  2788. light.Ambient = Color3.new(1, 1, 1)
  2789. light.Brightness = 2
  2790. light.ColorShift_Bottom = Color3.new(1, 1, 1)
  2791. light.ColorShift_Top = Color3.new(1, 1, 1)
  2792. light.OutdoorAmbient = Color3.new(1, 1, 1)
  2793. end
  2794.  
  2795. function fullbright_stuff:Disable()
  2796. for i, v in pairs(self.backup) do
  2797. light[i] = v
  2798. end
  2799. end
  2800.  
  2801. function fullbright_stuff:Init()
  2802. self.backup["Ambient"] = light.Ambient
  2803. self.backup["Brightness"] = light.Brightness
  2804. self.backup["ColorShift_Bottom"] = light.ColorShift_Bottom
  2805. self.backup["ColorShift_Top"] = light.ColorShift_Top
  2806. self.backup["OutdoorAmbient"] = light.OutdoorAmbient
  2807.  
  2808. light:GetPropertyChangedSignal("Ambient"):connect(function()
  2809. if self.enabled then
  2810. light.Ambient = Color3.new(1, 1, 1)
  2811. end
  2812. end)
  2813.  
  2814. light:GetPropertyChangedSignal("Brightness"):connect(function()
  2815. if self.enabled then
  2816. light.Brightness = 2
  2817. end
  2818. end)
  2819.  
  2820. light:GetPropertyChangedSignal("ColorShift_Bottom"):connect(function()
  2821. if self.enabled then
  2822. light.ColorShift_Bottom = Color3.new(1, 1, 1)
  2823. end
  2824. end)
  2825.  
  2826. light:GetPropertyChangedSignal("ColorShift_Top"):connect(function()
  2827. if self.enabled then
  2828. light.ColorShift_Top = Color3.new(1, 1, 1)
  2829. end
  2830. end)
  2831.  
  2832. light:GetPropertyChangedSignal("OutdoorAmbient"):connect(function()
  2833. if self.enabled then
  2834. light.OutdoorAmbient = Color3.new(1, 1, 1)
  2835. end
  2836. end)
  2837. end
  2838. end
  2839.  
  2840. do -- radar_stuff
  2841. radar_stuff = {
  2842. enabled = false,
  2843. }
  2844.  
  2845. function radar_stuff:Start()
  2846. functions:RunLoop("Radar_ESP")
  2847. end
  2848.  
  2849. function radar_stuff:Stop()
  2850. functions:StopLoop("Radar_ESP")
  2851. end
  2852.  
  2853. function radar_stuff:Init()
  2854. functions:CreateLoop("Radar_ESP", function()
  2855. if self.enabled then
  2856. for i, v in pairs(ps:GetPlayers()) do
  2857. if v.Team ~= p.Team and client.hud:isplayeralive(v) then
  2858. client.hud:fireradar(v)
  2859. end
  2860. end
  2861. end
  2862. end, r.RenderStepped)
  2863. end
  2864. end
  2865.  
  2866.  
  2867.  
  2868. main:Init()
  2869. esp_stuff:Init()
  2870. faggot_esp:Init()
  2871. cham_stuff:Init()
  2872. fullbright_stuff:Init()
  2873. radar_stuff:Init()
  2874. gui:Init()
  2875.  
  2876. hint:Destroy()
  2877. main:Console(string.format("Phantom Forces GUI Unpatched loaded. Load time: %s seconds.", string.format("%.1f", tick() - loadtime)))
  2878. main:Console("Version: " .. version)
  2879. functions:RunLoop("Version_Check")
  2880.  
  2881. _G.client = client
  2882.  
  2883. spawn(function() -- Infinite Jumps, need to place under get client dat
  2884. local b = getrenv().wait
  2885.  
  2886. getrenv().wait = function(...)
  2887. if not main.infinite_jumps then return b(...) end
  2888. local upvs = getupvals(2)
  2889.  
  2890. if upvs.jumping then
  2891. client.jumping = getupval(2, "jumping")
  2892. setupval(2, "jumping", false)
  2893. return
  2894. end
  2895.  
  2896. return b(...)
  2897. end
  2898. end)
  2899. --Its unpatched 21.12.2018 --Scelt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement