Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().Main = loadstring(game:HttpGet("https://raw.githubusercontent.com/SuperGamingBros4/Roblox-HAX/main/Better_UI_Library.lua"))()
- local camera = game:GetService("Workspace").CurrentCamera
- local Plr = game:GetService("Players").LocalPlayer
- local RS = game:GetService("RunService")
- local mouse = Plr:GetMouse()
- function getclosestplayertomouse()
- local Target = nil
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character then
- if v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("Humanoid").Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.TeamColor ~= Plr.TeamColor then
- local pos, vis = camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
- local dist = (Vector2.new(mouse.X, mouse.Y) - Vector2.new(pos.X, pos.Y)).Magnitude
- if Main.Flags.VisCheck then
- if Main.Flags.Size > dist and vis then
- Target = v
- print(dist)
- end
- else
- if Main.Flags.Size > dist then
- Target = v
- end
- end
- end
- end
- end
- return Target
- end
- local circle = Drawing.new("Circle")
- circle.Thickness = 0.1
- RS.RenderStepped:Connect(function()
- local Settings = Main.Flags
- if Settings.Aimbot and Settings.FovCircle then -- FovCircle
- circle.Visible = true
- circle.Color = Color3.fromRGB(Settings.FovRed, Settings.FovGreen, Settings.FovBlue)
- circle.NumSides = Settings.Smoothing
- circle.Radius = Settings.Size
- circle.Position = Vector2.new(mouse.X, mouse.Y + 35)
- else
- circle.Visible = false
- end
- if Settings.Aimbot then -- Aimbot
- for i,arrow in pairs(game:GetService("Workspace"):GetChildren()) do
- if arrow.Name == "arrow" or arrow.Name == "crossbow_arrow" then
- pcall(function()
- arrow:WaitForChild("Handle").Position = getclosestplayertomouse().Character.HumanoidRootPart.Position
- end)
- end
- end
- end
- if Main.Flags.Speed then -- Toggle Speed
- pcall(function() Plr.Character.Humanoid.WalkSpeed = 25 end)
- end
- if Main.Flags.SSprint then -- Toggle Speed
- pcall(function() local User = game:GetService("UserInputService")
- local player = game.Players.LocalPlayer
- local char = workspace:WaitForChild(player.Name)
- local RunSpeed = 29 --change this to the speed u want when the player is running
- local Walk = 16 --16 is the normal walkspeed but you can change it
- User.InputBegan:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.LeftShift then --Im using Left Shift To hold for running
- char.Humanoid.WalkSpeed = RunSpeed --When you hold shift the players walkspeed
- end
- end)
- User.InputEnded:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.LeftShift then --Im using Left Shift To hold for running
- char.Humanoid.WalkSpeed = Walk
- end
- end) end)
- end
- if Main.Flags.HitChec then -- Toggle Speed
- 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)
- end
- if Main.Flags.EeSP then -- Toggle Speed
- pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Rollimonster/Roblox-esp/main/Roblox-esp", true))()end)
- end
- if Main.Flags.Esp then -- Toggle Speed
- pcall(function() function Create(base, team)
- local bb = Instance.new('BillboardGui', game.CoreGui)
- bb.Adornee = base
- bb.ExtentsOffset = Vector3.new(0,1,0)
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0,5,0,5)
- bb.StudsOffset = Vector3.new(0,1,0)
- bb.Name = 'tracker'
- local frame = Instance.new('Frame',bb)
- frame.ZIndex = 10
- frame.BackgroundTransparency = 0.3
- frame.Size = UDim2.new(1,0,1,0)
- local txtlbl = Instance.new('TextLabel',bb)
- txtlbl.ZIndex = 10
- txtlbl.BackgroundTransparency = 1
- txtlbl.Position = UDim2.new(0,0,0,-35)
- txtlbl.Size = UDim2.new(1,0,10,0)
- txtlbl.Font = 'ArialBold'
- txtlbl.FontSize = 'Size12'
- txtlbl.Text = base.Parent.Name:upper()
- txtlbl.TextStrokeTransparency = 0.5
- if team then
- txtlbl.TextColor3 = Color3.new(0,1,1)
- frame.BackgroundColor3 = Color3.new(0,1,1)
- else
- txtlbl.TextColor3 = Color3.new(1,0,0)
- frame.BackgroundColor3 = Color3.new(1,0,0)
- end
- end
- function Clear()
- for _,v in pairs(game.CoreGui:children()) do
- if v.Name == 'tracker' and v:isA('BillboardGui') then
- v:Destroy()
- end
- end
- end
- function Find()
- Clear()
- track = true
- spawn(function()
- while wait(1) do
- if track then
- Clear()
- for _,v in pairs(game.Players:players()) do
- if v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
- if v.Character and v.Character.Head then
- Create(v.Character.Head, false)
- end
- end
- end
- end
- wait(1)
- end
- end)
- end
- Find()end)
- end
- if Main.Flags.Trace then -- Toggle Speed
- pcall(function() local function API_Check()
- if Drawing == nil then
- return "No"
- else
- return "Yes"
- end
- end
- local Find_Required = API_Check()
- if Find_Required == "No" then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Warning!";
- Text = "Tracer script could not be loaded because your exploit is unsupported.";
- Duration = math.huge;
- Button1 = "OK"
- })
- return
- end
- local RunService = game:GetService("RunService")
- local Players = game:GetService("Players")
- local Camera = game:GetService("Workspace").CurrentCamera
- local UserInputService = game:GetService("UserInputService")
- local TestService = game:GetService("TestService")
- local Typing = false
- _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)
- _G.DefaultSettings = false -- If set to true then the tracer script would run with default settings regardless of any changes you made.
- _G.TeamCheck = false -- If set to true then the script would create tracers only for the enemy team members.
- --[!]-- ONLY ONE OF THESE VALUES SHOULD BE SET TO TRUE TO NOT ERROR THE SCRIPT --[!]--
- _G.FromMouse = false -- If set to true, the tracers will come from the position of your mouse curson on your screen.
- _G.FromCenter = false -- If set to true, the tracers will come from the center of your screen.
- _G.FromBottom = true -- If set to true, the tracers will come from the bottom of your screen.
- _G.TracersVisible = true -- If set to true then the tracers will be visible and vice versa.
- _G.TracerColor = Color3.fromRGB(255, 80, 10) -- The color that the tracers would appear as.
- _G.TracerThickness = 1 -- The thickness of the tracers.
- _G.TracerTransparency = 0.7 -- The transparency of the tracers.
- _G.ModeSkipKey = Enum.KeyCode.F4 -- The key that changes between modes that indicate where will the tracers come from.
- _G.DisableKey = Enum.KeyCode.F3 -- The key that disables / enables the tracers.
- local function CreateTracers()
- for _, v in next, Players:GetPlayers() do
- if v.Name ~= game.Players.LocalPlayer.Name then
- local TracerLine = Drawing.new("Line")
- RunService.RenderStepped:Connect(function()
- if workspace:FindFirstChild(v.Name) ~= nil and workspace[v.Name]:FindFirstChild("HumanoidRootPart") ~= nil then
- local HumanoidRootPart_Position, HumanoidRootPart_Size = workspace[v.Name].HumanoidRootPart.CFrame, workspace[v.Name].HumanoidRootPart.Size * 1
- local Vector, OnScreen = Camera:WorldToViewportPoint(HumanoidRootPart_Position * CFrame.new(0, -HumanoidRootPart_Size.Y, 0).p)
- TracerLine.Thickness = _G.TracerThickness
- TracerLine.Transparency = _G.TracerTransparency
- TracerLine.Color = _G.TracerColor
- if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false then
- TracerLine.From = Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y)
- elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false then
- TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
- elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true then
- TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
- end
- if OnScreen == true then
- TracerLine.To = Vector2.new(Vector.X, Vector.Y)
- if _G.TeamCheck == true then
- if Players.LocalPlayer.Team ~= v.Team then
- TracerLine.Visible = _G.TracersVisible
- else
- TracerLine.Visible = false
- end
- else
- TracerLine.Visible = _G.TracersVisible
- end
- else
- TracerLine.Visible = false
- end
- else
- TracerLine.Visible = false
- end
- end)
- Players.PlayerRemoving:Connect(function()
- TracerLine.Visible = false
- end)
- end
- end
- Players.PlayerAdded:Connect(function(Player)
- Player.CharacterAdded:Connect(function(v)
- if v.Name ~= game.Players.LocalPlayer.Name then
- local TracerLine = Drawing.new("Line")
- RunService.RenderStepped:Connect(function()
- if workspace:FindFirstChild(v.Name) ~= nil and workspace[v.Name]:FindFirstChild("HumanoidRootPart") ~= nil then
- local HumanoidRootPart_Position, HumanoidRootPart_Size = workspace[v.Name].HumanoidRootPart.CFrame, workspace[v.Name].HumanoidRootPart.Size * 1
- local Vector, OnScreen = Camera:WorldToViewportPoint(HumanoidRootPart_Position * CFrame.new(0, -HumanoidRootPart_Size.Y, 0).p)
- TracerLine.Thickness = _G.TracerThickness
- TracerLine.Transparency = _G.TracerTransparency
- TracerLine.Color = _G.TracerColor
- if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false then
- TracerLine.From = Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y)
- elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false then
- TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
- elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true then
- TracerLine.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
- end
- if OnScreen == true then
- TracerLine.To = Vector2.new(Vector.X, Vector.Y)
- if _G.TeamCheck == true then
- if Players.LocalPlayer.Team ~= Player.Team then
- TracerLine.Visible = _G.TracersVisible
- else
- TracerLine.Visible = false
- end
- else
- TracerLine.Visible = _G.TracersVisible
- end
- else
- TracerLine.Visible = false
- end
- else
- TracerLine.Visible = false
- end
- end)
- Players.PlayerRemoving:Connect(function()
- TracerLine.Visible = false
- end)
- end
- end)
- end)
- end
- UserInputService.TextBoxFocused:Connect(function()
- Typing = true
- end)
- UserInputService.TextBoxFocusReleased:Connect(function()
- Typing = false
- end)
- UserInputService.InputBegan:Connect(function(Input)
- if Input.KeyCode == _G.ModeSkipKey and Typing == false then
- if _G.FromMouse == true and _G.FromCenter == false and _G.FromBottom == false and _G.TracersVisible == true then
- _G.FromCenter = false
- _G.FromBottom = true
- _G.FromMouse = false
- if _G.SendNotifications == true then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Notification";
- Text = "Tracers will be now coming from the bottom of your screen (Mode 1)";
- Duration = 5;
- })
- end
- elseif _G.FromMouse == false and _G.FromCenter == false and _G.FromBottom == true and _G.TracersVisible == true then
- _G.FromCenter = true
- _G.FromBottom = false
- _G.FromMouse = false
- if _G.SendNotifications == true then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Notification";
- Text = "Tracers will be now coming from the center of your screen (Mode 2)";
- Duration = 5;
- })
- end
- elseif _G.FromMouse == false and _G.FromCenter == true and _G.FromBottom == false and _G.TracersVisible == true then
- _G.FromCenter = false
- _G.FromBottom = false
- _G.FromMouse = true
- if _G.SendNotifications == true then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Notification";
- Text = "Tracers will be now coming from the position of your mouse cursor on your screen (Mode 3)";
- Duration = 5;
- })
- end
- end
- elseif Input.KeyCode == _G.DisableKey and Typing == false then
- _G.TracersVisible = not _G.TracersVisible
- if _G.SendNotifications == true then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Trace Notification";
- Text = "The tracers' visibility is now set to "..tostring(_G.TracersVisible)..".";
- Duration = 5;
- })
- end
- end
- end)
- if _G.DefaultSettings == true then
- _G.TeamCheck = false
- _G.FromMouse = false
- _G.FromCenter = false
- _G.FromBottom = true
- _G.TracersVisible = true
- _G.TracerColor = Color3.fromRGB(40, 90, 255)
- _G.TracerThickness = 1
- _G.TracerTransparency = 0.5
- _G.ModeSkipKey = Enum.KeyCode.E
- _G.DisableKey = Enum.KeyCode.Q
- end
- local Success, Errored = pcall(function()
- CreateTracers()end)
- end)
- end)
- local function InvisPlayer()
- getgenv().InvisRunning = false
- wait(0.01)
- getgenv().InvisRunning = true
- pcall(function()
- local CFrame = Plr.Character.UpperTorso.CFrame
- Plr.Character.HumanoidRootPart:BreakJoints()
- while InvisRunning do
- Plr.Character.UpperTorso.CFrame = CFrame
- wait(0.000001)
- end
- end)
- end
- coroutine.wrap(function()
- while true do
- wait(1)
- if Main.Flags.InstantBreak then -- InstantBreak
- for i,block in pairs(game:GetService("Workspace").Map.Blocks:GetChildren()) do
- block:SetAttribute("Health", 1)
- end
- end
- end
- end)()
- local Window = Main:CreateWindow("Uniware Settings")
- local MainTab = Window:AddTab("Settings") do
- MainTab:AddToggle({Name = "Name Esp", Flag = "Esp"})
- MainTab:AddToggle({Name = "Trace Esp", Flag = "Trace"})
- MainTab:AddToggle({Name = "ESP", Flag = "EeSP"})
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement