Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DiscordLib = loadstring(game:HttpGet"https://raw.githubusercontent.com/dawid-scripts/UI-Libs/main/discord%20lib.txt")()
- local win = DiscordLib:Window("LuFSe7 Hub | Head Size Control")
- -- Main Tab
- local mainTab = win:Server("Main", "")
- -- Autoparry Channel
- local autoparryChannel = mainTab:Channel("Autoparry")
- -- Autoparry Toggle
- local autoparryToggle = autoparryChannel:Toggle("Enable Autoparry", false, function(state)
- _G.AutoparryToggled = state
- if _G.AutoparryToggled then
- local lp = game.Players.LocalPlayer
- local animationInfo = {}
- function getInfo(id)
- local success, info = pcall(function()
- return game:GetService("MarketplaceService"):GetProductInfo(id)
- end)
- if success then
- return info
- end
- return {Name=''}
- end
- function block(player)
- keypress(0x46)
- wait()
- keyrelease(0x46)
- end
- local AnimNames = {
- "Block",
- "Parry"
- }
- local function playerAdded(v)
- if v.Character then
- local function charadded(char)
- local humanoid = char:WaitForChild("Humanoid", 5)
- if humanoid then
- humanoid.AnimationPlayed:Connect(function(track)
- local info = animationInfo[track.Animation.AnimationId]
- if not info then
- info = getInfo(tonumber(track.Animation.AnimationId:match("%d+")))
- animationInfo[track.Animation.AnimationId] = info
- end
- if (lp.Character and lp.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Head")) then
- local mag = (v.Character.Head.Position - lp.Character.Head.Position).Magnitude
- if mag < 15 then
- for _, animName in pairs(AnimNames) do
- if info.Name:match(animName) then
- pcall(block, v)
- end
- end
- end
- end
- end)
- end
- end
- if v.Character then
- charadded(v.Character)
- end
- v.CharacterAdded:Connect(charadded)
- end
- end
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= lp then
- playerAdded(v)
- end
- end
- game.Players.PlayerAdded:Connect(playerAdded)
- end
- end)
- -- HeadSize Channel
- local headSizeChannel = mainTab:Channel("HeadSize")
- -- Enable Head Size Hack Toggle
- local headSizeToggle = headSizeChannel:Toggle("Enable Head Size Hack", false, function(state)
- _G.Disabled = not state
- if _G.Disabled then
- for _, v in next, game:GetService('Players'):GetPlayers() do
- if v.Name ~= game:GetService('Players').LocalPlayer.Name then
- pcall(function()
- v.Character.Head.Size = Vector3.new(2, 1, 1)
- v.Character.Head.Transparency = 0
- v.Character.Head.BrickColor = BrickColor.new("Medium stone grey")
- v.Character.Head.Material = "Plastic"
- v.Character.Head.CanCollide = true
- v.Character.Head.Massless = false
- end)
- end
- end
- end
- end)
- -- Head Size Slider
- local headSizeSlider = headSizeChannel:Slider("Head Size", 10, 100, 25, function(value)
- _G.HeadSize = value
- end)
- -- Transparency Slider
- local transparencySlider = headSizeChannel:Slider("Head Transparency", 0, 10, 1, function(value)
- _G.HeadTransparency = value
- end)
- -- Movement Channel
- local movementChannel = mainTab:Channel("Movement")
- -- WalkSpeed Slider
- local walkspeedSlider = movementChannel:Slider("WalkSpeed", 16, 100, 16, function(value)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
- end)
- -- JumpPower Slider
- local jumppowerSlider = movementChannel:Slider("JumpPower", 50, 200, 50, function(value)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
- end)
- -- Fly Toggle
- local flyToggle = movementChannel:Toggle("Enable Fly", false, function(state)
- _G.FlyToggled = state
- end)
- -- FOV Slider
- local fovSlider = movementChannel:Slider("Field of View", 60, 120, 70, function(value)
- game.Workspace.CurrentCamera.FieldOfView = value
- end)
- -- ESP Tab
- local espTab = win:Server("ESP", "")
- local espSection = espTab:Channel("ESP Settings")
- -- ESP Toggle
- local espToggle = espSection:Toggle("Enable ESP", false, function(state)
- _G.ESPToggled = state
- local function updateESP()
- if not _G.ESPToggled then return end
- for _, player in next, game:GetService('Players'):GetPlayers() do
- if player.Name ~= game:GetService('Players').LocalPlayer.Name then
- if not player.Character or not player.Character:FindFirstChild("HumanoidRootPart") then continue end
- local character = player.Character
- pcall(function()
- local highlight = character:FindFirstChild("Highlight")
- if not highlight then
- highlight = Instance.new("Highlight", character)
- highlight.Name = "Highlight"
- highlight.FillTransparency = 1
- highlight.OutlineTransparency = 0
- end
- end)
- end
- end
- end
- local function clearESP()
- for _, player in next, game:GetService('Players'):GetPlayers() do
- if player.Character and player.Character:FindFirstChild("Highlight") then
- player.Character.Highlight:Destroy()
- end
- end
- end
- if _G.ESPToggled then
- updateESP()
- -- Update ESP every 1 second to reduce FPS impact
- local espUpdateConnection
- espUpdateConnection = game:GetService('RunService').RenderStepped:Connect(function()
- if not _G.ESPToggled then
- espUpdateConnection:Disconnect()
- clearESP()
- return
- end
- -- Avoid frequent updates
- wait(1)
- updateESP()
- end)
- else
- clearESP()
- end
- end)
- -- Rainbow ESP Toggle
- local rainbowEspToggle = espSection:Toggle("Enable Rainbow ESP", false, function(state)
- _G.RainbowESPToggled = state
- if _G.RainbowESPToggled then
- local hue = 0
- local rainbowSpeed = _G.RainbowSpeed or 1
- -- Update ESP colors
- local function updateRainbowESP()
- if not _G.RainbowESPToggled then return end
- for _, player in next, game:GetService('Players'):GetPlayers() do
- if player.Name ~= game:GetService('Players').LocalPlayer.Name then
- local highlight = player.Character and player.Character:FindFirstChild("Highlight")
- if highlight then
- local color = Color3.fromHSV(hue, 1, 1)
- highlight.OutlineColor = color
- highlight.FillColor = color
- end
- end
- end
- hue = (hue + (rainbowSpeed / 100)) % 1
- end
- -- Update rainbow color every 1 second to reduce FPS impact
- local rainbowUpdateConnection
- rainbowUpdateConnection = game:GetService('RunService').RenderStepped:Connect(function()
- if not _G.RainbowESPToggled then
- rainbowUpdateConnection:Disconnect()
- return
- end
- -- Avoid frequent updates
- wait(1)
- updateRainbowESP()
- end)
- end
- end)
- -- Rainbow Speed Slider
- local rainbowSpeedSlider = espSection:Slider("Rainbow Speed", 0, 10, 1, function(value)
- _G.RainbowSpeed = value
- end)
- -- Inf Stamina Tab
- local infStaminaTab = win:Server("Inf Stamina", "")
- local infStaminaSection = infStaminaTab:Channel("Inf Stamina Settings")
- -- Inf Stamina Toggle
- local infStaminaToggle = infStaminaSection:Toggle("Enable Inf Stamina", false, function(state)
- _G.InfStaminaToggled = state
- if _G.InfStaminaToggled then
- local userInputService = game:GetService("UserInputService")
- local player = game.Players.LocalPlayer
- userInputService.InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed and input.KeyCode == Enum.KeyCode.LeftShift then
- while userInputService:IsKeyDown(Enum.KeyCode.LeftShift) do
- wait()
- -- Here, you would add code to prevent stamina from decreasing
- -- For example:
- -- game.Players.LocalPlayer.PlayerGui:FindFirstChild("Stamina").Value = 100
- end
- end
- end)
- end
- end)
- _G.HeadSize = 25
- _G.HeadTransparency = 1
- _G.Disabled = true
- _G.FlyToggled = false
- _G.ESPToggled = false
- _G.RainbowESPToggled = false
- _G.RainbowSpeed = 1
- _G.InfStaminaToggled = false
Add Comment
Please, Sign In to add comment