Advertisement
Tree_hub

Uniware Esp

Feb 23rd, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.15 KB | None | 0 0
  1. getgenv().Main = loadstring(game:HttpGet("https://raw.githubusercontent.com/SuperGamingBros4/Roblox-HAX/main/Better_UI_Library.lua"))()
  2.  
  3. local camera = game:GetService("Workspace").CurrentCamera
  4. local Plr = game:GetService("Players").LocalPlayer
  5. local RS = game:GetService("RunService")
  6. local mouse = Plr:GetMouse()
  7.  
  8. function getclosestplayertomouse()
  9. local Target = nil
  10. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  11. if v.Character then
  12. if v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("Humanoid").Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.TeamColor ~= Plr.TeamColor then
  13. local pos, vis = camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
  14. local dist = (Vector2.new(mouse.X, mouse.Y) - Vector2.new(pos.X, pos.Y)).Magnitude
  15. if Main.Flags.VisCheck then
  16. if Main.Flags.Size > dist and vis then
  17. Target = v
  18. print(dist)
  19. end
  20. else
  21. if Main.Flags.Size > dist then
  22. Target = v
  23. end
  24. end
  25. end
  26. end
  27. end
  28. return Target
  29. end
  30.  
  31. local circle = Drawing.new("Circle")
  32. circle.Thickness = 0.1
  33. RS.RenderStepped:Connect(function()
  34. local Settings = Main.Flags
  35.  
  36. if Settings.Aimbot and Settings.FovCircle then -- FovCircle
  37. circle.Visible = true
  38. circle.Color = Color3.fromRGB(Settings.FovRed, Settings.FovGreen, Settings.FovBlue)
  39. circle.NumSides = Settings.Smoothing
  40. circle.Radius = Settings.Size
  41. circle.Position = Vector2.new(mouse.X, mouse.Y + 35)
  42. else
  43. circle.Visible = false
  44. end
  45.  
  46. if Settings.Aimbot then -- Aimbot
  47. for i,arrow in pairs(game:GetService("Workspace"):GetChildren()) do
  48. if arrow.Name == "arrow" or arrow.Name == "crossbow_arrow" then
  49. pcall(function()
  50. arrow:WaitForChild("Handle").Position = getclosestplayertomouse().Character.HumanoidRootPart.Position
  51. end)
  52. end
  53. end
  54. end
  55. if Main.Flags.Speed then -- Toggle Speed
  56. pcall(function() Plr.Character.Humanoid.WalkSpeed = 25 end)
  57. end
  58. if Main.Flags.SSprint then -- Toggle Speed
  59. pcall(function() local User = game:GetService("UserInputService")
  60. local player = game.Players.LocalPlayer
  61.  
  62. local char = workspace:WaitForChild(player.Name)
  63. local RunSpeed = 29 --change this to the speed u want when the player is running
  64. local Walk = 16 --16 is the normal walkspeed but you can change it
  65.  
  66. User.InputBegan:Connect(function(Input)
  67. if Input.KeyCode == Enum.KeyCode.LeftShift then --Im using Left Shift To hold for running
  68. char.Humanoid.WalkSpeed = RunSpeed --When you hold shift the players walkspeed
  69. end
  70. end)
  71.  
  72. User.InputEnded:Connect(function(Input)
  73. if Input.KeyCode == Enum.KeyCode.LeftShift then --Im using Left Shift To hold for running
  74. char.Humanoid.WalkSpeed = Walk
  75. end
  76. end) end)
  77. end
  78. if Main.Flags.HitChec then -- Toggle Speed
  79. pcall(function() _G.HeadSize = 10 _G.Disabled = true game:GetService('RunService').RenderStepped:connect(function() if _G.Disabled then for i,v in next, game:GetService('Players'):GetPlayers() do if v.Name ~= game:GetService('Players').LocalPlayer.Name then pcall(function() v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize) v.Character.HumanoidRootPart.Transparency = 0.9 v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Red") v.Character.HumanoidRootPart.Material = "Neon" v.Character.HumanoidRootPart.CanCollide = false end) end end end end) end)
  80. end
  81. if Main.Flags.EeSP then -- Toggle Speed
  82. pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Rollimonster/Roblox-esp/main/Roblox-esp", true))()end)
  83. end
  84. if Main.Flags.Esp then -- Toggle Speed
  85. pcall(function() function Create(base, team)
  86. local bb = Instance.new('BillboardGui', game.CoreGui)
  87. bb.Adornee = base
  88. bb.ExtentsOffset = Vector3.new(0,1,0)
  89. bb.AlwaysOnTop = true
  90. bb.Size = UDim2.new(0,5,0,5)
  91. bb.StudsOffset = Vector3.new(0,1,0)
  92. bb.Name = 'tracker'
  93. local frame = Instance.new('Frame',bb)
  94. frame.ZIndex = 10
  95. frame.BackgroundTransparency = 0.3
  96. frame.Size = UDim2.new(1,0,1,0)
  97. local txtlbl = Instance.new('TextLabel',bb)
  98. txtlbl.ZIndex = 10
  99. txtlbl.BackgroundTransparency = 1
  100. txtlbl.Position = UDim2.new(0,0,0,-35)
  101. txtlbl.Size = UDim2.new(1,0,10,0)
  102. txtlbl.Font = 'ArialBold'
  103. txtlbl.FontSize = 'Size12'
  104. txtlbl.Text = base.Parent.Name:upper()
  105. txtlbl.TextStrokeTransparency = 0.5
  106. if team then
  107. txtlbl.TextColor3 = Color3.new(0,1,1)
  108. frame.BackgroundColor3 = Color3.new(0,1,1)
  109. else
  110. txtlbl.TextColor3 = Color3.new(1,0,0)
  111. frame.BackgroundColor3 = Color3.new(1,0,0)
  112. end
  113. end
  114.  
  115. function Clear()
  116. for _,v in pairs(game.CoreGui:children()) do
  117. if v.Name == 'tracker' and v:isA('BillboardGui') then
  118. v:Destroy()
  119. end
  120. end
  121. end
  122.  
  123. function Find()
  124. Clear()
  125. track = true
  126. spawn(function()
  127. while wait(1) do
  128. if track then
  129. Clear()
  130. for _,v in pairs(game.Players:players()) do
  131. if v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  132. if v.Character and v.Character.Head then
  133. Create(v.Character.Head, false)
  134. end
  135. end
  136. end
  137. end
  138. wait(1)
  139. end
  140. end)
  141. end
  142.  
  143. Find()end)
  144. end
  145. if Main.Flags.Trace then -- Toggle Speed
  146. pcall(function() local function API_Check()
  147. if Drawing == nil then
  148. return "No"
  149. else
  150. return "Yes"
  151. end
  152. end
  153.  
  154. local Find_Required = API_Check()
  155.  
  156. if Find_Required == "No" then
  157. game:GetService("StarterGui"):SetCore("SendNotification",{
  158. Title = "Warning!";
  159. Text = "Tracer script could not be loaded because your exploit is unsupported.";
  160. Duration = math.huge;
  161. Button1 = "OK"
  162. })
  163.  
  164. return
  165. end
  166.  
  167. local RunService = game:GetService("RunService")
  168. local Players = game:GetService("Players")
  169. local Camera = game:GetService("Workspace").CurrentCamera
  170. local UserInputService = game:GetService("UserInputService")
  171. local TestService = game:GetService("TestService")
  172.  
  173. local Typing = false
  174.  
  175. _G.SendNotifications = true -- If set to true then the script would notify you frequently on any changes applied and when loaded / errored. (If a game can detect this, it is recommended to set it to false)
  176. _G.DefaultSettings = false -- If set to true then the tracer script would run with default settings regardless of any changes you made.
  177.  
  178. _G.TeamCheck = false -- If set to true then the script would create tracers only for the enemy team members.
  179.  
  180. --[!]-- ONLY ONE OF THESE VALUES SHOULD BE SET TO TRUE TO NOT ERROR THE SCRIPT --[!]--
  181.  
  182. _G.FromMouse = false -- If set to true, the tracers will come from the position of your mouse curson on your screen.
  183. _G.FromCenter = false -- If set to true, the tracers will come from the center of your screen.
  184. _G.FromBottom = true -- If set to true, the tracers will come from the bottom of your screen.
  185.  
  186. _G.TracersVisible = true -- If set to true then the tracers will be visible and vice versa.
  187. _G.TracerColor = Color3.fromRGB(255, 80, 10) -- The color that the tracers would appear as.
  188. _G.TracerThickness = 1 -- The thickness of the tracers.
  189. _G.TracerTransparency = 0.7 -- The transparency of the tracers.
  190.  
  191. _G.ModeSkipKey = Enum.KeyCode.F4 -- The key that changes between modes that indicate where will the tracers come from.
  192. _G.DisableKey = Enum.KeyCode.F3 -- The key that disables / enables the tracers.
  193.  
  194. local function CreateTracers()
  195. for _, v in next, Players:GetPlayers() do
  196. if v.Name ~= game.Players.LocalPlayer.Name then
  197. local TracerLine = Drawing.new("Line")
  198.  
  199. RunService.RenderStepped:Connect(function()
  200. if workspace:FindFirstChild(v.Name) ~= nil and workspace[v.Name]:FindFirstChild("HumanoidRootPart") ~= nil then
  201. local HumanoidRootPart_Position, HumanoidRootPart_Size = workspace[v.Name].HumanoidRootPart.CFrame, workspace[v.Name].HumanoidRootPart.Size * 1
  202. local Vector, OnScreen = Camera:WorldToViewportPoint(HumanoidRootPart_Position * CFrame.new(0, -HumanoidRootPart_Size.Y, 0).p)
  203.  
  204. TracerLine.Thickness = _G.TracerThickness
  205. TracerLine.Transparency = _G.TracerTransparency
  206. TracerLine.Color = _G.TracerColor
  207.  
  208. if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false then
  209. TracerLine.From = Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y)
  210. elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false then
  211. TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  212. elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true then
  213. TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  214. end
  215.  
  216. if OnScreen == true then
  217. TracerLine.To = Vector2.new(Vector.X, Vector.Y)
  218. if _G.TeamCheck == true then
  219. if Players.LocalPlayer.Team ~= v.Team then
  220. TracerLine.Visible = _G.TracersVisible
  221. else
  222. TracerLine.Visible = false
  223. end
  224. else
  225. TracerLine.Visible = _G.TracersVisible
  226. end
  227. else
  228. TracerLine.Visible = false
  229. end
  230. else
  231. TracerLine.Visible = false
  232. end
  233. end)
  234.  
  235. Players.PlayerRemoving:Connect(function()
  236. TracerLine.Visible = false
  237. end)
  238. end
  239. end
  240.  
  241. Players.PlayerAdded:Connect(function(Player)
  242. Player.CharacterAdded:Connect(function(v)
  243. if v.Name ~= game.Players.LocalPlayer.Name then
  244. local TracerLine = Drawing.new("Line")
  245.  
  246. RunService.RenderStepped:Connect(function()
  247. if workspace:FindFirstChild(v.Name) ~= nil and workspace[v.Name]:FindFirstChild("HumanoidRootPart") ~= nil then
  248. local HumanoidRootPart_Position, HumanoidRootPart_Size = workspace[v.Name].HumanoidRootPart.CFrame, workspace[v.Name].HumanoidRootPart.Size * 1
  249. local Vector, OnScreen = Camera:WorldToViewportPoint(HumanoidRootPart_Position * CFrame.new(0, -HumanoidRootPart_Size.Y, 0).p)
  250.  
  251. TracerLine.Thickness = _G.TracerThickness
  252. TracerLine.Transparency = _G.TracerTransparency
  253. TracerLine.Color = _G.TracerColor
  254.  
  255. if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false then
  256. TracerLine.From = Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y)
  257. elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false then
  258. TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  259. elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true then
  260. TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  261. end
  262.  
  263. if OnScreen == true then
  264. TracerLine.To = Vector2.new(Vector.X, Vector.Y)
  265. if _G.TeamCheck == true then
  266. if Players.LocalPlayer.Team ~= Player.Team then
  267. TracerLine.Visible = _G.TracersVisible
  268. else
  269. TracerLine.Visible = false
  270. end
  271. else
  272. TracerLine.Visible = _G.TracersVisible
  273. end
  274. else
  275. TracerLine.Visible = false
  276. end
  277. else
  278. TracerLine.Visible = false
  279. end
  280. end)
  281.  
  282. Players.PlayerRemoving:Connect(function()
  283. TracerLine.Visible = false
  284. end)
  285. end
  286. end)
  287. end)
  288. end
  289.  
  290. UserInputService.TextBoxFocused:Connect(function()
  291. Typing = true
  292. end)
  293.  
  294. UserInputService.TextBoxFocusReleased:Connect(function()
  295. Typing = false
  296. end)
  297.  
  298. UserInputService.InputBegan:Connect(function(Input)
  299. if Input.KeyCode == _G.ModeSkipKey and Typing == false then
  300. if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false and _G.TracersVisible == true then
  301. _G.FromCenter = false
  302. _G.FromBottom = true
  303. _G.FromMouse = false
  304.  
  305. if _G.SendNotifications == true then
  306. game:GetService("StarterGui"):SetCore("SendNotification",{
  307. Title = "Notification";
  308. Text = "Tracers will be now coming from the bottom of your screen (Mode 1)";
  309. Duration = 5;
  310. })
  311. end
  312. elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true and _G.TracersVisible == true then
  313. _G.FromCenter = true
  314. _G.FromBottom = false
  315. _G.FromMouse = false
  316.  
  317. if _G.SendNotifications == true then
  318. game:GetService("StarterGui"):SetCore("SendNotification",{
  319. Title = "Notification";
  320. Text = "Tracers will be now coming from the center of your screen (Mode 2)";
  321. Duration = 5;
  322. })
  323. end
  324. elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false and _G.TracersVisible == true then
  325. _G.FromCenter = false
  326. _G.FromBottom = false
  327. _G.FromMouse = true
  328.  
  329. if _G.SendNotifications == true then
  330. game:GetService("StarterGui"):SetCore("SendNotification",{
  331. Title = "Notification";
  332. Text = "Tracers will be now coming from the position of your mouse cursor on your screen (Mode 3)";
  333. Duration = 5;
  334. })
  335. end
  336. end
  337. elseif Input.KeyCode == _G.DisableKey and Typing == false then
  338. _G.TracersVisible = not _G.TracersVisible
  339.  
  340. if _G.SendNotifications == true then
  341. game:GetService("StarterGui"):SetCore("SendNotification",{
  342. Title = "Trace Notification";
  343. Text = "The tracers' visibility is now set to "..tostring(_G.TracersVisible)..".";
  344. Duration = 5;
  345. })
  346. end
  347. end
  348. end)
  349.  
  350. if _G.DefaultSettings == true then
  351. _G.TeamCheck = false
  352. _G.FromMouse = false
  353. _G.FromCenter = false
  354. _G.FromBottom = true
  355. _G.TracersVisible = true
  356. _G.TracerColor = Color3.fromRGB(40, 90, 255)
  357. _G.TracerThickness = 1
  358. _G.TracerTransparency = 0.5
  359. _G.ModeSkipKey = Enum.KeyCode.E
  360. _G.DisableKey = Enum.KeyCode.Q
  361. end
  362.  
  363. local Success, Errored = pcall(function()
  364. CreateTracers()end)
  365. end)
  366. end)
  367.  
  368. local function InvisPlayer()
  369. getgenv().InvisRunning = false
  370. wait(0.01)
  371. getgenv().InvisRunning = true
  372. pcall(function()
  373. local CFrame = Plr.Character.UpperTorso.CFrame
  374. Plr.Character.HumanoidRootPart:BreakJoints()
  375. while InvisRunning do
  376. Plr.Character.UpperTorso.CFrame = CFrame
  377. wait(0.000001)
  378. end
  379. end)
  380. end
  381.  
  382. coroutine.wrap(function()
  383. while true do
  384. wait(1)
  385. if Main.Flags.InstantBreak then -- InstantBreak
  386. for i,block in pairs(game:GetService("Workspace").Map.Blocks:GetChildren()) do
  387. block:SetAttribute("Health", 1)
  388. end
  389. end
  390. end
  391. end)()
  392. local Window = Main:CreateWindow("Uniware Settings")
  393. local MainTab = Window:AddTab("Settings") do
  394. MainTab:AddToggle({Name = "Name Esp", Flag = "Esp"})
  395. MainTab:AddToggle({Name = "Trace Esp", Flag = "Trace"})
  396. MainTab:AddToggle({Name = "ESP", Flag = "EeSP"})
  397. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement