Advertisement
marcelslibrary

Untitled

Oct 24th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.21 KB | None | 0 0
  1. --[[
  2. visuals library hahaaaaa
  3. ]]
  4.  
  5. local r = game:GetService("RunService")
  6. local Players = game:GetService("Players") or game.Players
  7. local Workspace = game:GetService("Workspace") or workspace or game.Workspace
  8. local L = game:GetService("Lighting") or game.Lighting
  9. local http = game:GetService("HttpService")
  10. local user = game:GetService("UserInputService")
  11. local RS = game:GetService("ReplicatedStorage") or game.ReplicatedStorage
  12. local TS = game:GetService("TweenService")
  13. local CG = game:GetService("CoreGui")
  14. local Teams = game:GetService("Teams") or game.Teams
  15. local Camera = Workspace.CurrentCamera or Workspace:FindFirstChild("Camera")
  16.  
  17. local LP = Players.LocalPlayer
  18. local PG = LP.PlayerGui or LP:FindFirstChild("PlayerGui")
  19. local BP = LP.Backpack or LP:FindFirstChild("Backpack")
  20. local PS = LP.PlayerScripts or LP:FindFirstChild("PlayerScripts")
  21. local Mouse = LP:GetMouse()
  22. local Character = LP.Character or LP.CharacterAdded:wait()
  23.  
  24. local Colors = {
  25. Red = Color3.fromRGB(100,0,0),
  26. Green = Color3.fromRGB(0,100,0),
  27. Blue = Color3.fromRGB(0,0,100),
  28. Tracers = Color3.fromRGB(),
  29. ESP = Color3.fromRGB(),
  30. HeadDot = Color3.fromRGB(),
  31. ChamsColor = Color3.fromRGB(),
  32. Boxes = Color3.fromRGB(),
  33. Crosshair = Color3.fromRGB(100,0,255),
  34. }
  35.  
  36.  
  37. local functions = { }
  38. local visuals = {
  39. tracer_shit = {
  40. enabled = false,
  41. x = {},
  42. obj = {},
  43. },
  44.  
  45. esp_shit = {
  46. enabled = false,
  47. x = {},
  48. obj = {},
  49. },
  50.  
  51. headdot_shit = {
  52. enabled = false,
  53. x = {},
  54. },
  55.  
  56. chams_shit = {
  57. enabled = false,
  58. x = {},
  59. obj = {},
  60. },
  61.  
  62. box_shit = {
  63. x = {},
  64. enabled = false,
  65. },
  66.  
  67. crosshair_shit = {},
  68.  
  69. circlecrosshair_shit = {},
  70.  
  71. fullbright_shit = {
  72. enabled = false,
  73. x = {},
  74. },
  75.  
  76.  
  77. Settings = {
  78. Enemy = false,
  79. BoxFilled = false,
  80. CircleFilled = true,
  81. Distanceval = 500,
  82.  
  83. TracerColors = true,
  84. ESPColors = true,
  85. HeadDotColors = true,
  86. BoxColors = true,
  87. },
  88. loops = {},
  89. }
  90.  
  91. function functions:GetDistance(plr)
  92. local char = plr.Character or plr.CharacterAdded:wait()
  93. if char and Character then
  94. local hum = char:FindFirstChild("HumanoidRootPart") or char:WaitForChild("HumanoidRootPart")
  95. local hum1 = Character:FindFirstChild("HumanoidRootPart") or Character:WaitForChild("HumanoidRootPart")
  96. if hum and hum1 then
  97. local dist = (hum1.Position - hum.Position).magnitude
  98. return dist
  99. else
  100. return visuals.Settings.Distanceval
  101. end
  102. end
  103. end
  104.  
  105.  
  106. function functions:GetTeamColor(player)
  107. if LP.Team == player.Team then
  108. return Color3.new(0, 1, 0)
  109. end;
  110. if tostring(LP.Team) == "Prisoner" then
  111. if tostring(player.Team) == "Police" then
  112. return Color3.new(1, 0, 0)
  113. else
  114. return Color3.new(0, 1, 0)
  115. end
  116. elseif tostring(LP.Team) == "Criminal" then
  117. if tostring(player.Team) == "Police" then
  118. return Color3.new(1, 0, 0)
  119. else
  120. return Color3.new(0, 1, 0)
  121. end
  122. elseif tostring(LP.Team) == "Police" then
  123. if tostring(player.Team) == "Criminal" then
  124. return Color3.new(1, 0, 0)
  125. else
  126. return Color3.new(1, 1, 0)
  127. end
  128. end;
  129. return Color3.new(1, 0, 0)
  130. end
  131.  
  132. function functions:CreateLoop(name, func, waitt, canBeDestroyed, ...)
  133. if visuals.loops[name] ~= nil then return end
  134.  
  135. visuals.loops[name] = { }
  136. visuals.loops[name].Running = false
  137. visuals.loops[name].Destroy = false
  138. visuals.loops[name].CanBeDestroyed = canBeDestroyed
  139. visuals.loops[name].Loop = coroutine.create(function(...)
  140. while true do
  141. if visuals.loops[name].Running then
  142. func(...)
  143. end
  144.  
  145. if visuals.loops[name].Destroy then
  146. break
  147. end
  148.  
  149. if type(wait) == "userdata" then
  150. waitt:wait()
  151. else
  152. wait(waitt)
  153. end
  154. end
  155. end)
  156. end
  157.  
  158. function functions:RunLoop(name, func, waitt, canBeDestroyed, ...)
  159. if visuals.loops[name] == nil then
  160. if func ~= nil then
  161. self:CreateLoop(name, func, waitt, canBeDestroyed, ...)
  162. end
  163. end
  164.  
  165. visuals.loops[name].Running = true
  166. local succ, out = coroutine.resume(visuals.loops[name].Loop)
  167. if not succ then
  168. warn("Loop: " .. tostring(name) .. " ERROR: " .. tostring(out))
  169. end
  170. end
  171.  
  172. function functions:StopLoop(name)
  173. if visuals.loops[name] == nil then return end
  174.  
  175. visuals.loops[name].Running = false
  176. end
  177.  
  178. function functions:DestroyLoop(name)
  179. if visuals.loops[name] == nil then return end
  180.  
  181. self:StopLoop(name)
  182. visuals.loops[name].Destroy = true
  183.  
  184. visuals.loops[name] = nil
  185. end
  186.  
  187. function functions:DestroyAllLoops()
  188. for i, v in next, visuals.loops do
  189. self:DestroyLoop(i)
  190. end
  191. end
  192.  
  193. function functions:CreateFolder(name,parent)
  194. local x = Instance.new("Folder",parent)
  195. x.Name = name
  196. return x
  197. end
  198.  
  199.  
  200.  
  201. do--tracer
  202.  
  203. function visuals.tracer_shit.obj:CreateTracer(obj)
  204. local x = Drawing.new("Line")
  205. self[tostring(obj)] = {}
  206. self[tostring(obj)].enabled = false
  207. self[tostring(obj)].obj = x
  208. x.Thickness = 2
  209. x.Visible = self.obj[tostring(obj)].enabled
  210. x.Color = Colors.Blue
  211. return x
  212. end
  213.  
  214. function visuals.tracer_shit.obj:RemoveTracer(obj)
  215. if self.obj[tostring(obj)] ~= nil then
  216. self.obj[tostring(obj)]:Remove()
  217. self[tostring(obj)] = nil
  218. end
  219. end
  220.  
  221. function visuals.tracer_shit.obj:UpdateTracer(obj)
  222. local x = self[tostring(obj)].obj
  223. if x then
  224. local x1, x2 = Camera:WorldToViewportPoint(obj.CFrame.p - Vector3.new(0, 3, 0))
  225. if x2 and isrbxactive() then
  226. x.Visible = true
  227. x.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  228. x.To = Vector2.new(x1.X,x1.Y)
  229. else
  230. x.Visible = false
  231. end
  232. end
  233. end
  234.  
  235.  
  236.  
  237.  
  238. function visuals.tracer_shit:CreateTracer(plr)
  239. local x = Drawing.new("Line")
  240. x.Thickness = 2
  241. x.Visible = self.enabled
  242. self.x[tostring(plr)] = x
  243. if visuals.Settings.TracerColors then
  244. x.Color = functions:GetTeamColor(plr)
  245. else
  246. x.Color = Colors.Tracers
  247. end
  248. return x
  249. end
  250.  
  251. function visuals.tracer_shit:RemoveTracer(plr)
  252. if self.x[tostring(plr)] ~= nil then
  253. self.x[tostring(plr)]:Remove()
  254. self.x[tostring(plr)] = nil
  255. end
  256. end
  257.  
  258. function visuals.tracer_shit:UpdateTracer(plr)
  259. local x = self.x[tostring(plr)]
  260. local char = plr.Character
  261. if char and x then
  262.  
  263. --[[if plr.Team == LP.Team and visuals.Settings.Enemy then
  264. x.Visible = false
  265. return
  266. end]]--enemy check
  267. if functions:GetDistance(plr) > visuals.Settings.Distanceval then
  268. x.Visible = false
  269. return
  270. end
  271.  
  272.  
  273. if plr.Name == LP.Name then return end
  274.  
  275. local t = char:FindFirstChild("HumanoidRootPart")
  276. if t then
  277. local x1, x2 = Camera:WorldToViewportPoint(t.CFrame.p - Vector3.new(0, 3, 0))
  278. if x2 and isrbxactive() then
  279. x.Visible = self.enabled
  280. x.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  281. x.To = Vector2.new(x1.X,x1.Y)
  282. if visuals.Settings.TracerColors then
  283. x.Color = functions:GetTeamColor(plr)
  284. else
  285. x.Color = Colors.Tracers
  286. end
  287.  
  288. else
  289. x.Visible = false
  290. end
  291.  
  292. end
  293. end
  294. end
  295.  
  296. function visuals.tracer_shit:Init()
  297. functions:CreateLoop("UpdatePlayerTracers",function()
  298. for i,v in pairs(Players:GetPlayers()) do
  299. self:UpdateTracer(v)
  300. end
  301. end,r.RenderStepped)
  302.  
  303. for i,v in pairs(Players:GetPlayers()) do
  304. self:CreateTracer(v)
  305. end
  306.  
  307. Players.PlayerAdded:connect(function(x)
  308. self:CreateTracer(x)
  309. end)
  310.  
  311. Players.PlayerRemoving:connect(function(x)
  312. self:RemoveTracer(x)
  313. end)
  314. end
  315. end
  316.  
  317.  
  318.  
  319.  
  320. do--esp
  321.  
  322. function visuals.esp_shit.obj:CreateESP(obj)
  323. local x = Drawing.new("Text")
  324. self[tostring(obj)] = {}
  325. self[tostring(obj)].enabled = false
  326. self[tostring(obj)].obj = x
  327. x.Visible = self[tostring(obj)].enabled
  328. x.Color = Colors.Blue
  329. x.Center = true
  330. return x
  331. end
  332.  
  333. function visuals.esp_shit.obj:UpdateESP(obj,text)
  334. if obj then
  335. local x = self[tostring(obj)]
  336. x.Visible = x.enabled
  337. end
  338. end
  339.  
  340. function visuals.esp_shit.obj:RemoveESP(obj)
  341. if self[tostring(obj)].obj ~= nil then
  342. self[tostring(obj)].obj:Remove()
  343. self[tostring(obj)].obj = nil
  344. end
  345. end
  346.  
  347.  
  348. function visuals.esp_shit:CreateESP(plr)
  349. if plr.Name == LP.Name then return end
  350. local char = plr.Character or plr.CharacterAdded:wait()
  351. if char then
  352. local tor = char:FindFirstChild("HumanoidRootPart") or char:WaitForChild("HumanoidRootPart")
  353. local head = char:FindFirstChild("Head") or char:WaitForChild("Head")
  354. if tor and head then
  355. local pos = Camera:WorldToScreenPoint(head.Position)
  356. local x = Drawing.new("Text")
  357. x.Text = tostring(plr)
  358. x.Visible = self.enabled
  359. x.Size = 15
  360. x.Position = Vector2.new(pos.X, pos.Y+15)
  361. x.Center = true
  362. self.x[tostring(plr)] = x
  363. if visuals.Settings.TracerColors then
  364. x.Color = functions:GetTeamColor(plr)
  365. else
  366. x.Color = Colors.ESP
  367. end
  368. return x
  369. end
  370. end
  371. end
  372.  
  373. function visuals.esp_shit:RemoveESP(plr)
  374. if self.x[tostring(plr)] ~= nil then
  375. self.x[tostring(plr)]:Remove()
  376. self.x[tostring(plr)] = nil
  377. end
  378. end
  379.  
  380. function visuals.esp_shit:UpdateESP(plr)
  381. local x = self.x[tostring(plr)]
  382. local char = plr.Character or plr.CharacterAdded:wait()
  383. if char then
  384. local head = char:FindFirstChild("Head")
  385. local tor = char:FindFirstChild("HumanoidRootPart")
  386. if x and tor and head then
  387. local pos1, pos2 = Camera:WorldToScreenPoint(head.Position)
  388. --[[if plr.Team == LP.Team and visuals.Settings.Enemy then
  389. x.Visible = false
  390. return
  391. end]]--enemy check
  392. if functions:GetDistance(plr) > visuals.Settings.Distanceval then
  393. x.Visible = false
  394. return
  395. end
  396.  
  397. if plr.Name == LP.Name then return end
  398. if isrbxactive() and pos2 then
  399.  
  400. if visuals.Settings.TracerColors then
  401. x.Color = functions:GetTeamColor(plr)
  402. else
  403. x.Color = Colors.ESP
  404. end
  405.  
  406. x.Visible = self.enabled
  407. x.Position = Vector2.new(pos1.X, pos1.Y)
  408. else
  409. x.Visible = false
  410. end
  411. end
  412. end
  413. end
  414.  
  415. function visuals.esp_shit:Init()
  416. functions:CreateLoop("UpdatePlayerESP",function()
  417. for i,v in pairs(Players:GetPlayers()) do
  418. self:UpdateESP(v)
  419. end
  420. end,r.RenderStepped)
  421.  
  422. for i,v in pairs(Players:GetPlayers()) do
  423. self:CreateESP(v)
  424. end
  425.  
  426. Players.PlayerAdded:connect(function(x)
  427. self:CreateESP(x)
  428. end)
  429.  
  430. Players.PlayerRemoving:connect(function(x)
  431. self:RemoveESP(x)
  432. end)
  433. end
  434. end
  435.  
  436. do--head dot
  437. function visuals.headdot_shit:CreateDot(plr)
  438. local char = plr.Character or plr.CharacterAdded:wait()
  439. if char then
  440. local head = char:FindFirstChild("Head")
  441. if head then
  442. local x = Drawing.new("Circle")
  443. if visuals.Settings.TracerColors then
  444. x.Color = functions:GetTeamColor(plr)
  445. else
  446. x.Color = Colors.HeadDot
  447. end
  448. x.Filled = visuals.Settings.CircleFilled
  449. x.Transparency = 0.4
  450. x.Visible = self.enabled
  451. self.x[tostring(plr)] = x
  452. end
  453. end
  454. end
  455.  
  456. function visuals.headdot_shit:UpdateDot(plr)
  457. local x = self.x[tostring(plr)]
  458. local char = plr.Character or plr.CharacterAdded:wait()
  459. if char then
  460. local head = char:FindFirstChild("Head")
  461. if x and head then
  462. local pos, scr = Camera:WorldToViewportPoint(head.Position)
  463. --[[if plr.Team == LP.Team and visuals.Settings.Enemy then
  464. x.Visible = false
  465. return
  466. end]]--enemy check
  467. if functions:GetDistance(plr) > visuals.Settings.Distanceval then
  468. x.Visible = false
  469. return
  470. end
  471.  
  472.  
  473. if plr.Name == LP.Name then return end
  474. if isrbxactive() and scr then
  475. if visuals.Settings.TracerColors then
  476. x.Color = functions:GetTeamColor(plr)
  477. else
  478. x.Color = Colors.HeadDot
  479. end
  480. x.Radius = 700 / pos.Z
  481. x.Filled = visuals.Settings.CircleFilled
  482. x.Visible = self.enabled
  483. x.Position = Vector2.new(pos.X, pos.Y)
  484. else
  485. x.Visible = false
  486. end
  487. end
  488. end
  489. end
  490.  
  491. function visuals.headdot_shit:RemoveDot(plr)
  492. if self.x[tostring(plr)] ~= nil then
  493. self.x[tostring(plr)]:Remove()
  494. self.x[tostring(plr)] = nil
  495. end
  496. end
  497.  
  498. function visuals.headdot_shit:Init()
  499. functions:CreateLoop("UpdatePlayerDot",function()
  500. for i,v in pairs(Players:GetPlayers()) do
  501. self:UpdateDot(v)
  502. end
  503. end,r.RenderStepped)
  504.  
  505. for i,v in pairs(Players:GetPlayers()) do
  506. self:CreateDot(v)
  507. end
  508.  
  509. Players.PlayerAdded:connect(function(x)
  510. self:CreateDot(x)
  511. end)
  512.  
  513. Players.PlayerRemoving:connect(function(x)
  514. self:RemoveDot(x)
  515. end)
  516. end
  517. end
  518.  
  519. do--box
  520. function visuals.box_shit:CreateBox(plr)
  521. local char = plr.Character or plr.CharacterAdded:wait()
  522. if char then
  523. local head = char:FindFirstChild("Head") or char:WaitForChild("Head")
  524. local hum = char:FindFirstChild("HumanoidRootPart") or char:WaitForChild("HumanoidRootPart")
  525. if hum and head then
  526. local tleft = Drawing.new("Line")
  527. local tright = Drawing.new("Line")
  528. local bleft = Drawing.new("Line")
  529. local bright = Drawing.new("Line")
  530.  
  531. tleft.Visible = self.enabled
  532. tright.Visible = self.enabled
  533. bleft.Visible = self.enabled
  534. bright.Visible = self.enabled
  535.  
  536. self.x[tostring(plr)] = {}
  537. self.x[tostring(plr)].tleft = tleft
  538. self.x[tostring(plr)].tright = tright
  539. self.x[tostring(plr)].bleft = bleft
  540. self.x[tostring(plr)].bright = bright
  541. end
  542. end
  543. end
  544.  
  545. function visuals.box_shit:UpdateBox(plr)
  546. local x = self.x[tostring(plr)]
  547. if x ~= nil then
  548.  
  549. local char = plr.Character or plr.CharacterAdded:wait()
  550. if char then
  551. local hum = char:FindFirstChild("HumanoidRootPart") or char:WaitForChild("HumanoidRootPart")
  552. if hum then
  553.  
  554.  
  555.  
  556. local x,vis = Camera:WorldToScreenPoint((hum.CFrame * CFrame.new(2, 3, 0)).p)
  557. local x1,vis1 = Camera:WorldToScreenPoint((hum.CFrame * CFrame.new(-2, 3, 0)).p)
  558. local x2,vis2 = Camera:WorldToScreenPoint((hum.CFrame * CFrame.new(2, -3, 0)).p)
  559. local x3,vis3 = Camera:WorldToScreenPoint((hum.CFrame * CFrame.new(-2, -3, 0)).p)
  560.  
  561. local a = self.x[tostring(plr)].tleft
  562. local b = self.x[tostring(plr)].tright
  563. local c = self.x[tostring(plr)].bleft
  564. local d = self.x[tostring(plr)].bright
  565.  
  566. if a and b and c and d then
  567.  
  568.  
  569. if plr.Team == LP.Team and visuals.Settings.Enemy then
  570. a.Visible = false
  571. b.Visible = false
  572. c.Visible = false
  573. d.Visible = false
  574. return
  575. end
  576. if plr.Name == LP.Name then return end
  577.  
  578. if vis and isrbxactive() then
  579. a.Visible = self.enabled
  580. a.From = Vector2.new(x.X,x.Y)
  581. a.To = Vector2.new(x1.X,x1.Y)
  582. if visuals.Settings.BoxColors then
  583. a.Color = functions:GetTeamColor(plr)
  584. else
  585. a.Color = Colors.Boxes
  586. end
  587. else
  588. a.Visible = false
  589. end
  590.  
  591. if vis1 and isrbxactive() then
  592. b.Visible = self.enabled
  593. b.From = Vector2.new(x1.X,x1.Y)
  594. b.To = Vector2.new(x3.X,x3.Y)
  595. if visuals.Settings.BoxColors then
  596. b.Color = functions:GetTeamColor(plr)
  597. else
  598. b.Color = Colors.Boxes
  599. end
  600. else
  601. b.Visible = false
  602. end
  603.  
  604. if vis2 and isrbxactive() then
  605. c.Visible = self.enabled
  606. c.From = Vector2.new(x2.X,x2.Y)
  607. c.To = Vector2.new(x.X,x.Y)
  608. if visuals.Settings.BoxColors then
  609. c.Color = functions:GetTeamColor(plr)
  610. else
  611. c.Color = Colors.Boxes
  612. end
  613. else
  614. c.Visible = false
  615. end
  616.  
  617. if vis3 and isrbxactive() then
  618. d.Visible = self.enabled
  619. d.From = Vector2.new(x3.X,x3.Y)
  620. d.To = Vector2.new(x2.X,x2.Y)
  621. if visuals.Settings.BoxColors then
  622. d.Color = functions:GetTeamColor(plr)
  623. else
  624. d.Color = Colors.Boxes
  625. end
  626. else
  627. d.Visible = false
  628. end
  629.  
  630.  
  631. end
  632. end
  633. end
  634. end
  635. end
  636.  
  637. function visuals.box_shit:RemoveBox(plr)
  638. if self.x[tostring(plr)] ~= nil then
  639. for i,v in pairs(self.x[tostring(plr)]) do
  640. v:Remove()
  641. end
  642. self.x[tostring(plr)] = nil
  643. end
  644. end
  645.  
  646. function visuals.box_shit:Init()
  647. functions:CreateLoop("UpdatePlayerBox",function()
  648. for i,v in pairs(Players:GetPlayers()) do
  649. self:UpdateBox(v)
  650. end
  651. end,r.RenderStepped)
  652.  
  653. for i,v in pairs(Players:GetPlayers()) do
  654. self:CreateBox(v)
  655. end
  656.  
  657. Players.PlayerAdded:connect(function(x)
  658. self:CreateBox(x)
  659. end)
  660.  
  661. Players.PlayerRemoving:connect(function(x)
  662. self:RemoveBox(x)
  663. end)
  664. end
  665.  
  666. end--box
  667.  
  668.  
  669.  
  670.  
  671. do--fullbright
  672. function visuals.fullbright_shit:Init()
  673. self.x["Ambient"] = L.Ambient
  674. self.x["Brightness"] = L.Brightness
  675. self.x["ColorShift_Bottom"] = L.ColorShift_Bottom
  676. self.x["ColorShift_Top"] = L.ColorShift_Top
  677. self.x["OutdoorAmbient"] = L.OutdoorAmbient
  678. visuals.Initialized.Fullbright = true;
  679. end
  680.  
  681. function visuals.fullbright_shit:Enabled()
  682. L.Ambient = Color3.new(1, 1, 1)
  683. L.Brightness = 2
  684. L.ColorShift_Bottom = Color3.new(1, 1, 1)
  685. L.ColorShift_Top = Color3.new(1, 1, 1)
  686. L.OutdoorAmbient = Color3.new(1, 1, 1)
  687. end
  688.  
  689. function visuals.fullbright_shit:Disable()
  690. for i,v in pairs(self.x) do
  691. L[i] = v
  692. end
  693. end
  694.  
  695. end--fullbright
  696.  
  697. do--crosshair
  698. function visuals.crosshair_shit:Enable()
  699. visuals.crosshair_shit.x.To = Vector2.new((Workspace.CurrentCamera.ViewportSize.X / 2) - 12, (Workspace.CurrentCamera.ViewportSize.Y / 2))
  700. visuals.crosshair_shit.x.From = Vector2.new((Workspace.CurrentCamera.ViewportSize.X / 2) + 12, (Workspace.CurrentCamera.ViewportSize.Y / 2))
  701. visuals.crosshair_shit.y.To = Vector2.new((Workspace.CurrentCamera.ViewportSize.X / 2), (Workspace.CurrentCamera.ViewportSize.Y / 2) - 12)
  702. visuals.crosshair_shit.y.From = Vector2.new((Workspace.CurrentCamera.ViewportSize.X / 2), (Workspace.CurrentCamera.ViewportSize.Y / 2) + 12)
  703. visuals.crosshair_shit.x.Visible = true
  704. visuals.crosshair_shit.y.Visible = true
  705. end
  706.  
  707. function visuals.crosshair_shit:Init()
  708. visuals.crosshair_shit.x = Drawing.new("Line")
  709. visuals.crosshair_shit.x.Visible = false
  710. visuals.crosshair_shit.x.Thickness = 1
  711. visuals.crosshair_shit.x.Color = Colors.Crosshair
  712.  
  713. visuals.crosshair_shit.y = Drawing.new("Line")
  714. visuals.crosshair_shit.y.Visible = false
  715. visuals.crosshair_shit.y.Thickness = 1
  716. visuals.crosshair_shit.y.Color = Colors.Crosshair
  717. end
  718.  
  719. function visuals.crosshair_shit:Disable()
  720. visuals.crosshair_shit.x.Visible = false
  721. visuals.crosshair_shit.y.Visible = false
  722. end
  723.  
  724. end--crosshair
  725.  
  726. do--circle crosshair
  727. function visuals.circlecrosshair_shit:Enable()
  728. visuals.circlecrosshair_shit.z.Position = Vector2.new(Workspace.CurrentCamera.ViewportSize.X / 2, Workspace.CurrentCamera.ViewportSize.Y / 2)
  729. visuals.circlecrosshair_shit.z.Visible = true
  730. end
  731.  
  732. function visuals.circlecrosshair_shit:Init()
  733. visuals.circlecrosshair_shit.z = Drawing.new("Circle")
  734. visuals.circlecrosshair_shit.z.Visible = false
  735. visuals.circlecrosshair_shit.z.Radius = 50
  736. visuals.circlecrosshair_shit.z.Filled = false
  737. visuals.circlecrosshair_shit.z.Transparency = 0.4
  738. visuals.circlecrosshair_shit.z.NumSides = 12
  739. visuals.circlecrosshair_shit.z.Thickness = 1
  740. visuals.circlecrosshair_shit.z.Color = Colors.Crosshair
  741. end
  742.  
  743. function visuals.circlecrosshair_shit:Disable()
  744. visuals.circlecrosshair_shit.z.Visible = false
  745. end
  746.  
  747. end--circle
  748.  
  749.  
  750. --visuals.box_shit:Init()
  751. visuals.fullbright_shit:Init()
  752. visuals.tracer_shit:Init()
  753. visuals.esp_shit:Init()
  754. visuals.headdot_shit:Init()
  755. visuals.crosshair_shit:Init()
  756. visuals.circlecrosshair_shit:Init()
  757. --functions:RunLoop("UpdatePlayerBox")
  758. functions:RunLoop("UpdatePlayerDot")
  759. functions:RunLoop("UpdatePlayerTracers")
  760. functions:RunLoop("UpdatePlayerESP")
  761. return visuals
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement