Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not game:IsLoaded() then
- game.Loaded:Wait()
- end
- if Library and Library.Unload then
- Library:Unload()
- end
- local repo = 'https://raw.githubusercontent.com/violin-suzutsuki/LinoriaLib/main/'
- local Library = loadstring(game:HttpGet(repo .. 'Library.lua'))()
- local ThemeManager = loadstring(game:HttpGet(repo .. 'addons/ThemeManager.lua'))()
- local SaveManager = loadstring(game:HttpGet(repo .. 'addons/SaveManager.lua'))()
- local hwid = game:GetService("RbxAnalyticsService"):GetClientId()
- local Window = Library:CreateWindow({
- Title = 'Zyg Hub [V3] {' .. hwid .. '}',
- Center = true,
- AutoShow = true,
- TabPadding = 8,
- MenuFadeTime = 0.2
- })
- local Tabs = {
- Main = Window:AddTab('Main'),
- ['ESP'] = Window:AddTab('ESP'),
- ['UI Settings'] = Window:AddTab('UI Settings'),
- }
- local LeftGroupBox = Tabs["Main"]:AddLeftGroupbox('Main Scripts')
- LeftGroupBox:AddSlider('Walkspeed', {
- Text = 'Speed Hack',
- Default = 16,
- Min = 0,
- Max = 350,
- Rounding = 0,
- Compact = false,
- Callback = function(Value)_G.HackedWalkSpeed = (value)
- end
- })
- LeftGroupBox:AddSlider('JumpPower', {
- Text = 'Jump Power',
- Default = 50,
- Min = 0,
- Max = 350,
- Rounding = 0,
- Compact = false,
- Callback = function(Value)_G.HackedJumpPower = (value)
- end
- })
- LeftGroupBox:AddDivider()
- LeftGroupBox:AddToggle('Inf Jump', {
- Text = 'Infinite Jump',
- Default = false,
- Tooltip = 'Allows you to jump infinetly', -- Information shown when you hover over the toggle
- Callback = function(Value)local Player = game:GetService'Players'.LocalPlayer;
- local UIS = game:GetService'UserInputService';
- _G.JumpHeight = 100;
- function Action(Object, Function) if Object ~= nil then Function(Object); end end
- UIS.InputBegan:connect(function(UserInput)
- if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
- Action(Player.Character.Humanoid, function(self)
- if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
- Action(self.Parent.HumanoidRootPart, function(self)
- self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
- end)
- end
- end)
- end
- end)
- end
- })
- local MyButton = LeftGroupBox:AddButton({
- Text = 'Spoofed Speed',
- Func = function()_G.HackedWalkSpeed = 150
- local Plrs = game:GetService("Players")
- local MyPlr = Plrs.LocalPlayer
- local MyChar = MyPlr.Character
- if MyChar then
- local Hum = MyChar.Humanoid
- Hum.Changed:connect(function()
- Hum.WalkSpeed = _G.HackedWalkSpeed
- end)
- Hum.WalkSpeed = _G.HackedWalkSpeed
- end
- MyPlr.CharacterAdded:connect(function(Char)
- MyChar = Char
- repeat wait() until Char:FindFirstChild("Humanoid")
- local Hum = Char.Humanoid
- Hum.Changed:connect(function()
- Hum.WalkSpeed = _G.HackedWalkSpeed
- end)
- Hum.WalkSpeed = _G.HackedWalkSpeed
- end)
- end,
- DoubleClick = false,
- })
- local MyButton = LeftGroupBox:AddButton({
- Text = 'No Clip',
- Func = function()local noclip = true
- char = game.Players.LocalPlayer.Character
- while true do
- if noclip == true then
- for _,v in pairs(char:children()) do
- pcall(function()
- if v.className == "Part" then
- v.CanCollide = false
- end
- end)
- end
- end
- game:service("RunService").Stepped:wait()
- end
- end,
- DoubleClick = false,
- Tooltip = 'Allows you to use noclip'
- })
- LeftGroupBox:AddDivider()
- local MyButton = LeftGroupBox:AddButton({
- Text = 'Streamer Mode',
- Func = function()
- end,
- DoubleClick = false,
- Tooltip = 'Removes Server Info'
- })
- local LeftGroupBox = Tabs["Main"]:AddLeftGroupbox('Visuals')
- LeftGroupBox:AddToggle('FullBright', {
- Text = 'Fullbright',
- Default = false,
- Callback = function(Value)if not _G.FullBrightExecuted then
- _G.FullBrightEnabled = false
- _G.NormalLightingSettings = {
- Brightness = game:GetService("Lighting").Brightness,
- ClockTime = game:GetService("Lighting").ClockTime,
- FogEnd = game:GetService("Lighting").FogEnd,
- GlobalShadows = game:GetService("Lighting").GlobalShadows,
- Ambient = game:GetService("Lighting").Ambient
- }
- game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function()
- if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
- _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness
- if not _G.FullBrightEnabled then
- repeat
- wait()
- until _G.FullBrightEnabled
- end
- game:GetService("Lighting").Brightness = 1
- end
- end)
- game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function()
- if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
- _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime
- if not _G.FullBrightEnabled then
- repeat
- wait()
- until _G.FullBrightEnabled
- end
- game:GetService("Lighting").ClockTime = 12
- end
- end)
- game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
- if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
- _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd
- if not _G.FullBrightEnabled then
- repeat
- wait()
- until _G.FullBrightEnabled
- end
- game:GetService("Lighting").FogEnd = 786543
- end
- end)
- game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function()
- if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then
- _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows
- if not _G.FullBrightEnabled then
- repeat
- wait()
- until _G.FullBrightEnabled
- end
- game:GetService("Lighting").GlobalShadows = false
- end
- end)
- game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
- if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
- _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient
- if not _G.FullBrightEnabled then
- repeat
- wait()
- until _G.FullBrightEnabled
- end
- game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
- end
- end)
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ClockTime = 12
- game:GetService("Lighting").FogEnd = 786543
- game:GetService("Lighting").GlobalShadows = false
- game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
- local LatestValue = true
- spawn(function()
- repeat
- wait()
- until _G.FullBrightEnabled
- while wait() do
- if _G.FullBrightEnabled ~= LatestValue then
- if not _G.FullBrightEnabled then
- game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness
- game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime
- game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd
- game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows
- game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient
- else
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ClockTime = 12
- game:GetService("Lighting").FogEnd = 786543
- game:GetService("Lighting").GlobalShadows = false
- game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
- end
- LatestValue = not LatestValue
- end
- end
- end)
- end
- _G.FullBrightExecuted = true
- _G.FullBrightEnabled = not _G.FullBrightEnabled
- end
- })
- LeftGroupBox:AddToggle('No Fog', {
- Text = 'No Fog',
- Default = false, -- Default value (true / false)
- Callback = function(Value)local Lighting = game:GetService("Lighting")
- -- Toggle variable to turn the effect on or off
- local toggle = false
- -- Function to update the settings based on the toggle state
- local function updateSettings()
- if toggle then
- Lighting.FogEnd = 100000
- Lighting:GetPropertyChangedSignal("FogEnd"):Connect(function()
- if toggle then
- Lighting.FogEnd = 100000
- end
- end)
- for _, v in ipairs(Lighting:GetDescendants()) do
- if v:IsA("Atmosphere") then
- v.Density = 0
- v:GetPropertyChangedSignal("Density"):Connect(function()
- if toggle then
- v.Density = 0
- end
- end)
- end
- end
- else
- -- Reset values when toggle is off
- Lighting.FogEnd = 0 -- or any default value
- for _, v in ipairs(Lighting:GetDescendants()) do
- if v:IsA("Atmosphere") then
- v.Density = 1 -- or any default value
- end
- end
- end
- end
- -- Call the function initially to apply the settings
- updateSettings()
- -- Function to toggle the setting manually
- local function toggleEffect()
- toggle = not toggle
- updateSettings() -- Update the settings based on the new toggle state
- end
- -- Example of how to toggle it manually
- -- You can call this function wherever needed in the game to toggle the effect on or off
- toggleEffect() -- Calling this will toggle the effect
- end
- })
- local RightGroupBox = Tabs["Main"]:AddRightGroupbox('Integrities')
- RightGroupBox:AddToggle('MyToggle', {
- Text = 'Anti AFK',
- Default = false,
- Callback = function(Value)local vu = game:GetService("VirtualUser")
- local player = game:GetService("Players").LocalPlayer
- local isActive = false -- This variable will control if the script is active or not
- -- Function to start or stop the script
- local function toggleScript()
- isActive = not isActive -- Toggle the active state
- if isActive then
- -- Connect the Idled event to simulate button press
- player.Idled:Connect(function()
- vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
- wait(1)
- vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
- end)
- else
- -- Disconnect the function when deactivated
- player.Idled:Disconnect() -- Stop the function when toggled off
- end
- end
- -- Example: You can toggle the script on or off with this function call
- toggleScript() -- Call this to start or stop the script
- end
- })
- Toggles.MyToggle:OnChanged(function()
- end)
- Toggles.MyToggle:SetValue(false)
- RightGroupBox:AddToggle('MyToggle', {
- Text = 'Proximity Prompt',
- Default = false,
- Tooltip = 'If a player is close to you a gui shows',
- Callback = function(Value)local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
- local gui = Instance.new("ScreenGui")
- gui.Name = "ProximityAlert"
- gui.Parent = player.PlayerGui
- local usernameLabel = Instance.new("TextLabel")
- usernameLabel.Size = UDim2.new(0, 300, 0, 30)
- usernameLabel.Position = UDim2.new(0.5, -150, 0, 50) -- Near the top center
- usernameLabel.BackgroundTransparency = 1 -- No background
- usernameLabel.TextColor3 = Color3.new(1, 1, 1) -- White text
- usernameLabel.Font = Enum.Font.SourceSans
- usernameLabel.TextScaled = true
- usernameLabel.Visible = false
- usernameLabel.Parent = gui
- local distanceLabel = Instance.new("TextLabel")
- distanceLabel.Size = UDim2.new(0, 300, 0, 30)
- distanceLabel.Position = UDim2.new(0.5, -150, 0, 80) -- Below username label
- distanceLabel.BackgroundTransparency = 1 -- No background
- distanceLabel.TextColor3 = Color3.new(1, 1, 1) -- White text
- distanceLabel.Font = Enum.Font.SourceSans
- distanceLabel.TextScaled = true
- distanceLabel.Visible = false
- distanceLabel.Parent = gui
- local isEnabled = true -- Toggles script functionality
- local function updateProximity()
- if not isEnabled then
- usernameLabel.Visible = false
- distanceLabel.Visible = false
- return
- end
- local closestPlayer = nil
- local closestDistance = math.huge
- for _, otherPlayer in ipairs(Players:GetPlayers()) do
- if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
- local otherRootPart = otherPlayer.Character.HumanoidRootPart
- local distance = (humanoidRootPart.Position - otherRootPart.Position).Magnitude
- if distance <= 500 and distance < closestDistance then
- closestPlayer = otherPlayer
- closestDistance = distance
- end
- end
- end
- if closestPlayer then
- usernameLabel.Text = "Player: " .. closestPlayer.Name
- distanceLabel.Text = "Distance: " .. math.floor(closestDistance) .. " studs"
- usernameLabel.Visible = true
- distanceLabel.Visible = true
- else
- usernameLabel.Visible = false
- distanceLabel.Visible = false
- end
- end
- local function toggleProximityAlert(state)
- isEnabled = state
- if not isEnabled then
- usernameLabel.Visible = false
- distanceLabel.Visible = false
- end
- end
- game:GetService("RunService").RenderStepped:Connect(updateProximity)
- -- Example usage of toggleProximityAlert
- -- Call toggleProximityAlert(true) to enable or toggleProximityAlert(false) to disable the functionality.
- end
- })
- local LeftGroupBox = Tabs["ESP"]:AddLeftGroupbox('Humanoid')
- LeftGroupBox:AddToggle('Players', {
- Text = 'Players',
- Default = false,
- Callback = function(Value)-- Check if the ESP toggle state exists, and initialize it if not
- if _G.espEnabled == nil then
- _G.espEnabled = false
- end
- -- Function to toggle ESP
- local function toggleESP()
- _G.espEnabled = not _G.espEnabled
- if not _G.espEnabled then
- -- Remove ESP from all players when disabled
- for _, player in ipairs(game.Players:GetPlayers()) do
- if player.Character and player.Character:FindFirstChild("Head") then
- local billboardGui = player.Character.Head:FindFirstChild("TadachiisESPTags")
- if billboardGui then
- billboardGui:Destroy()
- end
- end
- end
- end
- print("ESP is now " .. (_G.espEnabled and "enabled" or "disabled"))
- end
- -- Function to update ESP
- local function updatePlayerESP()
- if not _G.espEnabled then return end -- Exit if ESP is disabled
- local localCharacter = game.Players.LocalPlayer.Character
- if not localCharacter then
- return
- end
- for _, player in ipairs(game.Players:GetPlayers()) do
- if player ~= game.Players.LocalPlayer and player.Character and player.Character:FindFirstChild("Head") then
- local distance = (localCharacter.Head.Position - player.Character.Head.Position).Magnitude
- local billboardGui = player.Character.Head:FindFirstChild("TadachiisESPTags")
- if not billboardGui then
- billboardGui = Instance.new("BillboardGui")
- billboardGui.Name = "TadachiisESPTags"
- billboardGui.Adornee = player.Character.Head
- billboardGui.Size = UDim2.new(0, 100, 0, 50)
- billboardGui.StudsOffset = Vector3.new(0, 2, 0)
- billboardGui.AlwaysOnTop = true
- billboardGui.LightInfluence = 1
- billboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- billboardGui.Parent = player.Character.Head
- local textLabel = Instance.new("TextLabel")
- textLabel.Name = "NameLabel"
- textLabel.Text = player.Name .. "\nDistance: " .. math.floor(distance)
- textLabel.Size = UDim2.new(1, 0, 1, 0)
- textLabel.BackgroundTransparency = 1
- textLabel.TextColor3 = Color3.new(1, 0, 0)
- textLabel.TextScaled = true
- textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
- textLabel.TextStrokeTransparency = 0
- textLabel.Visible = true
- textLabel.Parent = billboardGui
- else
- billboardGui.NameLabel.Text = player.Name .. "\nDistance: " .. math.floor(distance)
- end
- end
- end
- end
- -- Connect the updatePlayerESP function to the Heartbeat event
- if not _G.espConnection then
- _G.espConnection = game:GetService("RunService").Heartbeat:Connect(function()
- updatePlayerESP()
- end)
- end
- -- Toggle ESP when script is executed
- toggleESP()
- end
- })
- LeftGroupBox:AddToggle('Players', {
- Text = 'LootBags',
- Default = false,
- Callback = function(Value)local camera = workspace.CurrentCamera
- local runservice = game:GetService("RunService")
- local toggle = true -- Toggle to enable/disable ESP
- function esp(Lootbag)
- local Lootbagesp = Drawing.new("Text")
- Lootbagesp.Visible = false
- Lootbagesp.Center = true
- Lootbagesp.Outline = true
- Lootbagesp.Font = 2
- Lootbagesp.Color = Color3.new(1, 1, 1)
- Lootbagesp.Size = 17
- local renderstepped
- renderstepped = runservice.RenderStepped:Connect(function()
- if toggle and Lootbag and workspace:FindFirstChild(Lootbag.Name) and Lootbag:FindFirstChild("Lootbag") then
- local Lootbag_pos, Lootbag_onscreen = camera:WorldToViewportPoint(Lootbag.Lootbag.Position)
- if Lootbag_onscreen then
- Lootbagesp.Position = Vector2.new(Lootbag_pos.X, Lootbag_pos.Y)
- Lootbagesp.Text = "Lootbag"
- Lootbagesp.Visible = true
- else
- Lootbagesp.Visible = false
- end
- else
- Lootbagesp.Visible = false
- Lootbagesp:Remove()
- renderstepped:Disconnect()
- end
- end)
- end
- function updateESP()
- for i, Lootbag in next, workspace:GetChildren() do
- if Lootbag.Name == "Lootbags" and Lootbag:FindFirstChild("Lootbag") then
- esp(Lootbag)
- end
- end
- end
- workspace.ChildAdded:Connect(function(Lootbag)
- if toggle and Lootbag.Name == "Lootbags" and Lootbag:FindFirstChild("Lootbag") then
- esp(Lootbag)
- end
- end)
- -- Function to toggle ESP on or off
- function toggleESP(state)
- toggle = state
- if toggle then
- updateESP()
- end
- end
- -- Example usage:
- toggleESP(true) -- Call this with true to enable or false to disable ESP
- end
- })
Add Comment
Please, Sign In to add comment