Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Open source
- Made by !vcsk0#1516
- Credits to me
- Credits to the Owner, Who Made The ESP Script
- ]]
- local CoreGui = game:GetService("StarterGui")
- local Players = game:GetService("Players")
- getgenv().HitboxSize = 15
- getgenv().HitboxTransparency = 0.7
- getgenv().HitboxStatus = false
- getgenv().TeamCheck = false
- getgenv().FriendCheck = false
- getgenv().Walkspeed = 16
- getgenv().Jumppower = 50
- --// UI
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Vcsk/UI-Library/main/Source/MyUILib(Unamed).lua"))();
- local Window = Library:Create("Hitbox Expander")
- local ToggleGui = Instance.new("ScreenGui")
- local Toggle = Instance.new("TextButton")
- ToggleGui.Name = "ToggleGui_HE"
- ToggleGui.Parent = game.CoreGui
- Toggle.Name = "Toggle"
- Toggle.Parent = ToggleGui
- Toggle.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
- Toggle.BackgroundTransparency = 0.660
- Toggle.Position = UDim2.new(0, 0, 0.454706937, 0)
- Toggle.Size = UDim2.new(0.0650164187, 0, 0.0888099447, 0)
- Toggle.Font = Enum.Font.SourceSans
- Toggle.Text = "Toggle"
- Toggle.TextScaled = true
- Toggle.TextColor3 = Color3.fromRGB(40, 40, 40)
- Toggle.TextSize = 24.000
- Toggle.TextXAlignment = Enum.TextXAlignment.Left
- Toggle.Active = true
- Toggle.Draggable = true
- Toggle.MouseButton1Click:connect(function()
- Library:ToggleUI()
- end)
- local HomeTab = Window:Tab("Home","rbxassetid://10888331510")
- local PlayerTab = Window:Tab("Players","rbxassetid://12296135476")
- local VisualTab = Window:Tab("Visuals","rbxassetid://12308581351")
- HomeTab:Section("Settings")
- HomeTab:Slider("Hitbox Size (Slider)", 0,300, function(value)
- getgenv().HitboxSize = value
- end)
- HomeTab:TextBox("Hitbox Size (TextBox)", function(value)
- getgenv().HitboxSize = value
- end)
- HomeTab:TextBox("Hitbox Transparency", function(number)
- getgenv().HitboxTransparency = number
- end)
- HomeTab:Section("Main")
- HomeTab:Toggle("Status: ", function(state)
- getgenv().HitboxStatus = state
- game:GetService('RunService').RenderStepped:connect(function()
- if HitboxStatus == true and TeamCheck == false and FriendCheck == false 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(HitboxSize, HitboxSize, HitboxSize)
- v.Character.HumanoidRootPart.Transparency = HitboxTransparency
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- elseif HitboxStatus == true and TeamCheck == false and FriendCheck == true then
- for i,v in next, game:GetService('Players'):GetPlayers() do
- for i2,v2 in pairs(game:GetService('Players'):GetChildren()) do
- if v.Name ~= game:GetService('Players').LocalPlayer.Name and not v2:IsFriendsWith(game:GetService('Players').LocalPlayer.UserId) then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
- v.Character.HumanoidRootPart.Transparency = HitboxTransparency
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- end
- elseif HitboxStatus == true and TeamCheck == true and FriendCheck == false then
- for i,v in next, game:GetService('Players'):GetPlayers() do
- if game:GetService('Players').LocalPlayer.Team ~= v.Team then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
- v.Character.HumanoidRootPart.Transparency = HitboxTransparency
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- elseif HitboxStatus == true and TeamCheck == true and FriendCheck == true then
- for i,v in next, game:GetService('Players'):GetPlayers() do
- if game:GetService('Players').LocalPlayer.Team ~= v.Team and not game:GetService('Players'):IsFriendsWith(UserId) then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
- v.Character.HumanoidRootPart.Transparency = HitboxTransparency
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- else
- 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(2,2,1)
- v.Character.HumanoidRootPart.Transparency = 1
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Medium stone grey")
- v.Character.HumanoidRootPart.Material = "Plastic"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- end
- end)
- end)
- HomeTab:Toggle("Team Check", function(state)
- getgenv().TeamCheck = state
- end)
- HomeTab:Keybind("Toggle UI", Enum.KeyCode.F, function()
- Library:ToggleUI()
- end)
- PlayerTab:Slider("WalkSpeed", 16,500, function(value)
- getgenv().Walkspeed = value
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = value
- end)
- end)
- PlayerTab:Slider("JumpPower", 50,1000, function(value)
- getgenv().Jumppower = value
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = value
- end)
- end)
- PlayerTab:Slider("Fov", 70,120, function(v)
- game.Workspace.CurrentCamera.FieldOfView = v
- end)
- PlayerTab:Toggle("Loop WalkSpeed/JumpPower", function(state)
- getgenv().loopWJ = state
- game:GetService("RunService").Heartbeat:Connect(function()
- if loopWJ == true then
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = Walkspeed
- game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = Jumppower
- end)
- end
- end)
- end)
- PlayerTab:Toggle("Loop WalkSpeed", function(state)
- getgenv().loopW = state
- game:GetService("RunService").Heartbeat:Connect(function()
- if loopW == true then
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = Walkspeed
- end)
- end
- end)
- end)
- PlayerTab:Toggle("Loop JumpPower", function(state)
- getgenv().loopJ = state
- game:GetService("RunService").Heartbeat:Connect(function()
- if loopJ == true then
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = Jumppower
- end)
- end
- end)
- end)
- PlayerTab:Toggle("Noclip", function(s)
- getgenv().Noclip = s
- game:GetService("RunService").Heartbeat:Connect(function()
- if Noclip == true then
- game:GetService("RunService").Stepped:wait()
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- end
- end)
- end)
- PlayerTab:Toggle("Infinite Jump", function(s)
- getgenv().InfJ = s
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfJ == true then
- game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- end)
- PlayerTab:Button("Rejoin", function()
- game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
- end)
- VisualTab:Toggle("Character Highlight", function(state)
- getgenv().enabled = state --Toggle on/off
- getgenv().filluseteamcolor = true --Toggle fill color using player team color on/off
- getgenv().outlineuseteamcolor = true --Toggle outline color using player team color on/off
- getgenv().fillcolor = Color3.new(0, 0, 0) --Change fill color, no need to edit if using team color
- getgenv().outlinecolor = Color3.new(1, 1, 1) --Change outline color, no need to edit if using team color
- getgenv().filltrans = 0.5 --Change fill transparency
- getgenv().outlinetrans = 0.5 --Change outline transparency
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Vcsk/RobloxScripts/main/Highlight-ESP.lua"))()
- end)
- VisualTab:Toggle("(Everyone) ESP Name", function(state)
- getgenv().ESPName = state
- end)
- VisualTab:Toggle("(Enemy Only) ESP Name (soon!)", function(state)
- getgenv().TeamCheckkk = state
- end)
- local c = workspace.CurrentCamera
- local ps = game:GetService("Players")
- local lp = ps.LocalPlayer
- local rs = game:GetService("RunService")
- local function esp(p,cr)
- local h = cr:WaitForChild("Humanoid")
- local hrp = cr:WaitForChild("Head")
- local text = Drawing.new("Text")
- text.Visible = false
- text.Center = true
- text.Outline = false
- text.Font = 3
- text.Size = 16.16
- text.Color = Color3.new(170,170,170)
- local conection
- local conection2
- local conection3
- local function dc()
- text.Visible = false
- text:Remove()
- if conection then
- conection:Disconnect()
- conection = nil
- end
- if conection2 then
- conection2:Disconnect()
- conection2 = nil
- end
- if conection3 then
- conection3:Disconnect()
- conection3 = nil
- end
- end
- conection2 = cr.AncestryChanged:Connect(function(_,parent)
- if not parent then
- dc()
- end
- end)
- conection3 = h.HealthChanged:Connect(function(v)
- if (v<=0) or (h:GetState() == Enum.HumanoidStateType.Dead) then
- dc()
- end
- end)
- conection = rs.RenderStepped:Connect(function()
- local hrp_pos,hrp_onscreen = c:WorldToViewportPoint(hrp.Position)
- if hrp_onscreen and ESPName == true then
- text.Position = Vector2.new(hrp_pos.X, hrp_pos.Y - 27)
- text.Text = p.DisplayName.." (@"..p.Name..")"
- text.Visible = true
- else
- text.Visible = false
- end
- end)
- end
- local function p_added(p)
- if p.Character then
- esp(p,p.Character)
- end
- p.CharacterAdded:Connect(function(cr)
- esp(p,cr)
- end)
- end
- for i,p in next, ps:GetPlayers() do
- if p ~= lp then
- p_added(p)
- end
- end
- ps.PlayerAdded:Connect(p_added)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement