Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/aaaa"))()
- local UI = GUI:CreateWindow("Happy's Hud","Universal Hub")
- local Home = UI:addPage("Main",2,true,6)
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local Camera = workspace.CurrentCamera
- local AntiKickEnabled = false
- local InfiniteJumpingEnabled = false
- local HitboxSize = 5 -- Default Hitbox Size
- local WalkSpeed = 16 -- Default WalkSpeed
- local JumpPower = 50 -- Default JumpPower
- local IsTracking = false
- local MaxDistance = 5000 -- In Studs
- local function EspTrack(Humanoid, IsAnNPC)
- local Root
- if Humanoid.RigType == Enum.HumanoidRigType.R15 then -- Check if the RigType of the player is R15 or R6
- if Humanoid.Parent:FindFirstChild("UpperTorso"):IsA("CharacterMesh") then
- Humanoid.Parent:FindFirstChild("UpperTorso").Name = "_UpperTorso" -- Rename the Meshes that are called "UpperTorso" to avoid the script from mistaking it as a BodyPart
- end
- Root = Humanoid.Parent:FindFirstChild("UpperTorso")
- else
- if Humanoid.Parent:FindFirstChild("Torso"):IsA("CharacterMesh") then
- Humanoid.Parent:FindFirstChild("Torso").Name = "_Torso" -- Rename the Meshes that are called "Torso" to avoid the script from mistaking it as a BodyPart
- end
- Root = Humanoid.Parent:FindFirstChild("Torso")
- end
- if Root then
- task.spawn(function()
- local TorsoEsp = Instance.new("BoxHandleAdornment", Root)
- if IsAnNPC then
- TorsoEsp.Color3 = Color3.fromRGB(0, 170, 255)
- elseif not IsAnNPC then
- TorsoEsp.Color3 = Color3.fromRGB(0,255,0)
- end
- TorsoEsp.Transparency = 0.5
- TorsoEsp.Adornee = Root.Parent.HumanoidRootPart
- TorsoEsp.AdornCullingMode = Enum.AdornCullingMode.Never
- TorsoEsp.AlwaysOnTop = true
- TorsoEsp.Size = Vector3.new(4.4,5.4,1.4)
- TorsoEsp.CFrame = TorsoEsp.CFrame - Vector3.new(0,0.5,0)
- TorsoEsp.Visible = true
- TorsoEsp.ZIndex = 5
- -- Creating the Name ESP
- local NameEsp = Instance.new("BillboardGui", Humanoid.Parent:FindFirstChild("Head"))
- NameEsp.Name = "_name-esp-gui"
- NameEsp.AlwaysOnTop = true
- NameEsp.Enabled = true
- NameEsp.LightInfluence = 0
- NameEsp.Size = UDim2.new(0, 200, 0, 15)
- NameEsp.StudsOffset = Vector3.new(0, 2.1, 0)
- local NameEspText = Instance.new("TextLabel", NameEsp)
- NameEspText.Name = "_name-esp-text"
- NameEspText.BackgroundTransparency = 1
- NameEspText.Size = UDim2.new(0, 200, 0, 15)
- NameEspText.Font = Enum.Font.SourceSansBold
- if IsAnNPC then
- NameEspText.Text = "[NPC] "..Humanoid.Parent.Name
- NameEspText.TextColor3 = Color3.fromRGB(0, 170, 255)
- elseif not IsAnNPC then
- NameEspText.Text = Humanoid.Parent.Name
- NameEspText.TextColor3 = Color3.fromRGB(0, 255, 0)
- end
- NameEspText.TextScaled = true
- NameEspText.TextStrokeTransparency = 0
- -- Creating the Distance ESP
- local DistanceEsp = Instance.new("BillboardGui", Root)
- DistanceEsp.Name = "_distance-esp-gui"
- DistanceEsp.AlwaysOnTop = true
- DistanceEsp.Enabled = true
- DistanceEsp.LightInfluence = 0
- DistanceEsp.Size = UDim2.new(0, 200, 0, 15)
- DistanceEsp.StudsOffset = Vector3.new(0, -4.3, 0)
- local NameEspDistance = Instance.new("TextLabel", DistanceEsp)
- NameEspDistance.Name = "_distance-esp-text"
- NameEspDistance.BackgroundTransparency = 1
- NameEspDistance.Size = UDim2.new(0, 200, 0, 15)
- NameEspDistance.Font = Enum.Font.SourceSansBold
- NameEspDistance.TextScaled = true
- NameEspDistance.TextStrokeTransparency = 0
- ------------------------------------------------------------------------
- while Root and IsTracking == true do -- While Root still exists and Tracking is on, run the function
- local RayCast = Ray.new(Root.Position, (Player.Character.HumanoidRootPart.Position - Root.Position).unit*100)
- local Part, Position, Normal = game.Workspace:FindPartOnRay(RayCast, Player.Character, false,true)
- local Dist = (Player.Character.HumanoidRootPart.Position - Root.Position).magnitude
- if (Dist > MaxDistance) then
- warn("Maximum Distance Reached")
- break
- end
- Part = Instance.new("Part")
- Part.Name = "_esp-track-part"
- Part.Parent = Humanoid.Parent
- Part.Anchored = true
- Part.CanCollide = false
- Part.Size = Vector3.new(0.15, 0.15, Dist)
- Part.Transparency = 1
- Part.CFrame = CFrame.new(Root.Position ,Position) * CFrame.new(0, 0, -Dist/2)
- local Highlight = Instance.new("BoxHandleAdornment", Part)
- if IsAnNPC then
- Highlight.Color3 = Color3.fromRGB(0, 170, 255)
- NameEspDistance.Text = math.round(Dist).." Studs"
- NameEspDistance.TextColor3 = Color3.fromRGB(0, 170, 255)
- elseif not IsAnNPC then
- Highlight.Color3 = Color3.fromRGB(0,255,0)
- NameEspDistance.Text = math.round(Dist).." Studs"
- NameEspDistance.TextColor3 = Color3.fromRGB(0, 255, 0)
- end
- Highlight.Transparency = 0.5
- Highlight.Adornee = Part
- Highlight.AdornCullingMode = Enum.AdornCullingMode.Never
- Highlight.AlwaysOnTop = true
- Highlight.Size = Vector3.new(0.17, 0.17, Dist)
- Highlight.Visible = true
- Highlight.ZIndex = 0
- task.wait()
- Part:Destroy()
- end
- -- Root no longer exists or Tracking was set to off
- print('Tracking ended for "'..Root.Parent.Name..'"')
- if Root then
- NameEsp:Destroy()
- DistanceEsp:Destroy()
- TorsoEsp:Destroy()
- else
- warn('Root no longer exists in the Character "'..Root.Parent.Name..'"')
- end
- end)
- end
- end
- local function EspTrackTool(Tool) -- Exactly the same function as tracking a player, but its a Tool instead
- local Root = Tool.Handle
- if Root then
- task.spawn(function()
- local NameEsp = Instance.new("BillboardGui", Root)
- NameEsp.Name = "_name-esp-gui"
- NameEsp.AlwaysOnTop = true
- NameEsp.Enabled = true
- NameEsp.LightInfluence = 0
- NameEsp.Size = UDim2.new(0, 200, 0, 15)
- NameEsp.StudsOffset = Vector3.new(0, 2.1, 0)
- local NameEspText = Instance.new("TextLabel", NameEsp)
- NameEspText.Name = "_name-esp-text"
- NameEspText.BackgroundTransparency = 1
- NameEspText.Size = UDim2.new(0, 200, 0, 15)
- NameEspText.Font = Enum.Font.SourceSansBold
- NameEspText.Text = "[TOOL] "..Root.Parent.Name
- NameEspText.TextColor3 = Color3.fromRGB(255, 0, 0)
- NameEspText.TextScaled = true
- NameEspText.TextStrokeTransparency = 0
- --
- while Root and IsTracking == true do
- local RayCast = Ray.new(Root.Position, (Player.Character.HumanoidRootPart.Position - Root.Position).unit*100)
- local Part, Position, Normal = game.Workspace:FindPartOnRay(RayCast, Player.Character, false, true)
- local Dist = (Player.Character.HumanoidRootPart.Position - Root.Position).magnitude
- if (Dist > MaxDistance) then
- warn("Maximum Distance Reached")
- break
- end
- -- Raycast Part --
- Part = Instance.new("Part")
- Part.Name = "_esp-track-part"
- Part.Parent = Root
- Part.Anchored = true
- Part.CanCollide = false
- Part.Size = Vector3.new(0.1, 0.1, Dist)
- Part.Transparency = 1
- Part.CFrame = CFrame.new(Root.Position, Position) * CFrame.new(0, 0, -Dist/2)
- local ToolEsp = Instance.new("BoxHandleAdornment", Part)
- ToolEsp.Transparency = 0.5
- ToolEsp.Adornee = Part
- ToolEsp.AdornCullingMode = Enum.AdornCullingMode.Never
- ToolEsp.AlwaysOnTop = true
- ToolEsp.Size = Vector3.new(0.17, 0.17, Dist)
- ToolEsp.Color3 = Color3.fromRGB(255, 0, 0)
- ToolEsp.Visible = true
- ToolEsp.ZIndex = 0
- task.wait()
- Part:Destroy()
- end
- -- Tool no longer exists or Tracking was set to off
- print('Tracking ended for "'..Root.Parent.Name..'"')
- if Root then
- NameEsp:Destroy()
- else
- warn("Tool no longer exists")
- end
- end)
- end
- end
- local function CheckDistance(Object, IsAnNPC)
- if Object then
- local Torso
- if Object.RigType == Enum.HumanoidRigType.R15 then -- Check if the RigType of the player is R15 or R6
- if Object.Parent:FindFirstChild("UpperTorso"):IsA("CharacterMesh") then
- Object.Parent:FindFirstChild("UpperTorso").Name = "_UpperTorso" -- Rename the Meshes that are called "UpperTorso" to avoid the script from mistaking it as a BodyPart
- end
- Torso = Object.Parent:FindFirstChild("UpperTorso")
- else
- if Object.Parent:FindFirstChild("Torso"):IsA("CharacterMesh") then
- Object.Parent:FindFirstChild("Torso").Name = "_Torso" -- Rename the Meshes that are called "Torso" to avoid the script from mistaking it as a BodyPart
- end
- Torso = Object.Parent:FindFirstChild("Torso")
- end
- local Distance = (Player.Character.HumanoidRootPart.Position - Torso.Position).magnitude
- if Distance <= MaxDistance then -- Maximum distance of the tracker is 5000 studs by default
- EspTrack(Object, IsAnNPC)
- else
- -- Ignore the Character as it is too far from the LocalPlayer
- print(Object.Parent.Name.." is too far from the Player")
- end
- end
- end
- local MainFunction = function()
- task.spawn(function()
- while task.wait(0.1) do
- if IsTracking then -- If tracking is on, run the function
- for _, Thing in pairs(workspace:GetDescendants()) do -- Get all objects found in the workspace
- if Thing:IsA("Humanoid") and (Thing.Health > 0) and (Thing.Parent ~= Player.Character) then -- Check if object IS a Humanoid and Character is different from the LocalPlayer's Character
- if Players:GetPlayerFromCharacter(Thing.Parent) and not Thing.Parent:FindFirstChild("_esp-track-part") then
- CheckDistance(Thing, false) -- Check the distance of the Player
- elseif not Thing.Parent:FindFirstChild("_esp-track-part") then
- CheckDistance(Thing, true) -- Check the distance of the NPC
- end
- elseif Thing:IsA("Tool") then
- if Thing:FindFirstChild("Handle") then
- if not Thing.Handle:FindFirstChild("_esp-track-part") then
- EspTrackTool(Thing) -- Track the Tool
- end
- end
- end
- end
- end
- end
- end)
- end
- MainFunction()
- Home:addLabel("Character", "Actions for the Character")
- Home:addButton("Reset", function()
- Player.Character.Humanoid.Health = 0
- end)
- Home:addTextBox("Speed", "16"
- ,function(value)
- if tonumber(value) ~= nil then
- WalkSpeed = tonumber(value)
- task.spawn(function()
- while task.wait() do
- Player.Character.Humanoid.WalkSpeed = WalkSpeed
- end
- end)
- end
- end)
- Home:addTextBox("Jump Power", "50"
- ,function(value)
- if tonumber(value) ~= nil then
- JumpPower = tonumber(value)
- task.spawn(function()
- while task.wait() do
- Player.Character.Humanoid.UseJumpPower = true
- Player.Character.Humanoid.JumpPower = JumpPower
- end
- end)
- end
- end)
- Home:addToggle("Infinite Jumps",function(value)
- task.spawn(function()
- if value == true then
- InfiniteJumpingEnabled = true
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfiniteJumpingEnabled == true then
- Player.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- else
- InfiniteJumpingEnabled = false
- end
- end)
- end)
- Home:addButton("Teleport", function(value)
- task.spawn(function()
- Player.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,10)
- end)
- end)
- Home:addLabel("Player", "Actions for the Player")
- Home:addToggle("Anti AFK Kick",function(value)
- task.spawn(function()
- if value == true then
- AntiKickEnabled = true
- while AntiKickEnabled == true do
- Player.Idled:Connect(function()
- if AntiKickEnabled == true then
- game:GetService("VirtualUser"):CaptureController()
- game:GetService("VirtualUser"):ClickButton2(Vector2.new())
- end
- end)
- task.wait(10)
- end
- else
- AntiKickEnabled = false
- end
- end)
- end)
- Home:addButton("Kick Yourself", function()
- Player:Kick("Requested Kick from the Client")
- end)
- Home:addButton("Rejoin", function()
- game:GetService("TeleportService"):Teleport(game.PlaceId, Player)
- end)
- Home:addLabel("Others", "Actions for other purposes")
- Home:addTextBox("Hitbox Size", "5"
- ,function(value)
- task.spawn(function()
- if tonumber(value) ~= nil then
- HitboxSize = value
- for i,v in next, game:GetService('Players'):GetPlayers() do
- if v.Name ~= game:GetService('Players').LocalPlayer.Name then
- task.spawn(function()
- while task.wait(1) do
- if v.Character:FindFirstChild("HumanoidRootPart") then
- v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize,HitboxSize,HitboxSize)
- v.Character.HumanoidRootPart.Transparency = 0.8
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end
- end
- end)
- end
- end
- end
- end)
- end)
- Home:addToggle("ESP", function(value)
- if value == true then
- IsTracking = true
- else
- IsTracking = false
- end
- end)
- local Universal = UI:addPage("Universal",2,false,6)
- Universal:addLabel("Universal Scripts", "Executable scripts that works in most games")
- Universal:addButton("Dex Explorer", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Babyhamsta/RBLX_Scripts/main/Universal/BypassedDarkDexV3.lua", true))()
- end)
- Universal:addButton("Infinite Yield", function()
- loadstring(game:HttpGet("https://cdn.wearedevs.net/scripts/Infinite%20Yield.txt"))()
- end)
- Universal:addButton("Remote Spy", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/66NjbMN7",true))()
- end)
- Universal:addLabel("Others", "Useful hubs that work in certain games")
- Universal:addButton("[Hotel Elephant]", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/iVCc6iwm"))()
- end)
- Universal:addButton("[Zombie Lab]", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/sinret/rbxscript.com-scripts-reuploads-/main/zlab", true))()
- end)
- Universal:addButton("[Break In]", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Nikita365/Break-In-Story-/main/Break%20In%20Story%20Hub"))()
- end)
- local Credits = UI:addPage("Credits",1,false,6)
- Credits:addLabel("Credits", "Hud created by HappyH0lidays2021")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement