Advertisement
skinmalware

he

Apr 24th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.59 KB | None | 0 0
  1. do -- gui
  2. gui = {
  3. name = "Base",
  4. gui_objs = {
  5. main = nil,
  6. mainframes = { },
  7. }
  8. }
  9.  
  10. function gui:AddTextBox(mainframe, name, text)
  11. self.gui_objs.mainframes[mainframe].buttons[name] = { }
  12.  
  13. self.gui_objs.mainframes[mainframe].buttons[name].main = Instance.new("Frame")
  14. self.gui_objs.mainframes[mainframe].buttons[name].main.BackgroundTransparency = 1
  15. self.gui_objs.mainframes[mainframe].buttons[name].main.Name = name
  16. self.gui_objs.mainframes[mainframe].buttons[name].main.Position = UDim2.new(0, 0, 0, 5 + self.gui_objs.mainframes[mainframe].buttonsnum)
  17. self.gui_objs.mainframes[mainframe].buttons[name].main.Size = UDim2.new(1, 0, 0, 15)
  18. self.gui_objs.mainframes[mainframe].buttons[name].main.Parent = self.gui_objs.mainframes[mainframe].buttonsframe
  19.  
  20. self.gui_objs.mainframes[mainframe].buttons[name].textbox = Instance.new("TextBox")
  21. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BackgroundColor3 = Color3.new(66 / 255, 66 / 255, 66 / 255)
  22. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BackgroundTransparency = 0.3
  23. self.gui_objs.mainframes[mainframe].buttons[name].textbox.BorderSizePixel = 0
  24. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Position = UDim2.new(0, 5, 0, 0)
  25. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Size = UDim2.new(1, -10, 1, 0)
  26. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Font = Enum.Font.SciFi
  27. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Text = text
  28. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextScaled = true
  29. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextColor3 = Color3.new(1, 1, 1)
  30. self.gui_objs.mainframes[mainframe].buttons[name].textbox.TextXAlignment = Enum.TextXAlignment.Left
  31. self.gui_objs.mainframes[mainframe].buttons[name].textbox.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  32.  
  33. self.gui_objs.mainframes[mainframe].main.Size = UDim2.new(0, 200, 0, 25 + self.gui_objs.mainframes[mainframe].buttonsnum)
  34.  
  35. self.gui_objs.mainframes[mainframe].buttonsnum = self.gui_objs.mainframes[mainframe].buttonsnum + 20
  36.  
  37. return self.gui_objs.mainframes[mainframe].buttons[name].textbox
  38. end
  39.  
  40. function gui:AddButton(mainframe, name, text)
  41. self.gui_objs.mainframes[mainframe].buttons[name] = { }
  42.  
  43. self.gui_objs.mainframes[mainframe].buttons[name].main = Instance.new("Frame")
  44. self.gui_objs.mainframes[mainframe].buttons[name].main.BackgroundTransparency = 1
  45. self.gui_objs.mainframes[mainframe].buttons[name].main.Name = name
  46. self.gui_objs.mainframes[mainframe].buttons[name].main.Position = UDim2.new(0, 0, 0, 5 + self.gui_objs.mainframes[mainframe].buttonsnum)
  47. self.gui_objs.mainframes[mainframe].buttons[name].main.Size = UDim2.new(1, 0, 0, 15)
  48. self.gui_objs.mainframes[mainframe].buttons[name].main.Parent = self.gui_objs.mainframes[mainframe].buttonsframe
  49.  
  50. self.gui_objs.mainframes[mainframe].buttons[name].textbutton = Instance.new("TextButton")
  51. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.BackgroundTransparency = 1
  52. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Position = UDim2.new(0, 5, 0, 0)
  53. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Size = UDim2.new(1, -5, 1, 0)
  54. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.ZIndex = 2
  55. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Font = Enum.Font.SciFi
  56. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Text = text
  57. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextColor3 = Color3.new(1, 1, 1)
  58. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextScaled = true
  59. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.TextXAlignment = Enum.TextXAlignment.Left
  60. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Modal = true
  61. self.gui_objs.mainframes[mainframe].buttons[name].textbutton.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  62.  
  63. self.gui_objs.mainframes[mainframe].buttons[name].textlabel = Instance.new("TextLabel")
  64. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.BackgroundTransparency = 1
  65. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Position = UDim2.new(1, -25, 0, 0)
  66. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Size = UDim2.new(0, 25, 1, 0)
  67. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Font = Enum.Font.Code
  68. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Text = "OFF"
  69. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextColor3 = Color3.new(1, 0, 0)
  70. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextScaled = true
  71. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.TextXAlignment = Enum.TextXAlignment.Right
  72. self.gui_objs.mainframes[mainframe].buttons[name].textlabel.Parent = self.gui_objs.mainframes[mainframe].buttons[name].main
  73.  
  74. self.gui_objs.mainframes[mainframe].main.Size = UDim2.new(0, 200, 0, 25 + self.gui_objs.mainframes[mainframe].buttonsnum)
  75.  
  76. self.gui_objs.mainframes[mainframe].buttonsnum = self.gui_objs.mainframes[mainframe].buttonsnum + 20
  77.  
  78. return self.gui_objs.mainframes[mainframe].buttons[name].textbutton, self.gui_objs.mainframes[mainframe].buttons[name].textlabel
  79. end
  80.  
  81. function gui:AddMainFrame(name)
  82. if self.gui_objs.mainframes.numX == nil then self.gui_objs.mainframes.numX = 0 end
  83. if self.gui_objs.mainframes.numY == nil then self.gui_objs.mainframes.numY = 0 end
  84.  
  85. self.gui_objs.mainframes[name] = { }
  86. self.gui_objs.mainframes[name].buttons = { }
  87.  
  88. self.gui_objs.mainframes[name].main = Instance.new("Frame")
  89. self.gui_objs.mainframes[name].main.BackgroundColor3 = Color3.new(0, 0, 0)
  90. self.gui_objs.mainframes[name].main.BackgroundTransparency = 0.3
  91. self.gui_objs.mainframes[name].main.BorderColor3 = Color3.new(0, 0, 139 / 255)
  92. self.gui_objs.mainframes[name].main.BorderSizePixel = 3
  93. self.gui_objs.mainframes[name].main.Name = name
  94. self.gui_objs.mainframes[name].main.Position = UDim2.new(0, 50 + self.gui_objs.mainframes.numX, 0, 50 + self.gui_objs.mainframes.numY)
  95. self.gui_objs.mainframes[name].main.Size = UDim2.new(0, 200, 0, 350)
  96. self.gui_objs.mainframes[name].main.Active = true
  97. self.gui_objs.mainframes[name].main.Draggable = true
  98.  
  99. self.gui_objs.mainframes[name].titleframe = Instance.new("Frame")
  100. self.gui_objs.mainframes[name].titleframe.BackgroundColor3 = Color3.new(0, 0, 0)
  101. self.gui_objs.mainframes[name].titleframe.BackgroundTransparency = 0.3
  102. self.gui_objs.mainframes[name].titleframe.BorderColor3 = Color3.new(0, 0, 139 / 255)
  103. self.gui_objs.mainframes[name].titleframe.BorderSizePixel = 3
  104. self.gui_objs.mainframes[name].titleframe.Name = "titleframe"
  105. self.gui_objs.mainframes[name].titleframe.Position = UDim2.new(0, 0, 0, -35)
  106. self.gui_objs.mainframes[name].titleframe.Size = UDim2.new(1, 0, 0, 25)
  107. self.gui_objs.mainframes[name].titleframe.Parent = self.gui_objs.mainframes[name].main
  108.  
  109. self.gui_objs.mainframes[name].title = Instance.new("TextLabel")
  110. self.gui_objs.mainframes[name].title.BackgroundTransparency = 1
  111. self.gui_objs.mainframes[name].title.Name = "title"
  112. self.gui_objs.mainframes[name].title.Size = UDim2.new(1, 0, 1, 0)
  113. self.gui_objs.mainframes[name].title.Font = Enum.Font.Code
  114. self.gui_objs.mainframes[name].title.Text = name
  115. self.gui_objs.mainframes[name].title.TextColor3 = Color3.new(1, 1, 1) -- 0, 0, 1
  116. self.gui_objs.mainframes[name].title.TextSize = 20
  117. self.gui_objs.mainframes[name].title.Parent = self.gui_objs.mainframes[name].titleframe
  118.  
  119. self.gui_objs.mainframes[name].buttonsframe = Instance.new("Frame")
  120. self.gui_objs.mainframes[name].buttonsframe.BackgroundTransparency = 1
  121. self.gui_objs.mainframes[name].buttonsframe.Name = "buttons"
  122. self.gui_objs.mainframes[name].buttonsframe.Size = UDim2.new(1, 0, 1, 0)
  123. self.gui_objs.mainframes[name].buttonsframe.Parent = self.gui_objs.mainframes[name].main
  124.  
  125. self.gui_objs.mainframes[name].infoframe = self.gui_objs.mainframes[name].titleframe:clone()
  126. self.gui_objs.mainframes[name].infoframe.title:Destroy()
  127. self.gui_objs.mainframes[name].infoframe.Name = "infoframe"
  128. self.gui_objs.mainframes[name].infoframe.Position = UDim2.new(0, 0, 1, 10)
  129. self.gui_objs.mainframes[name].infoframe.Parent = self.gui_objs.mainframes[name].main
  130.  
  131. self.gui_objs.mainframes[name].infotitle = self.gui_objs.mainframes[name].title:clone()
  132. self.gui_objs.mainframes[name].infotitle.Name = "infotitle"
  133. self.gui_objs.mainframes[name].infotitle.Text = "Press the \"P\" key to toggle the GUI\nMade by: @Racist Dolphin#8943"
  134. self.gui_objs.mainframes[name].infotitle.TextColor3 = Color3.new(1, 1, 1)
  135. self.gui_objs.mainframes[name].infotitle.TextScaled = true
  136. self.gui_objs.mainframes[name].infotitle.Parent = self.gui_objs.mainframes[name].infoframe
  137.  
  138. self.gui_objs.mainframes[name].buttonsnum = 0
  139. self.gui_objs.mainframes.numX = self.gui_objs.mainframes.numX + 250
  140.  
  141. if (50 + (self.gui_objs.mainframes.numX + 200)) >= ca.ViewportSize.X then
  142. self.gui_objs.mainframes.numX = 0
  143. self.gui_objs.mainframes.numY = self.gui_objs.mainframes.numY + 450
  144. end
  145.  
  146. self.gui_objs.mainframes[name].main.Parent = self.gui_objs.main
  147. end
  148.  
  149. function gui:Init()
  150. self.gui_objs.main = Instance.new("ScreenGui")
  151. self.gui_objs.main.Name = self.name
  152. self.gui_objs.main.Parent = cg
  153.  
  154. do -- Visual Cheats
  155. self:AddMainFrame("Visual Cheats")
  156.  
  157. local ESPBut, ESPStatus = self:AddButton("Visual Cheats", "ESP", "ESP")
  158. local FagESPBut, FagESPStatus = self:AddButton("Visual Cheats", "FagESP", "Spotted ESP")
  159. local ChamsBut, ChamsStatus = self:AddButton("Visual Cheats", "Chams", "Chams")
  160. local AllyChamsBut, AllyChamsStatus = self:AddButton("Visual Cheats", "Ally Chams", "Ally Chams")
  161. AllyChamsStatus.Text = "ON"
  162. AllyChamsStatus.TextColor3 = Color3.new(0, 1, 0)
  163. local RadarESP, RadarStatus = self:AddButton("Visual Cheats", "Radar", "Radar ESP")
  164. local TracerBut, TracerStatus = self:AddButton("Visual Cheats", "Tracer", "Tracers")
  165. local AllyTracerBut, AllyTracerStatus = self:AddButton("Visual Cheats", "AllyTracer", "Ally Tracers")
  166. AllyTracerStatus.Text = "ON"
  167. AllyTracerStatus.TextColor3 = Color3.new(0, 1, 0)
  168. local CrosshairBut, CrosshairStatus = self:AddButton("Visual Cheats", "Crosshair", "Crosshair")
  169. local DayBut, DayStatus = self:AddButton("Visual Cheats", "Day", "Day Time")
  170. DayStatus:Destroy()
  171. local NightBut, NightStatus = self:AddButton("Visual Cheats", "Night", "Night Time")
  172. NightStatus:Destroy()
  173. local FreezeBut, FreezeStatus = self:AddButton("Visual Cheats", "Freeze", "Freeze Time")
  174. local FullbrightToggle, FullbrightStatus = self:AddButton("Visual Cheats", "Fullbright", "Fullbright")
  175. local RemoveSunFlare, RemoveSunFlareStatus = self:AddButton("Visual Cheats", "Remove Sun Glare", "Remove Sun Glare")
  176. local RemoveBloodToggle, RemoveBloodStatus = self:AddButton("Visual Cheats", "Remove Blood", "Remove Blood Effects")
  177. RemoveSunFlareStatus:Destroy()
  178.  
  179. ESPBut.MouseButton1Click:connect(function()
  180. esp_stuff.enabled = not esp_stuff.enabled
  181. ESPStatus.Text = esp_stuff.enabled and "ON" or "OFF"
  182. ESPStatus.TextColor3 = esp_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  183.  
  184. for i, v in next, esp_stuff.esp_table do
  185. v.Name.Visible = esp_stuff.enabled
  186. v.Dist.Visible = esp_stuff.enabled
  187. end
  188. end)
  189.  
  190. FagESPBut.MouseButton1Click:connect(function()
  191. faggot_esp.enabled = not faggot_esp.enabled
  192. FagESPStatus.Text = faggot_esp.enabled and "ON" or "OFF"
  193. FagESPStatus.TextColor3 = faggot_esp.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  194.  
  195. if faggot_esp.enabled then
  196. faggot_esp:Start()
  197. else
  198. faggot_esp:Stop()
  199. end
  200. end)
  201.  
  202. ChamsBut.MouseButton1Click:connect(function()
  203. cham_stuff.enabled = not cham_stuff.enabled
  204. ChamsStatus.Text = cham_stuff.enabled and "ON" or "OFF"
  205. ChamsStatus.TextColor3 = cham_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  206.  
  207. --cham_stuff:SetTrans(cham_stuff.enabled and 0 or 1)
  208. end)
  209.  
  210. AllyChamsBut.MouseButton1Click:connect(function()
  211. cham_stuff.ally_chams = not cham_stuff.ally_chams
  212.  
  213. AllyChamsStatus.Text = cham_stuff.ally_chams and "ON" or "OFF"
  214. AllyChamsStatus.TextColor3 = cham_stuff.ally_chams and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  215. end)
  216.  
  217. RadarESP.MouseButton1Click:connect(function()
  218. if main.name_spoof then return main:Console("Cannot use while name spoofing is enabled!") end
  219. radar_stuff.enabled = not radar_stuff.enabled
  220.  
  221. RadarStatus.Text = radar_stuff.enabled and "ON" or "OFF"
  222. RadarStatus.TextColor3 = radar_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  223.  
  224. if radar_stuff.enabled then
  225. radar_stuff:Start()
  226. else
  227. radar_stuff:Stop()
  228. end
  229. end)
  230.  
  231. TracerBut.MouseButton1Click:connect(function()
  232. tracer_stuff.enabled = not tracer_stuff.enabled
  233. TracerStatus.Text = tracer_stuff.enabled and "ON" or "OFF"
  234. TracerStatus.TextColor3 = tracer_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  235.  
  236. for i, v in next, tracer_stuff.tracerTable do
  237. v.Visible = tracer_stuff.enabled
  238. end
  239. end)
  240.  
  241. AllyTracerBut.MouseButton1Click:connect(function()
  242. tracer_stuff.allyTracers = not tracer_stuff.allyTracers
  243.  
  244. AllyTracerStatus.Text = tracer_stuff.allyTracers and "ON" or "OFF"
  245. AllyTracerStatus.TextColor3 = tracer_stuff.allyTracers and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  246. end)
  247.  
  248. CrosshairBut.MouseButton1Click:connect(function()
  249. crosshair_stuff.enabled = not crosshair_stuff.enabled
  250.  
  251. CrosshairStatus.Text = crosshair_stuff.enabled and "ON" or "OFF"
  252. CrosshairStatus.TextColor3 = crosshair_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  253.  
  254. if crosshair_stuff.enabled then
  255. crosshair_stuff:Enable()
  256. else
  257. crosshair_stuff:Disable()
  258. end
  259. end)
  260.  
  261. DayBut.MouseButton1Click:connect(function()
  262. light.TimeOfDay = "12:00:00"
  263. end)
  264.  
  265. NightBut.MouseButton1Click:connect(function()
  266. light.TimeOfDay = "00:00:00"
  267. end)
  268.  
  269. FreezeBut.MouseButton1Click:connect(function()
  270. main.freezeTime = not main.freezeTime
  271.  
  272. FreezeStatus.Text = main.freezeTime and "ON" or "OFF"
  273. FreezeStatus.TextColor3 = main.freezeTime and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  274. end)
  275.  
  276. FullbrightToggle.MouseButton1Click:connect(function()
  277. fullbright_stuff.enabled = not fullbright_stuff.enabled
  278. FullbrightStatus.Text = fullbright_stuff.enabled and "ON" or "OFF"
  279. FullbrightStatus.TextColor3 = fullbright_stuff.enabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  280.  
  281. if fullbright_stuff.enabled then
  282. fullbright_stuff:Enable()
  283. else
  284. fullbright_stuff:Disable()
  285. end
  286. end)
  287.  
  288. RemoveSunFlare.MouseButton1Click:connect(function()
  289. for i, v in pairs(light:GetChildren()) do
  290. if v:IsA("SunRaysEffect") or v:IsA("BloomEffect") or v:IsA("ColorCorrectionEffect") then
  291. v:Destroy()
  292. end
  293. end
  294.  
  295. main:Console("Removed Sun Glares")
  296. end)
  297.  
  298. RemoveBloodToggle.MouseButton1Click:connect(function()
  299. main.remove_blood = not main.remove_blood
  300.  
  301. RemoveBloodStatus.Text = main.remove_blood and "ON" or "OFF"
  302. RemoveBloodStatus.TextColor3 = main.remove_blood and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  303.  
  304. if main.remove_blood then
  305. client.funcs["createblood"] = function(...) return end
  306. else
  307. client.funcs["createblood"] = client.createblood
  308. end
  309. end)
  310. end
  311.  
  312. do -- Gun Cheats
  313. self:AddMainFrame("Gun Cheats")
  314.  
  315. local Aimbot2Toggle, Aimbot2Status = self:AddButton("Gun Cheats", "Aimbot", "Aimbot")
  316. local InstantKillToggle, InstantKillStatus = self:AddButton("Gun Cheats", "Instant Kill", "Instant Kill")
  317. local AllHeadshotsToggle, AllHeadshotsStatus = self:AddButton("Gun Cheats", "All Headshots", "All Headshots")
  318. local WallBangToggle, WallBangStatus = self:AddButton("Gun Cheats", "Wall Bang Bonus", "Wall Bang Bonus")
  319. local InfiniteMagToggle, InfiniteMagStatus = self:AddButton("Gun Cheats", "Infinite Mag", "Infinite Mag")
  320. local NoRecoilToggle, NoRecoilStatus = self:AddButton("Gun Cheats", "No Recoil", "No Recoil")
  321. local NoSpreadToggle, NoSpreadStatus = self:AddButton("Gun Cheats", "No Spread", "No Spread")
  322. local RapidFireToggle, RapidFireStatus = self:AddButton("Gun Cheats", "Rapid Fire", "Rapid Fire")
  323. local RapidFireEdit = self:AddTextBox("Gun Cheats", "Rapid Fire Edit", "Modify Fire Rate")
  324. local FastReloadToggle, FastReloadStatus = self:AddButton("Gun Cheats", "Fast Reload", "Fast Reload")
  325. local NoReloadToggle, NoReloadStatus = self:AddButton("Gun Cheats", "No Reload", "No Reload")
  326. local InfiniteRangeToggle, InfiniteRangeStatus = self:AddButton("Gun Cheats", "Infinite Range", "Infinite Range")
  327. local IncreasedZoomToggle, IncreasedZoomStatus = self:AddButton("Gun Cheats", "Increased Zoom", "Increased Sniper Zoom")
  328. local NoGunBobToggle, NoGunBobStatus = self:AddButton("Gun Cheats", "No GunBob", "No Gun Bob")
  329. local NoGunSwayToggle, NoGunSwayStatus = self:AddButton("Gun Cheats", "No GunSway", "No Gun Sway")
  330. local NoOnFireAnimToggle, NoOnFireAnimStatus = self:AddButton("Gun Cheats", "No On Fire Anim", "Remove On Fire Animation")
  331. local PermanentBalTrackerToggle, PermanentBalTrackerStatus = self:AddButton("Gun Cheats", "Ballistic Tracker", "Ballistic Tracker")
  332. local HideFromRadarToggle, HideFromRadarStatus = self:AddButton("Gun Cheats", "Hide From Radar", "Hide From Radar")
  333. local UnlockAll, UnlockAllStatus = self:AddButton("Gun Cheats", "Unlock All", "Unlock All")
  334. UnlockAllStatus:Destroy()
  335.  
  336. Aimbot2Toggle.MouseButton1Click:connect(function()
  337. if client.engine == nil then return main:Console("ERROR: client.engine is missing. The exploit you are using is most likely not supported.") end
  338. main.aimbot2 = not main.aimbot2
  339.  
  340. Aimbot2Status.Text = main.aimbot2 and "ON" or "OFF"
  341. Aimbot2Status.TextColor3 = main.aimbot2 and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  342.  
  343. if main.aimbot2 then
  344. main:Console("Thank you Wally for sending me the old Framework script <3")
  345. end
  346. end)
  347.  
  348. InstantKillToggle.MouseButton1Click:connect(function()
  349. main.instant_kill = not main.instant_kill
  350.  
  351. InstantKillStatus.Text = main.instant_kill and "ON" or "OFF"
  352. InstantKillStatus.TextColor3 = main.instant_kill and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  353. end)
  354.  
  355. AllHeadshotsToggle.MouseButton1Click:connect(function()
  356. main.all_headshots = not main.all_headshots
  357.  
  358. AllHeadshotsStatus.Text = main.all_headshots and "ON" or "OFF"
  359. AllHeadshotsStatus.TextColor3 = main.all_headshots and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  360. end)
  361.  
  362. WallBangToggle.MouseButton1Click:connect(function()
  363. main.wall_bangs = not main.wall_bangs
  364.  
  365. WallBangStatus.Text = main.wall_bangs and "ON" or "OFF"
  366. WallBangStatus.TextColor3 = main.wall_bangs and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  367. end)
  368.  
  369. --[[InfiniteAmmoToggle.MouseButton1Click:connect(function()
  370. main.infinite_ammo = not main.infinite_ammo
  371.  
  372. InfiniteAmmoStatus.Text = main.infinite_ammo and "ON" or "OFF"
  373. InfiniteAmmoStatus.TextColor3 = main.infinite_ammo and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  374.  
  375. if main.infinite_ammo then
  376. functions:RunLoop("InfMag")
  377. else
  378. if not main.infinite_mag then
  379. functions:StopLoop("InfMag")
  380. end
  381. end
  382. end)]]
  383.  
  384. InfiniteMagToggle.MouseButton1Click:connect(function()
  385. main.infinite_mag = not main.infinite_mag
  386.  
  387. InfiniteMagStatus.Text = main.infinite_mag and "ON" or "OFF"
  388. InfiniteMagStatus.TextColor3 = main.infinite_mag and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  389.  
  390. if main.infinite_mag then
  391. functions:RunLoop("InfMag")
  392. else
  393. functions:StopLoop("InfMag")
  394. end
  395. end)
  396.  
  397. NoRecoilToggle.MouseButton1Click:connect(function()
  398. main.no_recoil = not main.no_recoil
  399.  
  400. NoRecoilStatus.Text = main.no_recoil and "ON" or "OFF"
  401. NoRecoilStatus.TextColor3 = main.no_recoil and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  402. main:Respawn()
  403. end)
  404.  
  405. NoSpreadToggle.MouseButton1Click:connect(function()
  406. main.no_spread = not main.no_spread
  407.  
  408. NoSpreadStatus.Text = main.no_spread and "ON" or "OFF"
  409. NoSpreadStatus.TextColor3 = main.no_spread and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  410. main:Respawn()
  411. end)
  412.  
  413. RapidFireToggle.MouseButton1Click:connect(function()
  414. main.rapid_fire = not main.rapid_fire
  415.  
  416. RapidFireStatus.Text = main.rapid_fire and "ON" or "OFF"
  417. RapidFireStatus.TextColor3 = main.rapid_fire and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  418. main:Respawn()
  419. end)
  420.  
  421. RapidFireEdit.FocusLost:connect(function()
  422. local n = tonumber(RapidFireEdit.Text)
  423. if type(n) == "number" then
  424. main.firerate = n
  425. RapidFireEdit.Text = "Modify Fire Rate"
  426.  
  427. main:Respawn()
  428.  
  429. main:Console("Fire Rate Set to: " .. tostring(n))
  430. end
  431. end)
  432.  
  433. FastReloadToggle.MouseButton1Click:connect(function()
  434. main.fast_reload = not main.fast_reload
  435.  
  436. FastReloadStatus.Text = main.fast_reload and "ON" or "OFF"
  437. FastReloadStatus.TextColor3 = main.fast_reload and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  438.  
  439. if main.fast_reload then
  440. main.no_reload = false
  441. NoReloadStatus.Text = "OFF"
  442. NoReloadStatus.TextColor3 = Color3.new(1, 0, 0)
  443. end
  444.  
  445. main:Respawn()
  446. end)
  447.  
  448. NoReloadToggle.MouseButton1Click:connect(function()
  449. main.no_reload = not main.no_reload
  450.  
  451. NoReloadStatus.Text = main.no_reload and "ON" or "OFF"
  452. NoReloadStatus.TextColor3 = main.no_reload and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  453.  
  454. if main.no_reload then
  455. main.fast_reload = false
  456. FastReloadStatus.Text = "OFF"
  457. FastReloadStatus.TextColor3 = Color3.new(1, 0, 0)
  458. end
  459.  
  460. main:Respawn()
  461. end)
  462.  
  463. InfiniteRangeToggle.MouseButton1Click:connect(function()
  464. main.infinite_range = not main.infinite_range
  465.  
  466. InfiniteRangeStatus.Text = main.infinite_range and "ON" or "OFF"
  467. InfiniteRangeStatus.TextColor3 = main.infinite_range and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  468. main:Respawn()
  469. end)
  470.  
  471. IncreasedZoomToggle.MouseButton1Click:connect(function()
  472. main.increased_zoom = not main.increased_zoom
  473.  
  474. IncreasedZoomStatus.Text = main.increased_zoom and "ON" or "OFF"
  475. IncreasedZoomStatus.TextColor3 = main.increased_zoom and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  476. main:Respawn()
  477. end)
  478.  
  479. NoGunBobToggle.MouseButton1Click:connect(function()
  480. main.no_gunbob = not main.no_gunbob
  481.  
  482. NoGunBobStatus.Text = main.no_gunbob and "ON" or "OFF"
  483. NoGunBobStatus.TextColor3 = main.no_gunbob and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  484. end)
  485.  
  486. NoGunSwayToggle.MouseButton1Click:connect(function()
  487. main.no_gunsway = not main.no_gunsway
  488.  
  489. NoGunSwayStatus.Text = main.no_gunsway and "ON" or "OFF"
  490. NoGunSwayStatus.TextColor3 = main.no_gunsway and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  491. end)
  492.  
  493. HideFromRadarToggle.MouseButton1Click:connect(function()
  494. main.hide_from_radar = not main.hide_from_radar
  495.  
  496. HideFromRadarStatus.Text = main.hide_from_radar and "ON" or "OFF"
  497. HideFromRadarStatus.TextColor3 = main.hide_from_radar and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  498. main:Respawn()
  499. end)
  500.  
  501. NoOnFireAnimToggle.MouseButton1Click:connect(function()
  502. main.remove_on_fire_anim = not main.remove_on_fire_anim
  503.  
  504. NoOnFireAnimStatus.Text = main.remove_on_fire_anim and "ON" or "OFF"
  505. NoOnFireAnimStatus.TextColor3 = main.remove_on_fire_anim and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  506. main:Respawn()
  507. end)
  508.  
  509. PermanentBalTrackerToggle.MouseButton1Click:connect(function()
  510. main.ballistic_tacker = not main.ballistic_tacker
  511.  
  512. PermanentBalTrackerStatus.Text = main.ballistic_tacker and "ON" or "OFF"
  513. PermanentBalTrackerStatus.TextColor3 = main.ballistic_tacker and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  514. end)
  515.  
  516. UnlockAll.MouseButton1Click:connect(function()
  517. local fuck = { }
  518. local you = getfenv(client.funcs.displayaward)
  519. local too = getupvals(you.updateplayercard).pdata
  520.  
  521. for i, v in next, rs.GunModules:GetChildren() do
  522. fuck[tostring(v)] = {paid = true}
  523. for i2, v2 in next, rs.AttachmentModels:GetChildren() do
  524. fuck[tostring(v)][tostring(v2)] = true
  525. end
  526.  
  527. local suc, out = coroutine.resume(coroutine.create(function()
  528. for i2, v2 in next, getupvals(getupvals(getfenv(client.funcs.displayaward).opencamopage).gencamolist).bigcamolist do
  529. too.settings.inventorydata[#too.settings.inventorydata + 1] = {Type = "Skin", Name = i2, Wep = tostring(v)}
  530. end
  531. end))
  532. if not suc then
  533. warn("Unlock All Failed to unlock Camos!", out)
  534. end
  535. end
  536.  
  537. pcall(function() client.datafr.changewep("AK12", "Primary", "Assault") end)
  538. pcall(function() client.gunstatfr.updateloadout() end)
  539.  
  540. main.loadoutData.primdata = functions:deepcopy(getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Primary)
  541. main.loadoutData.sidedata = functions:deepcopy(getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Secondary)
  542. main.loadoutData.knifedata = functions:deepcopy(getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Knife)
  543.  
  544. too.unlocks = fuck
  545.  
  546. main:Respawn()
  547.  
  548. main:Console("Unlocked everything. :)")
  549. end)
  550. end
  551.  
  552. do -- Character Cheats
  553. self:AddMainFrame("Character Cheats")
  554.  
  555. local SuperSpeedToggle, SuperSpeedStatus = self:AddButton("Character Cheats", "Super Speed", "Super Speed")
  556. local SuperJumpToggle = self:AddTextBox("Character Cheats", "Super Jump", "Jump Height Multiplier")
  557. --local InfiniteJumpToggle, InfiniteJumpStatus = self:AddButton("Character Cheats", "Infinite Jumping", "Infinite Jumps")
  558. local NoClipFlyToggle, NoClipFlyStatus = self:AddButton("Character Cheats", "NoClip / Fly Hack", "NoClip / Fly Hack")
  559. local InstantDespawnToggle, InstantDespawnStatus = self:AddButton("Character Cheats", "Instant Despawn", "Instant Despawn")
  560. local InstantRespawnToggle, InstantRespawnStatus = self:AddButton("Character Cheats", "Instant Respawn", "Instant Respawn")
  561.  
  562. SuperSpeedToggle.MouseButton1Click:connect(function()
  563. main.super_speed = not main.super_speed
  564.  
  565. SuperSpeedStatus.Text = main.super_speed and "ON" or "OFF"
  566. SuperSpeedStatus.TextColor3 = main.super_speed and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  567.  
  568. if not main.super_speed then
  569. functions:RunLoop("Super_Speed")
  570. client.char:setbasewalkspeed(main.movespeed_backup)
  571. else
  572. functions:StopLoop("Super_Speed")
  573. end
  574. end)
  575.  
  576. SuperJumpToggle.FocusLost:connect(function()
  577. main.super_jump = tonumber(SuperJumpToggle.Text) or 1
  578. main:Console("Set Jump Height Multiplier to: " .. main.super_jump)
  579. main:Console("Default Value: 1")
  580. SuperJumpToggle.Text = "Jump Height Multiplier"
  581. end)
  582.  
  583. --[[InfiniteJumpToggle.MouseButton1Click:connect(function()
  584. main.infinite_jumps = not main.infinite_jumps
  585.  
  586. InfiniteJumpStatus.Text = main.infinite_jumps and "ON" or "OFF"
  587. InfiniteJumpStatus.TextColor3 = main.infinite_jumps and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  588. end)]]
  589.  
  590. NoClipFlyToggle.MouseButton1Click:connect(function()
  591. main.noclip = not main.noclip
  592.  
  593. NoClipFlyStatus.Text = main.noclip and "ON" or "OFF"
  594. NoClipFlyStatus.TextColor3 = main.noclip and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  595.  
  596. if c then
  597. for i, v in next, c:GetChildren() do
  598. if v:IsA("BasePart") and tostring(v) ~= "HumanoidRootPart" then
  599. v.CanCollide = (main.noclip) and false or true
  600. end
  601. end
  602. end
  603. end)
  604.  
  605. InstantDespawnToggle.MouseButton1Click:connect(function()
  606. main.instant_despawn = not main.instant_despawn
  607.  
  608. InstantDespawnStatus.Text = main.instant_despawn and "ON" or "OFF"
  609. InstantDespawnStatus.TextColor3 = main.instant_despawn and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  610. end)
  611.  
  612. InstantRespawnToggle.MouseButton1Click:connect(function()
  613. main.instant_respawn = not main.instant_respawn
  614.  
  615. InstantRespawnStatus.Text = main.instant_respawn and "ON" or "OFF"
  616. InstantRespawnStatus.TextColor3 = main.instant_respawn and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  617. end)
  618.  
  619. --[[MartyrdomToggle.MouseButton1Click:connect(function()
  620. main.martyrdom = not main.martyrdom
  621.  
  622. MartyrdomStatus.Text = main.martyrdom and "ON" or "OFF"
  623. MartyrdomStatus.TextColor3 = main.martyrdom and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  624. end)]]
  625. end
  626.  
  627. do -- Miscellaneous Cheats
  628. self:AddMainFrame("Miscellaneous Cheats")
  629. local TestingToggle, TestingStatus
  630.  
  631. local CamoHackTest, CamoHackTestStatus = self:AddButton("Miscellaneous Cheats", "Camo Hack", "Camo Hack")
  632. local GravityHackToggle, GravityHackStatus = self:AddButton("Miscellaneous Cheats", "Gravity Hack", "Low Gravity")
  633. local NameSpoofToggle, NameSpoofStatus = self:AddButton("Miscellaneous Cheats", "Name Spoof", "Name Spoofing")
  634. local ChatSpoofToggle, ChatSpoofStatus = self:AddButton("Miscellaneous Cheats", "Chat Spoof", "Chat Spoof")
  635. local DumpNetworkToggle, DumpNetworkStatus = self:AddButton("Miscellaneous Cheats", "Dump Network", "Dump Network")
  636. local BreakWindowsToggle, BreakWindowsStatus = self:AddButton("Miscellaneous Cheats", "Break Windows", "Break All Windows")
  637. BreakWindowsStatus:Destroy()
  638. --[[local UseBestLoadout, LodoutStatus = self:AddButton("Miscellaneous Cheats", "Loadout", "Use Best Loadout")
  639. LodoutStatus:Destroy()]]
  640. local SaveCamoLoadout, SaveCamoStatus = self:AddButton("Miscellaneous Cheats", "Save Camo", "Save Camo")
  641. SaveCamoStatus:Destroy()
  642. local LoadCamoLoadout, LoadCamoStatus = self:AddButton("Miscellaneous Cheats", "Load Camo", "Load Camo")
  643. LoadCamoStatus:Destroy()
  644. local AdvertiseToggle, AdvertiseStatus = self:AddButton("Miscellaneous Cheats", "Advertise", "Advertise")
  645. AdvertiseStatus:Destroy()
  646. local DiscordToggle, DiscordStatus = self:AddButton("Miscellaneous Cheats", "Discord", "Copy Discord Invite")
  647. DiscordStatus:Destroy()
  648.  
  649. CamoHackTest.MouseButton1Click:connect(function()
  650. main.camotest = not main.camotest
  651.  
  652. CamoHackTestStatus.Text = main.camotest and "ON" or "OFF"
  653. CamoHackTestStatus.TextColor3 = main.camotest and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  654. end)
  655.  
  656. GravityHackToggle.MouseButton1Click:connect(function()
  657. main.gravity_hack = not main.gravity_hack
  658.  
  659. GravityHackStatus.Text = main.gravity_hack and "ON" or "OFF"
  660. GravityHackStatus.TextColor3 = main.gravity_hack and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  661.  
  662. if main.gravity_hack then
  663. workspace.Gravity = 10
  664. else
  665. workspace.Gravity = 192.6
  666. end
  667. end)
  668.  
  669. NameSpoofToggle.MouseButton1Click:connect(function()
  670. main.name_spoof = not main.name_spoof
  671.  
  672. NameSpoofStatus.Text = main.name_spoof and "ON" or "OFF"
  673. NameSpoofStatus.TextColor3 = main.name_spoof and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  674.  
  675. if main.name_spoof then
  676. functions:RunLoop("Name_Spoof")
  677. else
  678. functions:StopLoop("Name_Spoof")
  679. end
  680.  
  681. if client.gamelogic.currentgun == nil then
  682. client.menu.loadmenu()
  683. end
  684.  
  685. g.ChatGame.GlobalChat:ClearAllChildren()
  686. g.MainGui.GameGui.Killfeed:ClearAllChildren()
  687.  
  688. if radar_stuff.enabled then
  689. radar_stuff.enabled = false
  690. radar_stuff:Stop()
  691. self.gui_objs.mainframes["Visual Cheats"].buttons["Rardar"].textbutton.Text = "OFF"
  692. self.gui_objs.mainframes["Visual Cheats"].buttons["Rardar"].textbutton.TextColor3 = Color3.new(1, 0, 0)
  693. end
  694.  
  695. main:Console("Consider disabling the chat for full effectiveness of this feature.")
  696. end)
  697.  
  698. ChatSpoofToggle.MouseButton1Click:connect(function()
  699. main.chat_spoof = not main.chat_spoof
  700.  
  701. ChatSpoofStatus.Text = main.chat_spoof and "ON" or "OFF"
  702. ChatSpoofStatus.TextColor3 = main.chat_spoof and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  703.  
  704. g.ChatGame.GlobalChat:ClearAllChildren()
  705. end)
  706.  
  707. DumpNetworkToggle.MouseButton1Click:connect(function()
  708. main.dmpNetwork = not main.dmpNetwork
  709.  
  710. DumpNetworkStatus.Text = main.dmpNetwork and "ON" or "OFF"
  711. DumpNetworkStatus.TextColor3 = main.dmpNetwork and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  712. end)
  713.  
  714. BreakWindowsToggle.MouseButton1Click:connect(function()
  715. for i, v in next, workspace:GetDescendants() do
  716. if v:IsA("BasePart") and tostring(v) == "Window" then
  717. client.effects:breakwindow(v, nil, nil, true, true)
  718. end
  719. end
  720. main:Console("Broke all windows. You might lag for a few seconds.")
  721. end)
  722.  
  723. --[[UseBestLoadout.MouseButton1Click:connect(function()
  724. client.network:send("changewep", "ASSAULT", "PRIMARY", "AK12")
  725. getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Primary = {Name = "SKS", Attachments = {Optics = "Mini Sight", Barrel = "Flash Hider", Underbarrel = "Laser", Other = "Hollow Point"}, Camo = { }}
  726. end)]]
  727.  
  728. SaveCamoLoadout.MouseButton1Click:connect(function()
  729. writefile("PFPrimaryCamo.json", tostring(http:JSONEncode(getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Primary).Camo))
  730. writefile("PFSideCamo.json", tostring(http:JSONEncode(getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Secondary).Camo))
  731. main:Console("Saved")
  732. end)
  733.  
  734. LoadCamoLoadout.MouseButton1Click:connect(function()
  735. getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Primary.Camo = http:JSONDecode(readfile("PFPrimaryCamo.json"))
  736. getupval(client.menu.deploy, "classdata")[getupval(client.menu.deploy, "curclass")].Secondary.Camo = http:JSONDecode(readfile("PFSideCamo.json"))
  737. main:Console("Loaded")
  738. end)
  739.  
  740. AdvertiseToggle.MouseButton1Click:connect(function()
  741. client.network:send("chatted", "I'm using Dolphin's GUI!")
  742. end)
  743.  
  744. DiscordToggle.MouseButton1Click:connect(function()
  745. if copy ~= nil then
  746. copy("https://discord.gg/KfFKzaC") -- Need to update
  747. main:Console("Discord invite copied to clipboard!")
  748. else
  749. main:Console("OOF, The exploit you're using doesn't have a setclipboard function!")
  750. end
  751. end)
  752. end
  753.  
  754. do -- Aimbot Settings
  755. self:AddMainFrame("Aimbot Settings")
  756.  
  757. local AimbotAutoShootToggle, AimbotAutoShootStatus = self:AddButton("Aimbot Settings", "Auto Shoot", "Auto Shoot")
  758. AimbotAutoShootStatus.Text = "ON"
  759. AimbotAutoShootStatus.TextColor3 = Color3.new(0, 1, 0)
  760. local AimbotTargetVisiblePlayersToggle, AimbotTargetVisiblePlayersStatus = self:AddButton("Aimbot Settings", "Target Visible Players", "Target Visible Players Only")
  761. local AimbotAimForBodyToggle, AimbotAimForBodyStatus = self:AddButton("Aimbot Settings", "Aim For", "Bodypart")
  762. AimbotAimForBodyStatus.Text = "Head"
  763. AimbotAimForBodyStatus.TextColor3 = Color3.new(1, 1, 1)
  764. local AimbotUseLerp, AimbotLerpStatus = self:AddButton("Aimbot Settings", "Use Lerp", "Use Lerp")
  765. local AimbotLerpTime = self:AddTextBox("Aimbot Settings", "LerpTime", "Lerp Response Time")
  766. --local AimbotHalfScreen, AimbotHalfStatus = self:AddButton("Aimbot Settings", "ScreenCov", "50% Screen Coverage")
  767.  
  768. AimbotAutoShootToggle.MouseButton1Click:connect(function()
  769. main.aimbot_autoshoot = not main.aimbot_autoshoot
  770.  
  771. AimbotAutoShootStatus.Text = main.aimbot_autoshoot and "ON" or "OFF"
  772. AimbotAutoShootStatus.TextColor3 = main.aimbot_autoshoot and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  773. end)
  774.  
  775. AimbotTargetVisiblePlayersToggle.MouseButton1Click:connect(function()
  776. main.aimbot_visiblePlayersOnly = not main.aimbot_visiblePlayersOnly
  777.  
  778. AimbotTargetVisiblePlayersStatus.Text = main.aimbot_visiblePlayersOnly and "ON" or "OFF"
  779. AimbotTargetVisiblePlayersStatus.TextColor3 = main.aimbot_visiblePlayersOnly and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  780. end)
  781.  
  782. AimbotAimForBodyToggle.MouseButton1Click:connect(function()
  783. local b = main.aimbot_bodypart
  784. if b == "Head" then
  785. main.aimbot_bodypart = "HumanoidRootPart"
  786. elseif b == "HumanoidRootPart" then
  787. main.aimbot_bodypart = "Left Arm"
  788. elseif b == "Left Arm" then
  789. main.aimbot_bodypart = "Right Arm"
  790. elseif b == "Right Arm" then
  791. main.aimbot_bodypart = "Left Leg"
  792. elseif b == "Left Leg" then
  793. main.aimbot_bodypart = "Right Leg"
  794. elseif b == "Right Leg" then
  795. main.aimbot_bodypart = "Head"
  796. end
  797.  
  798. AimbotAimForBodyStatus.Text = main.aimbot_bodypart
  799.  
  800. main:Console("Body Part set to: " .. main.aimbot_bodypart .. " (DEFAULT VALUE: Head)")
  801. end)
  802.  
  803. AimbotUseLerp.MouseButton1Click:connect(function()
  804. main.aimbot_useLerp = not main.aimbot_useLerp
  805.  
  806. AimbotLerpStatus.Text = main.aimbot_useLerp and "ON" or "OFF"
  807. AimbotLerpStatus.TextColor3 = main.aimbot_useLerp and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  808. end)
  809.  
  810. AimbotLerpTime.FocusLost:connect(function()
  811. local n = tonumber(AimbotLerpTime.Text) or 0.15
  812.  
  813. AimbotLerpTime.Text = "Lerp Response Time"
  814.  
  815. if n <= 0 or n >= 1 then
  816. n = 0.15
  817. end
  818.  
  819. main.aimbot_lerpTime = n
  820. main:Console("Aimbot Lerp Time set to: " .. tostring(main.aimbot_lerpTime))
  821. end)
  822.  
  823. --[[AimbotHalfScreen.MouseButton1Click:connect(function()
  824. main.aimbot_halfScreen = main.aimbot_halfScreen
  825.  
  826. AimbotHalfStatus.Text = main.aimbot_halfScreen and "ON" or "OFF"
  827. AimbotHalfStatus.TextColor3 = main.aimbot_halfScreen and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
  828. end)]]
  829. end
  830.  
  831. do -- ui toggle
  832. i.InputBegan:connect(function(input, ingui)
  833. if not ingui then
  834. if input.UserInputType == Enum.UserInputType.Keyboard then
  835. if input.KeyCode == Enum.KeyCode.P then
  836. self.gui_objs.main.Enabled = not self.gui_objs.main.Enabled
  837. if self.gui_objs.main.Enabled then
  838. for i, v in pairs(self.gui_objs.mainframes) do
  839. if type(v) == "table" then
  840. for i2, v2 in pairs(self.gui_objs.mainframes[i].buttons) do
  841. if self.gui_objs.mainframes[i].buttons[i2].textbutton ~= nil then
  842. self.gui_objs.mainframes[i].buttons[i2].textbutton.Modal = true
  843. end
  844. end
  845. end
  846. end
  847. i.MouseIconEnabled = true
  848. else
  849. for i, v in pairs(self.gui_objs.mainframes) do
  850. if type(v) == "table" then
  851. for i2, v2 in pairs(self.gui_objs.mainframes[i].buttons) do
  852. if self.gui_objs.mainframes[i].buttons[i2].textbutton ~= nil then
  853. self.gui_objs.mainframes[i].buttons[i2].textbutton.Modal = false
  854. end
  855. end
  856. end
  857. end
  858. if client.gamelogic.currentgun ~= nil then
  859. i.MouseIconEnabled = false
  860. end
  861. end
  862. end
  863. end
  864. end
  865. end)
  866. end
  867. end
  868. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement