Advertisement
itachi_itachi_

Deadmist2 Gui By LOLOCAHHH45! v2.2

May 2nd, 2022 (edited)
1,775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.35 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("Deadmist2 Remastered GUI (OP) v2.4", "BloodTheme")
  3.  
  4. -- Main
  5.  
  6. local Tab = Window:NewTab("Main")
  7. local Section = Tab:NewSection("💎Solo script💎")
  8. Section:NewButton("Free cam", "Press SHITF+P For turn on", function()
  9. loadstring(game:HttpGet("https://pastebin.com/raw/ct8Kq5F0", true))()
  10. end)
  11. Section:NewButton("ClickTp", "Use Ctrl+Click", function()
  12. noclip = false
  13. local UIS = game:GetService("UserInputService")
  14. local Player = game.Players.LocalPlayer
  15. local Mouse = Player:GetMouse()
  16.  
  17.  
  18. function GetCharacter()
  19. return game.Players.LocalPlayer.Character
  20. end
  21.  
  22. function Teleport(pos)
  23. local Char = GetCharacter()
  24. if Char then
  25. Char:MoveTo(pos)
  26. end
  27. end
  28.  
  29.  
  30. UIS.InputBegan:Connect(function(input)
  31. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  32. Teleport(Mouse.Hit.p)
  33. end
  34. end)
  35. end)
  36. Section:NewButton("Cframe walk", "CFrame walk (Press LeftShift)", function()
  37. local Player = game:GetService'Players'.LocalPlayer;
  38. local UIS = game:GetService'UserInputService';
  39. UIS.InputBegan:connect(function(UserInput)
  40. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.LeftShift then
  41. _G.Running = true
  42. while wait(0.001) and _G.Running == true do
  43. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 0.8
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 0.8
  45.  
  46. end
  47. end
  48. end)
  49. UIS.InputEnded:connect(function(UserInput)
  50. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.LeftShift then
  51. _G.Running = false
  52. end
  53. end)
  54. end)
  55. -- Sliders
  56.  
  57. local Tab = Window:NewTab("Sliders")
  58. local Section = Tab:NewSection("💎Solo script💎")
  59. Section:NewSlider("JumpPower", "Jump power recommended : 40", 100, 0, function(s) -- 100 (MaxValue) | 0 (MinValue)
  60. game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
  61. end)
  62. local Tab = Window:NewTab("Toggles")
  63. local Section = Tab:NewSection("💎Solo script💎")
  64. Section:NewToggle("Inf Jump", "Jump in air 🤑", function(state)
  65. if state then
  66. loadstring(game:HttpGet("https://pastebin.com/raw/HQsQysa8", true))()
  67. else
  68. _G.infinjump = false
  69.  
  70. local Player = game:GetService("Players").LocalPlayer
  71. local Mouse = Player:GetMouse()
  72. Mouse.KeyDown:connect(function(k)
  73. if _G.infinjump then
  74. if k:byte() == 32 then
  75. Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  76. Humanoid:ChangeState("Jumping")
  77. wait(0.1)
  78. Humanoid:ChangeState("Seated")
  79. end
  80. end
  81. end)
  82. end
  83. end)
  84. Section:NewToggle("Walkspeed(30)", "Fast Walk", function(state)
  85. if state then
  86. getgenv().WalkSpeedValue = 30;
  87. local Player = game:service'Players'.LocalPlayer;
  88. Player.Character.Humanoid:GetPropertyChangedSignal'WalkSpeed':Connect(function()
  89. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  90. end)
  91. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  92. else
  93. getgenv().WalkSpeedValue = 16;
  94. local Player = game:service'Players'.LocalPlayer;
  95. Player.Character.Humanoid:GetPropertyChangedSignal'WalkSpeed':Connect(function()
  96. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  97. end)
  98. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  99. end
  100. end)
  101. Section:NewToggle("Btool", "Btools OP no?", function(state)
  102. if state then
  103. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  104. Instance.new("HopperBin", game.Players.LocalPlayer.Backpack).BinType = 4
  105. else
  106. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
  107. end
  108. end)
  109. Section:NewToggle("Full bright", "Great for the night", function(state)
  110. if state then
  111. loadstring(game:HttpGet("https://pastebin.com/raw/13fxDjAY", true))()
  112. else
  113. loadstring(game:HttpGet("https://pastebin.com/raw/13fxDjAY", true))()
  114. end
  115. end)
  116. local Tab = Window:NewTab("Visuals")
  117. local Section = Tab:NewSection("Solo script")
  118. Section:NewToggle("Full bright", "Great for the night", function(state)
  119. if state then
  120. loadstring(game:HttpGet("https://pastebin.com/raw/13fxDjAY", true))()
  121. else
  122. loadstring(game:HttpGet("https://pastebin.com/raw/13fxDjAY", true))()
  123. end
  124. end)
  125. Section:NewToggle("Toggle Wearedevds esp", "UH", function(state2)
  126. if state2 then
  127. _G.spedro = true
  128. while wait(2) and _G.spedro == true do
  129. _G.WRDESPEnabled = nil --Enables the ESP (Defaults to true)
  130. _G.WRDESPBoxes = true --Draws boxes around other players (Defaults to true)
  131. _G.WRDESPTeamColors = true --Distinguish different teams by their team color. If the game sets one. (Defaults to true)
  132. _G.WRDESPTracers = false --Displays lines leading to other players (Defaults to false)
  133. _G.WRDESPNames = true --Displays the names of the players within the ESP box (Defaults to true)
  134.  
  135. --Dont edit below
  136.  
  137. --Only ever load the script once
  138. if not _G.WRDESPLoaded then
  139. ----[[ First- Load Kiriot ESP Library ]]----
  140.  
  141. --Settings--
  142. local ESP = {
  143. Enabled = false,
  144. Boxes = true,
  145. BoxShift = CFrame.new(0,-1.5,0),
  146. BoxSize = Vector3.new(4,6,0),
  147. Color = Color3.fromRGB(255, 170, 0),
  148. FaceCamera = false,
  149. Names = true,
  150. TeamColor = true,
  151. Thickness = 2,
  152. AttachShift = 1,
  153. TeamMates = true,
  154. Players = true,
  155.  
  156. Objects = setmetatable({}, {__mode="kv"}),
  157. Overrides = {}
  158. }
  159.  
  160. --Declarations--
  161. local cam = workspace.CurrentCamera
  162. local plrs = game:GetService("Players")
  163. local plr = plrs.LocalPlayer
  164. local mouse = plr:GetMouse()
  165.  
  166. local V3new = Vector3.new
  167. local WorldToViewportPoint = cam.WorldToViewportPoint
  168.  
  169. --Functions--
  170. local function Draw(obj, props)
  171. local new = Drawing.new(obj)
  172.  
  173. props = props or {}
  174. for i,v in pairs(props) do
  175. new[i] = v
  176. end
  177. return new
  178. end
  179.  
  180. function ESP:GetTeam(p)
  181. local ov = self.Overrides.GetTeam
  182. if ov then
  183. return ov(p)
  184. end
  185.  
  186. return p and p.Team
  187. end
  188.  
  189. function ESP:IsTeamMate(p)
  190. local ov = self.Overrides.IsTeamMate
  191. if ov then
  192. return ov(p)
  193. end
  194.  
  195. return self:GetTeam(p) == self:GetTeam(plr)
  196. end
  197.  
  198. function ESP:GetColor(obj)
  199. local ov = self.Overrides.GetColor
  200. if ov then
  201. return ov(obj)
  202. end
  203. local p = self:GetPlrFromChar(obj)
  204. return p and self.TeamColor and p.Team and p.Team.TeamColor.Color or self.Color
  205. end
  206.  
  207. function ESP:GetPlrFromChar(char)
  208. local ov = self.Overrides.GetPlrFromChar
  209. if ov then
  210. return ov(char)
  211. end
  212.  
  213. return plrs:GetPlayerFromCharacter(char)
  214. end
  215.  
  216. function ESP:Toggle(bool)
  217. self.Enabled = bool
  218. if not bool then
  219. for i,v in pairs(self.Objects) do
  220. if v.Type == "Box" then --fov circle etc
  221. if v.Temporary then
  222. v:Remove()
  223. else
  224. for i,v in pairs(v.Components) do
  225. v.Visible = false
  226. end
  227. end
  228. end
  229. end
  230. end
  231. end
  232.  
  233. function ESP:GetBox(obj)
  234. return self.Objects[obj]
  235. end
  236.  
  237. function ESP:AddObjectListener(parent, options)
  238. local function NewListener(c)
  239. if type(options.Type) == "string" and c:IsA(options.Type) or options.Type == nil then
  240. if type(options.Name) == "string" and c.Name == options.Name or options.Name == nil then
  241. if not options.Validator or options.Validator(c) then
  242. local box = ESP:Add(c, {
  243. PrimaryPart = type(options.PrimaryPart) == "string" and c:WaitForChild(options.PrimaryPart) or type(options.PrimaryPart) == "function" and options.PrimaryPart(c),
  244. Color = type(options.Color) == "function" and options.Color(c) or options.Color,
  245. ColorDynamic = options.ColorDynamic,
  246. Name = type(options.CustomName) == "function" and options.CustomName(c) or options.CustomName,
  247. IsEnabled = options.IsEnabled,
  248. RenderInNil = options.RenderInNil
  249. })
  250. --TODO: add a better way of passing options
  251. if options.OnAdded then
  252. coroutine.wrap(options.OnAdded)(box)
  253. end
  254. end
  255. end
  256. end
  257. end
  258.  
  259. if options.Recursive then
  260. parent.DescendantAdded:Connect(NewListener)
  261. for i,v in pairs(parent:GetDescendants()) do
  262. coroutine.wrap(NewListener)(v)
  263. end
  264. else
  265. parent.ChildAdded:Connect(NewListener)
  266. for i,v in pairs(parent:GetChildren()) do
  267. coroutine.wrap(NewListener)(v)
  268. end
  269. end
  270. end
  271.  
  272. local boxBase = {}
  273. boxBase.__index = boxBase
  274.  
  275. function boxBase:Remove()
  276. ESP.Objects[self.Object] = nil
  277. for i,v in pairs(self.Components) do
  278. v.Visible = false
  279. v:Remove()
  280. self.Components[i] = nil
  281. end
  282. end
  283.  
  284. function boxBase:Update()
  285. if not self.PrimaryPart then
  286. --warn("not supposed to print", self.Object)
  287. return self:Remove()
  288. end
  289.  
  290. local color
  291. if ESP.Highlighted == self.Object then
  292. color = ESP.HighlightColor
  293. else
  294. color = self.Color or self.ColorDynamic and self:ColorDynamic() or ESP:GetColor(self.Object) or ESP.Color
  295. end
  296.  
  297. local allow = true
  298. if ESP.Overrides.UpdateAllow and not ESP.Overrides.UpdateAllow(self) then
  299. allow = false
  300. end
  301. if self.Player and not ESP.TeamMates and ESP:IsTeamMate(self.Player) then
  302. allow = false
  303. end
  304. if self.Player and not ESP.Players then
  305. allow = false
  306. end
  307. if self.IsEnabled and (type(self.IsEnabled) == "string" and not ESP[self.IsEnabled] or type(self.IsEnabled) == "function" and not self:IsEnabled()) then
  308. allow = false
  309. end
  310. if not workspace:IsAncestorOf(self.PrimaryPart) and not self.RenderInNil then
  311. allow = false
  312. end
  313.  
  314. if not allow then
  315. for i,v in pairs(self.Components) do
  316. v.Visible = false
  317. end
  318. return
  319. end
  320.  
  321. if ESP.Highlighted == self.Object then
  322. color = ESP.HighlightColor
  323. end
  324.  
  325. --calculations--
  326. local cf = self.PrimaryPart.CFrame
  327. if ESP.FaceCamera then
  328. cf = CFrame.new(cf.p, cam.CFrame.p)
  329. end
  330. local size = self.Size
  331. local locs = {
  332. TopLeft = cf * ESP.BoxShift * CFrame.new(size.X/2,size.Y/2,0),
  333. TopRight = cf * ESP.BoxShift * CFrame.new(-size.X/2,size.Y/2,0),
  334. BottomLeft = cf * ESP.BoxShift * CFrame.new(size.X/2,-size.Y/2,0),
  335. BottomRight = cf * ESP.BoxShift * CFrame.new(-size.X/2,-size.Y/2,0),
  336. TagPos = cf * ESP.BoxShift * CFrame.new(0,size.Y/2,0),
  337. Torso = cf * ESP.BoxShift
  338. }
  339.  
  340. if ESP.Boxes then
  341. local TopLeft, Vis1 = WorldToViewportPoint(cam, locs.TopLeft.p)
  342. local TopRight, Vis2 = WorldToViewportPoint(cam, locs.TopRight.p)
  343. local BottomLeft, Vis3 = WorldToViewportPoint(cam, locs.BottomLeft.p)
  344. local BottomRight, Vis4 = WorldToViewportPoint(cam, locs.BottomRight.p)
  345.  
  346. if self.Components.Quad then
  347. if Vis1 or Vis2 or Vis3 or Vis4 then
  348. self.Components.Quad.Visible = true
  349. self.Components.Quad.PointA = Vector2.new(TopRight.X, TopRight.Y)
  350. self.Components.Quad.PointB = Vector2.new(TopLeft.X, TopLeft.Y)
  351. self.Components.Quad.PointC = Vector2.new(BottomLeft.X, BottomLeft.Y)
  352. self.Components.Quad.PointD = Vector2.new(BottomRight.X, BottomRight.Y)
  353. self.Components.Quad.Color = color
  354. else
  355. self.Components.Quad.Visible = false
  356. end
  357. end
  358. else
  359. self.Components.Quad.Visible = false
  360. end
  361.  
  362. if ESP.Names then
  363. local TagPos, Vis5 = WorldToViewportPoint(cam, locs.TagPos.p)
  364.  
  365. if Vis5 then
  366. self.Components.Name.Visible = true
  367. self.Components.Name.Position = Vector2.new(TagPos.X, TagPos.Y)
  368. self.Components.Name.Text = self.Name
  369. self.Components.Name.Color = color
  370.  
  371. self.Components.Distance.Visible = true
  372. self.Components.Distance.Position = Vector2.new(TagPos.X, TagPos.Y + 14)
  373. self.Components.Distance.Text = math.floor((cam.CFrame.p - cf.p).magnitude) .."m away"
  374. self.Components.Distance.Color = color
  375. else
  376. self.Components.Name.Visible = false
  377. self.Components.Distance.Visible = false
  378. end
  379. else
  380. self.Components.Name.Visible = false
  381. self.Components.Distance.Visible = false
  382. end
  383.  
  384. if ESP.Tracers then
  385. local TorsoPos, Vis6 = WorldToViewportPoint(cam, locs.Torso.p)
  386.  
  387. if Vis6 then
  388. self.Components.Tracer.Visible = true
  389. self.Components.Tracer.From = Vector2.new(TorsoPos.X, TorsoPos.Y)
  390. self.Components.Tracer.To = Vector2.new(cam.ViewportSize.X/2,cam.ViewportSize.Y/ESP.AttachShift)
  391. self.Components.Tracer.Color = color
  392. else
  393. self.Components.Tracer.Visible = false
  394. end
  395. else
  396. self.Components.Tracer.Visible = false
  397. end
  398. end
  399.  
  400. function ESP:Add(obj, options)
  401. if not obj.Parent and not options.RenderInNil then
  402. return warn(obj, "has no parent")
  403. end
  404.  
  405. local box = setmetatable({
  406. Name = options.Name or obj.Name,
  407. Type = "Box",
  408. Color = options.Color --[[or self:GetColor(obj)]],
  409. Size = options.Size or self.BoxSize,
  410. Object = obj,
  411. Player = options.Player or plrs:GetPlayerFromCharacter(obj),
  412. PrimaryPart = options.PrimaryPart or obj.ClassName == "Model" and (obj.PrimaryPart or obj:FindFirstChild("HumanoidRootPart") or obj:FindFirstChildWhichIsA("BasePart")) or obj:IsA("BasePart") and obj,
  413. Components = {},
  414. IsEnabled = options.IsEnabled,
  415. Temporary = options.Temporary,
  416. ColorDynamic = options.ColorDynamic,
  417. RenderInNil = options.RenderInNil
  418. }, boxBase)
  419.  
  420. if self:GetBox(obj) then
  421. self:GetBox(obj):Remove()
  422. end
  423.  
  424. box.Components["Quad"] = Draw("Quad", {
  425. Thickness = self.Thickness,
  426. Color = color,
  427. Transparency = 1,
  428. Filled = false,
  429. Visible = self.Enabled and self.Boxes
  430. })
  431. box.Components["Name"] = Draw("Text", {
  432. Text = box.Name,
  433. Color = box.Color,
  434. Center = true,
  435. Outline = true,
  436. Size = 19,
  437. Visible = self.Enabled and self.Names
  438. })
  439. box.Components["Distance"] = Draw("Text", {
  440. Color = box.Color,
  441. Center = true,
  442. Outline = true,
  443. Size = 19,
  444. Visible = self.Enabled and self.Names
  445. })
  446.  
  447. box.Components["Tracer"] = Draw("Line", {
  448. Thickness = ESP.Thickness,
  449. Color = box.Color,
  450. Transparency = 1,
  451. Visible = self.Enabled and self.Tracers
  452. })
  453. self.Objects[obj] = box
  454.  
  455. obj.AncestryChanged:Connect(function(_, parent)
  456. if parent == nil and ESP.AutoRemove ~= false then
  457. box:Remove()
  458. end
  459. end)
  460. obj:GetPropertyChangedSignal("Parent"):Connect(function()
  461. if obj.Parent == nil and ESP.AutoRemove ~= false then
  462. box:Remove()
  463. end
  464. end)
  465.  
  466. local hum = obj:FindFirstChildOfClass("Humanoid")
  467. if hum then
  468. hum.Died:Connect(function()
  469. if ESP.AutoRemove ~= false then
  470. box:Remove()
  471. end
  472. end)
  473. end
  474.  
  475. return box
  476. end
  477.  
  478. local function CharAdded(char)
  479. local p = plrs:GetPlayerFromCharacter(char)
  480. if not char:FindFirstChild("HumanoidRootPart") then
  481. local ev
  482. ev = char.ChildAdded:Connect(function(c)
  483. if c.Name == "HumanoidRootPart" then
  484. ev:Disconnect()
  485. ESP:Add(char, {
  486. Name = p.Name,
  487. Player = p,
  488. PrimaryPart = c
  489. })
  490. end
  491. end)
  492. else
  493. ESP:Add(char, {
  494. Name = p.Name,
  495. Player = p,
  496. PrimaryPart = char.HumanoidRootPart
  497. })
  498. end
  499. end
  500. local function PlayerAdded(p)
  501. p.CharacterAdded:Connect(CharAdded)
  502. if p.Character then
  503. coroutine.wrap(CharAdded)(p.Character)
  504. end
  505. end
  506. plrs.PlayerAdded:Connect(PlayerAdded)
  507. for i,v in pairs(plrs:GetPlayers()) do
  508. if v ~= plr then
  509. PlayerAdded(v)
  510. end
  511. end
  512.  
  513. game:GetService("RunService").RenderStepped:Connect(function()
  514. cam = workspace.CurrentCamera
  515. for i,v in (ESP.Enabled and pairs or ipairs)(ESP.Objects) do
  516. if v.Update then
  517. local s,e = pcall(v.Update, v)
  518. if not s then warn("[EU]", e, v.Object:GetFullName()) end
  519. end
  520. end
  521. end)
  522.  
  523. ----[[ Now Begins WRD's modification for implementation ]]----
  524.  
  525. --Sets defaults where required
  526. if _G.WRDESPEnabled == nil then _G.WRDESPEnabled = true end
  527. if _G.WRDESPBoxes == false then _G.WRDESPBoxes = true end
  528. if _G.WRDESPTeamColors == false then _G.WRDESPTeamColors = true end
  529. if _G.WRDESPTracers == false then _G.WRDESPTracers = false end
  530. if _G.WRDESPNames == false then _G.WRDESPNames = true end
  531.  
  532. --Hacky way to keep up with setting changes
  533. while wait(.1) do
  534. ESP:Toggle(_G.WRDESPEnabled or false)
  535. ESP.Boxes = _G.WRDESPBoxes or false
  536. ESP.TeamColors = _G.WRDESPTeamColors or false
  537. ESP.Tracers = _G.WRDESPTracers or false
  538. ESP.Names = _G.WRDESPNames or false
  539. end
  540.  
  541. _G.WRDESPLoaded = true
  542. end
  543.  
  544. end
  545. else
  546. _G.spedro = false
  547. wait(0.5)
  548. _G.WRDESPEnabled = nil --Enables the ESP (Defaults to true)
  549. _G.WRDESPBoxes = false --Draws boxes around other players (Defaults to true)
  550. _G.WRDESPTeamColors = false --Distinguish different teams by their team color. If the game sets one. (Defaults to true)
  551. _G.WRDESPTracers = false --Displays lines leading to other players (Defaults to false)
  552. _G.WRDESPNames = false --Displays the names of the players within the ESP box (Defaults to true)
  553.  
  554. --Dont edit below
  555.  
  556. --Only ever load the script once
  557. if not _G.WRDESPLoaded then
  558. ----[[ First- Load Kiriot ESP Library ]]----
  559.  
  560. --Settings--
  561. local ESP = {
  562. Enabled = false,
  563. Boxes = true,
  564. BoxShift = CFrame.new(0,-1.5,0),
  565. BoxSize = Vector3.new(4,6,0),
  566. Color = Color3.fromRGB(255, 170, 0),
  567. FaceCamera = false,
  568. Names = true,
  569. TeamColor = true,
  570. Thickness = 2,
  571. AttachShift = 1,
  572. TeamMates = true,
  573. Players = true,
  574.  
  575. Objects = setmetatable({}, {__mode="kv"}),
  576. Overrides = {}
  577. }
  578.  
  579. --Declarations--
  580. local cam = workspace.CurrentCamera
  581. local plrs = game:GetService("Players")
  582. local plr = plrs.LocalPlayer
  583. local mouse = plr:GetMouse()
  584.  
  585. local V3new = Vector3.new
  586. local WorldToViewportPoint = cam.WorldToViewportPoint
  587.  
  588. --Functions--
  589. local function Draw(obj, props)
  590. local new = Drawing.new(obj)
  591.  
  592. props = props or {}
  593. for i,v in pairs(props) do
  594. new[i] = v
  595. end
  596. return new
  597. end
  598.  
  599. function ESP:GetTeam(p)
  600. local ov = self.Overrides.GetTeam
  601. if ov then
  602. return ov(p)
  603. end
  604.  
  605. return p and p.Team
  606. end
  607.  
  608. function ESP:IsTeamMate(p)
  609. local ov = self.Overrides.IsTeamMate
  610. if ov then
  611. return ov(p)
  612. end
  613.  
  614. return self:GetTeam(p) == self:GetTeam(plr)
  615. end
  616.  
  617. function ESP:GetColor(obj)
  618. local ov = self.Overrides.GetColor
  619. if ov then
  620. return ov(obj)
  621. end
  622. local p = self:GetPlrFromChar(obj)
  623. return p and self.TeamColor and p.Team and p.Team.TeamColor.Color or self.Color
  624. end
  625.  
  626. function ESP:GetPlrFromChar(char)
  627. local ov = self.Overrides.GetPlrFromChar
  628. if ov then
  629. return ov(char)
  630. end
  631.  
  632. return plrs:GetPlayerFromCharacter(char)
  633. end
  634.  
  635. function ESP:Toggle(bool)
  636. self.Enabled = bool
  637. if not bool then
  638. for i,v in pairs(self.Objects) do
  639. if v.Type == "Box" then --fov circle etc
  640. if v.Temporary then
  641. v:Remove()
  642. else
  643. for i,v in pairs(v.Components) do
  644. v.Visible = false
  645. end
  646. end
  647. end
  648. end
  649. end
  650. end
  651.  
  652. function ESP:GetBox(obj)
  653. return self.Objects[obj]
  654. end
  655.  
  656. function ESP:AddObjectListener(parent, options)
  657. local function NewListener(c)
  658. if type(options.Type) == "string" and c:IsA(options.Type) or options.Type == nil then
  659. if type(options.Name) == "string" and c.Name == options.Name or options.Name == nil then
  660. if not options.Validator or options.Validator(c) then
  661. local box = ESP:Add(c, {
  662. PrimaryPart = type(options.PrimaryPart) == "string" and c:WaitForChild(options.PrimaryPart) or type(options.PrimaryPart) == "function" and options.PrimaryPart(c),
  663. Color = type(options.Color) == "function" and options.Color(c) or options.Color,
  664. ColorDynamic = options.ColorDynamic,
  665. Name = type(options.CustomName) == "function" and options.CustomName(c) or options.CustomName,
  666. IsEnabled = options.IsEnabled,
  667. RenderInNil = options.RenderInNil
  668. })
  669. --TODO: add a better way of passing options
  670. if options.OnAdded then
  671. coroutine.wrap(options.OnAdded)(box)
  672. end
  673. end
  674. end
  675. end
  676. end
  677.  
  678. if options.Recursive then
  679. parent.DescendantAdded:Connect(NewListener)
  680. for i,v in pairs(parent:GetDescendants()) do
  681. coroutine.wrap(NewListener)(v)
  682. end
  683. else
  684. parent.ChildAdded:Connect(NewListener)
  685. for i,v in pairs(parent:GetChildren()) do
  686. coroutine.wrap(NewListener)(v)
  687. end
  688. end
  689. end
  690.  
  691. local boxBase = {}
  692. boxBase.__index = boxBase
  693.  
  694. function boxBase:Remove()
  695. ESP.Objects[self.Object] = nil
  696. for i,v in pairs(self.Components) do
  697. v.Visible = false
  698. v:Remove()
  699. self.Components[i] = nil
  700. end
  701. end
  702.  
  703. function boxBase:Update()
  704. if not self.PrimaryPart then
  705. --warn("not supposed to print", self.Object)
  706. return self:Remove()
  707. end
  708.  
  709. local color
  710. if ESP.Highlighted == self.Object then
  711. color = ESP.HighlightColor
  712. else
  713. color = self.Color or self.ColorDynamic and self:ColorDynamic() or ESP:GetColor(self.Object) or ESP.Color
  714. end
  715.  
  716. local allow = true
  717. if ESP.Overrides.UpdateAllow and not ESP.Overrides.UpdateAllow(self) then
  718. allow = false
  719. end
  720. if self.Player and not ESP.TeamMates and ESP:IsTeamMate(self.Player) then
  721. allow = false
  722. end
  723. if self.Player and not ESP.Players then
  724. allow = false
  725. end
  726. if self.IsEnabled and (type(self.IsEnabled) == "string" and not ESP[self.IsEnabled] or type(self.IsEnabled) == "function" and not self:IsEnabled()) then
  727. allow = false
  728. end
  729. if not workspace:IsAncestorOf(self.PrimaryPart) and not self.RenderInNil then
  730. allow = false
  731. end
  732.  
  733. if not allow then
  734. for i,v in pairs(self.Components) do
  735. v.Visible = false
  736. end
  737. return
  738. end
  739.  
  740. if ESP.Highlighted == self.Object then
  741. color = ESP.HighlightColor
  742. end
  743.  
  744. --calculations--
  745. local cf = self.PrimaryPart.CFrame
  746. if ESP.FaceCamera then
  747. cf = CFrame.new(cf.p, cam.CFrame.p)
  748. end
  749. local size = self.Size
  750. local locs = {
  751. TopLeft = cf * ESP.BoxShift * CFrame.new(size.X/2,size.Y/2,0),
  752. TopRight = cf * ESP.BoxShift * CFrame.new(-size.X/2,size.Y/2,0),
  753. BottomLeft = cf * ESP.BoxShift * CFrame.new(size.X/2,-size.Y/2,0),
  754. BottomRight = cf * ESP.BoxShift * CFrame.new(-size.X/2,-size.Y/2,0),
  755. TagPos = cf * ESP.BoxShift * CFrame.new(0,size.Y/2,0),
  756. Torso = cf * ESP.BoxShift
  757. }
  758.  
  759. if ESP.Boxes then
  760. local TopLeft, Vis1 = WorldToViewportPoint(cam, locs.TopLeft.p)
  761. local TopRight, Vis2 = WorldToViewportPoint(cam, locs.TopRight.p)
  762. local BottomLeft, Vis3 = WorldToViewportPoint(cam, locs.BottomLeft.p)
  763. local BottomRight, Vis4 = WorldToViewportPoint(cam, locs.BottomRight.p)
  764.  
  765. if self.Components.Quad then
  766. if Vis1 or Vis2 or Vis3 or Vis4 then
  767. self.Components.Quad.Visible = true
  768. self.Components.Quad.PointA = Vector2.new(TopRight.X, TopRight.Y)
  769. self.Components.Quad.PointB = Vector2.new(TopLeft.X, TopLeft.Y)
  770. self.Components.Quad.PointC = Vector2.new(BottomLeft.X, BottomLeft.Y)
  771. self.Components.Quad.PointD = Vector2.new(BottomRight.X, BottomRight.Y)
  772. self.Components.Quad.Color = color
  773. else
  774. self.Components.Quad.Visible = false
  775. end
  776. end
  777. else
  778. self.Components.Quad.Visible = false
  779. end
  780.  
  781. if ESP.Names then
  782. local TagPos, Vis5 = WorldToViewportPoint(cam, locs.TagPos.p)
  783.  
  784. if Vis5 then
  785. self.Components.Name.Visible = true
  786. self.Components.Name.Position = Vector2.new(TagPos.X, TagPos.Y)
  787. self.Components.Name.Text = self.Name
  788. self.Components.Name.Color = color
  789.  
  790. self.Components.Distance.Visible = true
  791. self.Components.Distance.Position = Vector2.new(TagPos.X, TagPos.Y + 14)
  792. self.Components.Distance.Text = math.floor((cam.CFrame.p - cf.p).magnitude) .."m away"
  793. self.Components.Distance.Color = color
  794. else
  795. self.Components.Name.Visible = false
  796. self.Components.Distance.Visible = false
  797. end
  798. else
  799. self.Components.Name.Visible = false
  800. self.Components.Distance.Visible = false
  801. end
  802.  
  803. if ESP.Tracers then
  804. local TorsoPos, Vis6 = WorldToViewportPoint(cam, locs.Torso.p)
  805.  
  806. if Vis6 then
  807. self.Components.Tracer.Visible = true
  808. self.Components.Tracer.From = Vector2.new(TorsoPos.X, TorsoPos.Y)
  809. self.Components.Tracer.To = Vector2.new(cam.ViewportSize.X/2,cam.ViewportSize.Y/ESP.AttachShift)
  810. self.Components.Tracer.Color = color
  811. else
  812. self.Components.Tracer.Visible = false
  813. end
  814. else
  815. self.Components.Tracer.Visible = false
  816. end
  817. end
  818.  
  819. function ESP:Add(obj, options)
  820. if not obj.Parent and not options.RenderInNil then
  821. return warn(obj, "has no parent")
  822. end
  823.  
  824. local box = setmetatable({
  825. Name = options.Name or obj.Name,
  826. Type = "Box",
  827. Color = options.Color --[[or self:GetColor(obj)]],
  828. Size = options.Size or self.BoxSize,
  829. Object = obj,
  830. Player = options.Player or plrs:GetPlayerFromCharacter(obj),
  831. PrimaryPart = options.PrimaryPart or obj.ClassName == "Model" and (obj.PrimaryPart or obj:FindFirstChild("HumanoidRootPart") or obj:FindFirstChildWhichIsA("BasePart")) or obj:IsA("BasePart") and obj,
  832. Components = {},
  833. IsEnabled = options.IsEnabled,
  834. Temporary = options.Temporary,
  835. ColorDynamic = options.ColorDynamic,
  836. RenderInNil = options.RenderInNil
  837. }, boxBase)
  838.  
  839. if self:GetBox(obj) then
  840. self:GetBox(obj):Remove()
  841. end
  842.  
  843. box.Components["Quad"] = Draw("Quad", {
  844. Thickness = self.Thickness,
  845. Color = color,
  846. Transparency = 1,
  847. Filled = false,
  848. Visible = self.Enabled and self.Boxes
  849. })
  850. box.Components["Name"] = Draw("Text", {
  851. Text = box.Name,
  852. Color = box.Color,
  853. Center = true,
  854. Outline = true,
  855. Size = 19,
  856. Visible = self.Enabled and self.Names
  857. })
  858. box.Components["Distance"] = Draw("Text", {
  859. Color = box.Color,
  860. Center = true,
  861. Outline = true,
  862. Size = 19,
  863. Visible = self.Enabled and self.Names
  864. })
  865.  
  866. box.Components["Tracer"] = Draw("Line", {
  867. Thickness = ESP.Thickness,
  868. Color = box.Color,
  869. Transparency = 1,
  870. Visible = self.Enabled and self.Tracers
  871. })
  872. self.Objects[obj] = box
  873.  
  874. obj.AncestryChanged:Connect(function(_, parent)
  875. if parent == nil and ESP.AutoRemove ~= false then
  876. box:Remove()
  877. end
  878. end)
  879. obj:GetPropertyChangedSignal("Parent"):Connect(function()
  880. if obj.Parent == nil and ESP.AutoRemove ~= false then
  881. box:Remove()
  882. end
  883. end)
  884.  
  885. local hum = obj:FindFirstChildOfClass("Humanoid")
  886. if hum then
  887. hum.Died:Connect(function()
  888. if ESP.AutoRemove ~= false then
  889. box:Remove()
  890. end
  891. end)
  892. end
  893.  
  894. return box
  895. end
  896.  
  897. local function CharAdded(char)
  898. local p = plrs:GetPlayerFromCharacter(char)
  899. if not char:FindFirstChild("HumanoidRootPart") then
  900. local ev
  901. ev = char.ChildAdded:Connect(function(c)
  902. if c.Name == "HumanoidRootPart" then
  903. ev:Disconnect()
  904. ESP:Add(char, {
  905. Name = p.Name,
  906. Player = p,
  907. PrimaryPart = c
  908. })
  909. end
  910. end)
  911. else
  912. ESP:Add(char, {
  913. Name = p.Name,
  914. Player = p,
  915. PrimaryPart = char.HumanoidRootPart
  916. })
  917. end
  918. end
  919. local function PlayerAdded(p)
  920. p.CharacterAdded:Connect(CharAdded)
  921. if p.Character then
  922. coroutine.wrap(CharAdded)(p.Character)
  923. end
  924. end
  925. plrs.PlayerAdded:Connect(PlayerAdded)
  926. for i,v in pairs(plrs:GetPlayers()) do
  927. if v ~= plr then
  928. PlayerAdded(v)
  929. end
  930. end
  931.  
  932. game:GetService("RunService").RenderStepped:Connect(function()
  933. cam = workspace.CurrentCamera
  934. for i,v in (ESP.Enabled and pairs or ipairs)(ESP.Objects) do
  935. if v.Update then
  936. local s,e = pcall(v.Update, v)
  937. if not s then warn("[EU]", e, v.Object:GetFullName()) end
  938. end
  939. end
  940. end)
  941.  
  942. ----[[ Now Begins WRD's modification for implementation ]]----
  943.  
  944. --Sets defaults where required
  945. if _G.WRDESPEnabled == nil then _G.WRDESPEnabled = true end
  946. if _G.WRDESPBoxes == nil then _G.WRDESPBoxes = true end
  947. if _G.WRDESPTeamColors == nil then _G.WRDESPTeamColors = true end
  948. if _G.WRDESPTracers == nil then _G.WRDESPTracers = false end
  949. if _G.WRDESPNames == nil then _G.WRDESPNames = true end
  950.  
  951. --Hacky way to keep up with setting changes
  952. while wait(.1) do
  953. ESP:Toggle(_G.WRDESPEnabled or false)
  954. ESP.Boxes = _G.WRDESPBoxes or false
  955. ESP.TeamColors = _G.WRDESPTeamColors or false
  956. ESP.Tracers = _G.WRDESPTracers or false
  957. ESP.Names = _G.WRDESPNames or false
  958. end
  959.  
  960. _G.WRDESPLoaded = true
  961. end
  962. end
  963. end)
  964. Section:NewButton("Chams with glow ESP", "Just a cool esp", function()
  965. local dwEntities = game:GetService("Players")
  966. local dwLocalPlayer = dwEntities.LocalPlayer
  967. local dwRunService = game:GetService("RunService")
  968.  
  969. local settings_tbl = {
  970. ESP_Enabled = true,
  971. ESP_TeamCheck = false,
  972. Chams = true,
  973. Chams_Color = Color3.fromRGB(255,0,255),
  974. Chams_Transparency = 0.1,
  975. Chams_Glow_Color = Color3.fromRGB(255,0,0)
  976. }
  977.  
  978. function destroy_chams(char)
  979.  
  980. for k,v in next, char:GetChildren() do
  981.  
  982. if v:IsA("BasePart") and v.Transparency ~= 1 then
  983.  
  984. if v:FindFirstChild("Glow") and
  985. v:FindFirstChild("Chams") then
  986.  
  987. v.Glow:Destroy()
  988. v.Chams:Destroy()
  989.  
  990. end
  991.  
  992. end
  993.  
  994. end
  995.  
  996. end
  997.  
  998. dwRunService.Heartbeat:Connect(function()
  999.  
  1000. if settings_tbl.ESP_Enabled then
  1001.  
  1002. for k,v in next, dwEntities:GetPlayers() do
  1003.  
  1004. if v ~= dwLocalPlayer then
  1005.  
  1006. if v.Character and
  1007. v.Character:FindFirstChild("HumanoidRootPart") and
  1008. v.Character:FindFirstChild("Humanoid") and
  1009. v.Character:FindFirstChild("Humanoid").Health ~= 0 then
  1010.  
  1011. if settings_tbl.ESP_TeamCheck == false then
  1012.  
  1013. local char = v.Character
  1014.  
  1015. for k,b in next, char:GetChildren() do
  1016.  
  1017. if b:IsA("BasePart") and
  1018. b.Transparency ~= 1 then
  1019.  
  1020. if settings_tbl.Chams then
  1021.  
  1022. if not b:FindFirstChild("Glow") and
  1023. not b:FindFirstChild("Chams") then
  1024.  
  1025. local chams_box = Instance.new("BoxHandleAdornment", b)
  1026. chams_box.Name = "Chams"
  1027. chams_box.AlwaysOnTop = true
  1028. chams_box.ZIndex = 4
  1029. chams_box.Adornee = b
  1030. chams_box.Color3 = settings_tbl.Chams_Color
  1031. chams_box.Transparency = settings_tbl.Chams_Transparency
  1032. chams_box.Size = b.Size + Vector3.new(0.02, 0.02, 0.02)
  1033.  
  1034. local glow_box = Instance.new("BoxHandleAdornment", b)
  1035. glow_box.Name = "Glow"
  1036. glow_box.AlwaysOnTop = false
  1037. glow_box.ZIndex = 3
  1038. glow_box.Adornee = b
  1039. glow_box.Color3 = settings_tbl.Chams_Glow_Color
  1040. glow_box.Size = chams_box.Size + Vector3.new(0.13, 0.13, 0.13)
  1041.  
  1042. end
  1043.  
  1044. else
  1045.  
  1046. destroy_chams(char)
  1047.  
  1048. end
  1049.  
  1050. end
  1051.  
  1052. end
  1053.  
  1054. else
  1055.  
  1056. if v.Team == dwLocalPlayer.Team then
  1057. destroy_chams(v.Character)
  1058. end
  1059.  
  1060. end
  1061.  
  1062. else
  1063.  
  1064. destroy_chams(v.Character)
  1065.  
  1066. end
  1067.  
  1068. end
  1069.  
  1070. end
  1071.  
  1072. else
  1073.  
  1074. for k,v in next, dwEntities:GetPlayers() do
  1075.  
  1076. if v ~= dwLocalPlayer and
  1077. v.Character and
  1078. v.Character:FindFirstChild("HumanoidRootPart") and
  1079. v.Character:FindFirstChild("Humanoid") and
  1080. v.Character:FindFirstChild("Humanoid").Health ~= 0 then
  1081.  
  1082. destroy_chams(v.Character)
  1083.  
  1084. end
  1085.  
  1086. end
  1087.  
  1088. end
  1089.  
  1090. end)
  1091. end)
  1092. Section:NewButton("Skeleton Esp", "Just esp for the skeleton of anybody", function()
  1093. loadstring(game:HttpGet("https://raw.githubusercontent.com/TheNuggetEater05/ekaMiffutSmodnaR/main/GlobalR6SkeletonESP.lua"))()
  1094.  
  1095. shared.BoneESP_Settings = {
  1096. Circle_Visible = true,
  1097. Circle_Radius = 10,
  1098. BoneESP_Color = Color3.fromRGB(255,0,0)
  1099. }
  1100. end)
  1101.  
  1102. local Tab = Window:NewTab("Misc")
  1103. local Section = Tab:NewSection("Solo script")
  1104.  
  1105. Section:NewButton("Rare avatar", "Changue you avatar ", function()
  1106. loadstring(game:HttpGet("\104\116\116\112\115\58\47\47\114\97\119\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\109\97\105\110\47\78\97\117\103\104\116\121\78\97\117\103\104\116\121\47\68\101\99\97\108\115"))()
  1107. end)
  1108. Section:NewButton("Server Hop", "If you click this you automatic go to other server", function()
  1109. loadstring(game:HttpGet("\104\116\116\112\115\58\47\47\112\97\115\116\101\98\105\110\46\99\111\109\47\114\97\119\47\86\100\117\66\84\50\110\116"))()
  1110. end)
  1111. Section:NewButton("Remove textures | Fps boost", "", function()
  1112. loadstring(game:HttpGet("\104\116\116\112\115\58\47\47\114\97\119\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\109\97\105\110\47\70\112\115\66\111\111\115\116\84\101\120\116\117\114\101"))()
  1113. end)
  1114. Section:NewButton("Max Zoom", "", function()
  1115. loadstring(game:HttpGet("\104\116\116\112\115\58\47\47\114\97\119\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\75\101\111\110\101\71\105\116\104\117\98\83\112\97\109\47\109\97\105\110\47\77\97\120\90\111\111\109\47\76\69\83\83\71\79\79\90\79\79\77"))()
  1116. end)
  1117. local Tab = Window:NewTab("fly")
  1118. local Section = Tab:NewSection("Solo Script")
  1119. Section:NewButton("Fly press V", "", function()
  1120. if _G.pedro == nil then
  1121. _G.pedro = true
  1122.  
  1123. --Gets the player's mouse
  1124. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  1125.  
  1126. --Waits until the player's mouse is found
  1127. repeat wait() until mouse
  1128.  
  1129. --Toggles
  1130. mouse.KeyDown:connect(function(key)
  1131. if key:lower() == "v" then
  1132. if workspace.Gravity > 0 then
  1133.  
  1134. workspace.Gravity = 0
  1135. game.StarterGui:SetCore("SendNotification", {Title="no gravity"; Text="Solo Script"; Duration=1;})
  1136. else
  1137.  
  1138. workspace.Gravity = 196.2
  1139. game.StarterGui:SetCore("SendNotification", {Title="Normal Gravity"; Text="Solo Script"; Duration=1;})
  1140. end
  1141. end
  1142. end)
  1143. end
  1144.  
  1145. game.StarterGui:SetCore("SendNotification", {Title="Solo script"; Text="The Gravity Switch exploit is ready!\nPress \"e\" to toggle"; Duration=5;})
  1146. end)
  1147.  
  1148.  
  1149. local Tab = Window:NewTab("Credits")
  1150. local Section = Tab:NewSection("Credits 💎Solo script💎")
  1151. Section:NewLabel("Creator : 💎Solo script💎")
  1152. Section:NewLabel("💎Solo script💎 founder : lolocahhh45")
  1153. Section:NewLabel("Discord-https://discord.com/invite/fzSAVMKGzv")
  1154. Section:NewKeybind("Gui toggle", "Toggle gui with F or changue to other key", Enum.KeyCode.F, function()
  1155. Library:ToggleUI()
  1156. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement