--Locals local workspace = cloneref(game:GetService("Workspace")) local Camera = workspace.CurrentCamera local Aiming = false local Flying, Atv, AtvSpeed = false, nil, 1 local CurrentVelocity = Vector3.new(0,0,0) local BaseVelocity = Vector3.new(0,0,0) local UserInputService = game:GetService("UserInputService") local IsGrounded = false local NoSprintBlock = false local NoSway = false --Libarys local Library = loadstring(game:HttpGet("https://gist.githubusercontent.com/VertigoCool99/282c9e98325f6b79299c800df74b2849/raw/d9efe72dc43a11b5237a43e2de71b7038e8bb37b/library.lua"))() local AimbotLibrary,AimbotLibraryFunctions = loadstring(game:HttpGet("https://gist.githubusercontent.com/VertigoCool99/fa9c704473a4ba2014733a9f200febed/raw/ab136cc75ff6e3d0ee5bd4e979b40bfc1b287983/AimLibrary.lua"))() local EspLibrary,EspLibraryFunctions = loadstring(game:HttpGet("https://gist.githubusercontent.com/VertigoCool99/2bcff189f55663147f8d63cb5b2012d9/raw/4728fb76162658e728858335cae10fde44152f0e/EspLibrary.lua"))() print("Librarys Loaded!") --Tables local Settings = { Aimbot = { Enabled=false,IgnoreSleepers = false,IgnoreNpc=false,IgnoreTeam = false,HitPart="Head" }; Esp = { IgnoreSleepers = false,IgnoreTeam = false,ItemAllowList={"ATV"},IgnoreNpc=false }; Misc = { LongNeck = false,LongNeckLength=1.65,SlideSpeedBoost=false }; }; local Modules = { Character = nil, FPS=nil, EntityClient=nil, NetClient=nil, InventoryClient=nil, Camera=nil, } local Functions = {}; local Players = {}; local Meshes = {["rbxassetid://15476513473"] = "AR15";["rbxassetid://11351054381"] = "BlunderBuss";["rbxassetid://12859978080"] = "Crossbow";["rbxassetid://13571386036"] = "FlameThrower";["rbxassetid://13432243546"] = "GuassRifle";["rbxassetid://13939675609"] = "HMAR";["rbxassetid://13782545724"] = "LeverActionRifle";["rbxassetid://12877858853"] = "M4A1";["rbxassetid://10505579739"] = "PipePistol";["rbxassetid://12866195419"] = "PipeSMG";["rbxassetid://13435841002"] = "PumpShotgun";["rbxassetid://11289474233"] = "RPG";["rbxassetid://13602542635"] = "SCAR";["rbxassetid://18399970075"] = "SVD";["rbxassetid://12531073219"] = "USP9";["rbxassetid://15318959527"] = "UZI";}; local GunInfo = {["AR15"] = {ProjectileSpeed=1300,ProjectileDrop=3};["Crossbow"] = {ProjectileSpeed=450,ProjectileDrop=3};["EnergyRifle"] = {ProjectileSpeed=2000,ProjectileDrop=1.1};["FlameThrower"] = {ProjectileSpeed=75,ProjectileDrop=0.01};["GaussRifle"] = {ProjectileSpeed=3000,ProjectileDrop=2};["HMAR"] = {ProjectileSpeed=1000,ProjectileDrop=3.5};["LeverActionRifle"] = {ProjectileSpeed=1200,ProjectileDrop=1.5};["M4A1"] = {ProjectileSpeed=1300,ProjectileDrop=4};["PipePistol"] = {ProjectileSpeed=500,ProjectileDrop=3};["PipeSMG"] = {ProjectileSpeed=600,ProjectileDrop=3};["PumpShotgun"] = {ProjectileSpeed=600,ProjectileDrop=2};["RPG"] = {ProjectileSpeed=700,ProjectileDrop=3};["SCAR"] = {ProjectileSpeed=1300,ProjectileDrop=4};["SVD"] = {ProjectileSpeed=1400,ProjectileDrop=2};["USP9"] = {ProjectileSpeed=600,ProjectileDrop=3};["UZI"] = {ProjectileSpeed=600,ProjectileDrop=3};["Bow"] = {ProjectileSpeed=300,ProjectileDrop=3};} local playerData = {} local PlayerList,ItemList,IgnoreAimPlayers = {},{},{} --Functions function Functions:GetPlayers() local Players = {} table.clear(AimbotLibrary.Players) for _, v in next, workspace:GetChildren() do if (v:IsA("Model") and v.Name == 'Model' and v:FindFirstChild('HumanoidRootPart') and tostring(v.Parent) ~= 'FPSArms') then Players[v] = {Sleeping = false} table.insert(AimbotLibrary.Players, v) local animationTracks = v.AnimationController.Animator:GetPlayingAnimationTracks() if #animationTracks > 0 then if animationTracks[1].Animation.AnimationId == "rbxassetid://13280887764" then Players[v].Sleeping = true end end end end PlayerList = Players return Players end function Functions:GetItems() for _, Child in pairs(game:GetService("Workspace"):GetChildren()) do if (Child:IsA("Model") and Child:FindFirstChild("HandleBars")) then ItemList[Child] = {Name="ATV",Type="ATV"} if not Settings.Esp.ItemAllowList["ATV"] then table.insert(EspLibrary.ObjectIgnoreList,Child) elseif Settings.Esp.ItemAllowList["ATV"] and table.find(EspLibrary.ObjectIgnoreList,Child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,Child)) end end if (Child:FindFirstChildOfClass("UnionOperation") and Child:FindFirstChildOfClass("UnionOperation").Material == Enum.Material.Fabric and Child:FindFirstChildOfClass("UnionOperation").CollisionGroup == "GroundItems") then ItemList[Child] = {Name="Backpack",Type="Backpack"} if not Settings.Esp.ItemAllowList["Backpack"] then table.insert(EspLibrary.ObjectIgnoreList,Child) elseif Settings.Esp.ItemAllowList["Backpack"] and table.find(EspLibrary.ObjectIgnoreList,Child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,Child)) end end if Child:FindFirstChild("Parachute") and Child.Parachute.MeshId == "rbxassetid://13482428394" then ItemList[Child] = {Name="Airdrop",Type="Airdrop"} if not Settings.Esp.ItemAllowList["Airdrop"] then table.insert(EspLibrary.ObjectIgnoreList,Child) elseif Settings.Esp.ItemAllowList["Airdrop"] and table.find(EspLibrary.ObjectIgnoreList,Child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,Child)) end end end for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do if v ~= nil and v:IsA("SurfaceGui") and v.Adornee ~= nil and v.Adornee.Name == "Display" then ItemList[v.Adornee] = {Name = v.Image.ID.Value.." ["..string.sub(v.TextLabel.Text,2,20).."]",Type="DroppedItem"} if not Settings.Esp.ItemAllowList["DroppedItem"] then table.insert(EspLibrary.ObjectIgnoreList,v.Adornee) elseif Settings.Esp.ItemAllowList["DroppedItem"] and table.find(EspLibrary.ObjectIgnoreList,v.Adornee) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,v.Adornee)) end end end end function Functions:GetEquippedGun() if workspace.Ignore:FindFirstChild("FPSArms") and workspace.Ignore.FPSArms:FindFirstChild("HandModel") then if workspace.Ignore.FPSArms.HandModel:FindFirstChild("Meshes/Bow") then return "Bow",workspace.Ignore.FPSArms.HandModel elseif workspace.Ignore.FPSArms.HandModel:FindFirstChild("Body") and workspace.Ignore.FPSArms.HandModel.Body.MeshId ~= nil then return Meshes[workspace.Ignore.FPSArms.HandModel.Body.MeshId],workspace.Ignore.FPSArms.HandModel elseif workspace.Ignore.FPSArms.HandModel:FindFirstChild("Glowing") then return "EnergyRifle",workspace.Ignore.FPSArms.HandModel else return nil end end end local playerData = {} function Functions:CalculateVelocity(player) if not playerData[player] then playerData[player] = {PreviousPosition = player.HumanoidRootPart.Position,LastUpdateTime = tick(),Velocity = Vector3.new(0, 0, 0)} end local currentPos = player.HumanoidRootPart.Position local data = playerData[player] local deltaTime = tick() - data.LastUpdateTime local rawVelocity = Vector3.new(0, 0, 0) if deltaTime > 0 then rawVelocity = (currentPos - data.PreviousPosition) / deltaTime end data.Velocity = data.Velocity:Lerp(rawVelocity, 0.2) data.PreviousPosition = currentPos data.LastUpdateTime = tick() return data.Velocity end function Functions:Predict(Player) local Prediction = Vector3.new(0,0,0) local Drop = 0 local EquippedInfo = {ProjectileSpeed = 4000, ProjectileDrop = 0} if GunInfo[Functions:GetEquippedGun()] ~= nil then EquippedInfo, HandModel = GunInfo[Functions:GetEquippedGun()] end local Distance = (Camera.CFrame.p - Player[Settings.Aimbot.HitPart].Position).Magnitude local Velocity = Functions:CalculateVelocity(Player) local TimeToHit = Distance / EquippedInfo.ProjectileSpeed local delta = ((Player[Settings.Aimbot.HitPart].Position + (Velocity * TimeToHit)) - Player[Settings.Aimbot.HitPart].Position).Magnitude local FinalSpeed = EquippedInfo.ProjectileSpeed * EquippedInfo.ProjectileSpeed ^ 2 * TimeToHit ^ 2 TimeToHit = TimeToHit + (delta / FinalSpeed) if Velocity and TimeToHit then Prediction = math.sqrt(TimeToHit) * (Velocity/2.25) local NewDrop = EquippedInfo.ProjectileDrop ^ 2 * TimeToHit ^ 2.2 Drop = Vector3.new(0, NewDrop, 0) end Prediction = Prediction + Drop return Prediction end function GetAtv() for i,v in pairs(game:GetService("Workspace"):GetChildren()) do if v:IsA("Model") and v:FindFirstChild("HandleBars") and (game:GetService("Workspace").CurrentCamera.CFrame.p - v:GetPivot().p).Magnitude < 5 then --Atv return v end end return nil end function GetBarrelPos() if game:GetService("Workspace").Ignore.FPSArms:FindFirstChild("HandModel") and game:GetService("Workspace").Ignore.FPSArms.HandModel:FindFirstChild("Muzzle") then --Guns local Muzzle = game:GetService("Workspace").Ignore.FPSArms.HandModel.Muzzle local MuzzlePos = Muzzle.CFrame.Position + Muzzle.CFrame.UpVector local ScreenPos = Camera:WorldToScreenPoint(MuzzlePos) if not ScreenPos then return Vector2.new(0,0) end return Vector2.new(ScreenPos.X,ScreenPos.Y) elseif game:GetService("Workspace").Ignore.FPSArms:FindFirstChild("HandModel") and game:GetService("Workspace").Ignore.FPSArms.HandModel:FindFirstChild("Arrow") then --Bows etc local Muzzle = game:GetService("Workspace").Ignore.FPSArms.HandModel.Arrow local MuzzlePos = Muzzle.CFrame.Position + -Muzzle.CFrame.LookVector local ScreenPos = Camera:WorldToScreenPoint(MuzzlePos) if not ScreenPos then return Vector2.new(0,0) end return Vector2.new(ScreenPos.X,ScreenPos.Y) else return Camera.ViewportSize / 2 end end function UpdateIgnoreAim() IgnoreAimPlayers = {} if Settings.Aimbot.IgnoreSleepers then for i, v in pairs(PlayerList) do if v.Sleeping == true and not table.find(IgnoreAimPlayers, i) then table.insert(IgnoreAimPlayers, i) end end end if Settings.Aimbot.IgnoreTeam then for i, v in pairs(PlayerList) do if i.Head.Teamtag.Enabled == true and not table.find(IgnoreAimPlayers, i) then table.insert(IgnoreAimPlayers, i) end end end end function UpdateIgnoreEsp() EspLibrary.IgnoreList = {} if Settings.Esp.IgnoreNpc then for i, v in pairs(PlayerList) do if i:GetAttribute("EntityType") == "NPC" then table.insert(EspLibrary.IgnoreList, i) end end end if Settings.Esp.IgnoreTeam then for i, v in pairs(PlayerList) do if i.Head.Teamtag.Enabled == true then table.insert(EspLibrary.IgnoreList, i) end end end if Settings.Esp.IgnoreSleepers then for i, v in pairs(PlayerList) do if v.Sleeping == true then table.insert(EspLibrary.IgnoreList, i) end end end end --Ui local Window = Library:CreateWindow({Title=" Trident Survival [Dev]",TweenTime=.15,Center=true}) local CombatTab = Window:AddTab("Combat") local VisualTab = Window:AddTab("Visuals") local MiscTab = Window:AddTab("Misc") --Start Combat local AimbotGroupbox = CombatTab:AddLeftGroupbox("Aimbot") local FovGroupbox = CombatTab:AddRightGroupbox("Fov") local SnaplineGroupbox = CombatTab:AddLeftGroupbox("Snapline") local AimbotEnabledToggle = AimbotGroupbox:AddToggle("AimbotEnabledToggle",{Text = "Enabled",Default = false,Risky = false}) local AimbotEnabledKey = AimbotEnabledToggle:AddKeyPicker("AimbotEnabledKey",{Default = "MB2",Mode = "Hold",SyncToggleState = false}) AimbotEnabledToggle:OnChanged(function(value) Settings.Aimbot.Enabled = value end) Library.Options["AimbotEnabledKey"]:OnClick(function(value) AimbotLibrary.Vars.Aiming = value end) local IgnoreSleepersAimToggle = AimbotGroupbox:AddToggle("IgnoreSleepersAimToggle",{Text = "Ignore Sleepers",Default = false,Risky = false}) IgnoreSleepersAimToggle:OnChanged(function(value) Settings.Aimbot.IgnoreSleepers = value UpdateIgnoreAim() end) local IgnoreTeamAimToggle = AimbotGroupbox:AddToggle("IgnoreTeamAimToggle",{Text = "Ignore Team",Default = false,Risky = false}) IgnoreTeamAimToggle:OnChanged(function(value) Settings.Aimbot.IgnoreTeam = value UpdateIgnoreAim() end) local AimbotSensSlider = AimbotGroupbox:AddSlider("AimbotSensSlider",{Text = "Sensitivity",Default = 20,Min = 1,Max = 100,Rounding = 0}) AimbotSensSlider:OnChanged(function(Value) AimbotLibrary.GeneralSettings.Sensitivity = Value end) local FovEnabledToggle = FovGroupbox:AddToggle("FovEnabledToggle",{Text = "Enabled",Default = false,Risky = false}) FovEnabledToggle:OnChanged(function(value) AimbotLibrary.Fov.Enabled = value end) local FovColorPickerO = FovEnabledToggle:AddColorPicker("FovColorPicker",{Default = Color3.fromRGB(0,0,0);Rainbow = false}) FovColorPickerO:OnChanged(function(Color) AimbotLibrary.Fov.OutlineColor = Color end) local FovColorPicker = FovEnabledToggle:AddColorPicker("FovColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) FovColorPicker:OnChanged(function(Color) AimbotLibrary.Fov.Color = Color end) local FovSizeSlider = FovGroupbox:AddSlider("FovSizeSlider",{Text = "Fov Size",Default = 80,Min = 1,Max = 400,Rounding = 0}) FovSizeSlider:OnChanged(function(Value) AimbotLibrary.Fov.FovSize=tonumber(Value) end) local FovOutlineToggle = FovGroupbox:AddToggle("FovOutlineToggle",{Text = "Outline",Default = true,Risky = false}) FovOutlineToggle:OnChanged(function(value) AimbotLibrary.Fov.FovOutline = value end) local FovFilledToggle = FovGroupbox:AddToggle("FovFilledToggle",{Text = "Filled",Default = false,Risky = false}) FovFilledToggle:OnChanged(function(value) AimbotLibrary.Fov.FovFilled = value end) local FovFilledColorPicker = FovFilledToggle:AddColorPicker("FovFilledColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) FovFilledColorPicker:OnChanged(function(Color) AimbotLibrary.Fov.FilledColor = Color end) local FovPositionDropdown = FovGroupbox:AddDropdown("FovPositionDropdown",{Text = "Position",Values = {"Screen","Mouse","Gun Barrel"},Multi = false,Default="Screen"}) FovPositionDropdown:OnChanged(function(Value) AimbotLibrary.Fov.FovPositionType=Value end) local SnaplineEnabledToggle = SnaplineGroupbox:AddToggle("SnaplineEnabledToggle",{Text = "Enabled",Default = false,Risky = false}) SnaplineEnabledToggle:OnChanged(function(value) AimbotLibrary.Snapline.Enabled = value end) local SnaplineOEnabledToggle = SnaplineGroupbox:AddToggle("SnaplineOEnabledToggle",{Text = "Outline",Default = true,Risky = false}) SnaplineOEnabledToggle:OnChanged(function(value) AimbotLibrary.Snapline.Outline = value end) local SnaplineColorPickerO = SnaplineEnabledToggle:AddColorPicker("SnaplineColorPickerO",{Default = Color3.fromRGB(0,0,0);Rainbow = false}) SnaplineColorPickerO:OnChanged(function(Color) AimbotLibrary.Snapline.OutlineColor = Color end) local SnaplineColorPicker = SnaplineEnabledToggle:AddColorPicker("SnaplineColorPicker",{Default = Color3.fromRGB(255,0,0);Rainbow = false}) SnaplineColorPicker:OnChanged(function(Color) AimbotLibrary.Snapline.Color = Color end) --End Combat --Start Visuals local PlayersVisualGroupbox = VisualTab:AddLeftGroupbox("Players") local ObjectsVisualGroupbox = VisualTab:AddRightGroupbox("Objects") local SettingsVisualGroupbox = VisualTab:AddRightGroupbox("Settings") local VisualsSettingsDropdown = SettingsVisualGroupbox:AddDropdown("VisualsSettingsDropdown",{Text = "Conversion", AllowNull = false,Values = {"studs","m","km","mm","cm","inch"},Multi = false,Default="studs"}) VisualsSettingsDropdown:OnChanged(function(Value) EspLibrary.Distances.Conversion = Value end) local AiCheckToggle = SettingsVisualGroupbox:AddToggle("AiCheckToggle", {Text = "Ignore NPC", Default = false, Risky = false}) AiCheckToggle:OnChanged(function(value) Settings.Esp.IgnoreNpc = value UpdateIgnoreEsp() end) -- Toggle for ignoring Team members local PartyCheckToggle = SettingsVisualGroupbox:AddToggle("PartyCheckToggle", {Text = "Ignore Team", Default = false, Risky = false}) PartyCheckToggle:OnChanged(function(value) Settings.Esp.IgnoreTeam = value UpdateIgnoreEsp() end) -- Toggle for ignoring Sleepers local SleeperCheckToggle = SettingsVisualGroupbox:AddToggle("SleeperCheckToggle", {Text = "Ignore Sleepers", Default = false, Risky = false}) SleeperCheckToggle:OnChanged(function(value) Settings.Esp.IgnoreSleepers = value UpdateIgnoreEsp() end) local NameObjectsEnabledToggle = ObjectsVisualGroupbox:AddToggle("NameObjectsEnabledToggle",{Text = "Names",Default = false,Risky = false}) NameObjectsEnabledToggle:OnChanged(function(value) EspLibrary.ItemNames.Enabled = value end) local NameObjectsColorPicker = NameObjectsEnabledToggle:AddColorPicker("NameObjectsColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) NameObjectsColorPicker:OnChanged(function(Color) EspLibrary.ItemNames.Color = Color end) local DistanceObjectsEnabledToggle = ObjectsVisualGroupbox:AddToggle("DistanceObjectsEnabledToggle",{Text = "Distance",Default = false,Risky = false}) DistanceObjectsEnabledToggle:OnChanged(function(value) EspLibrary.ItemDistances.Enabled = value end) local DistanceObjectsColorPicker = DistanceObjectsEnabledToggle:AddColorPicker("NameObjectsColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) DistanceObjectsColorPicker:OnChanged(function(Color) EspLibrary.ItemDistances.Color = Color end) local ItemAllowedDropdown = ObjectsVisualGroupbox:AddDropdown("ItemAllowedDropdown",{Text = "Allowed Items:", AllowNull = false,Values = {"ATV","DroppedItem","Backpack","Airdrop"},Multi = true,Default="ATV"}) ItemAllowedDropdown:OnChanged(function(Value) Settings.Esp.ItemAllowList = Value for i, v in pairs(ItemList) do if not Settings.Esp.ItemAllowList[v.Type] then table.insert(EspLibrary.ObjectIgnoreList,i) elseif Settings.Esp.ItemAllowList[v.Type] and table.find(EspLibrary.ObjectIgnoreList,i) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,i)) end end end) local ItemRenderDistance = ObjectsVisualGroupbox:AddSlider("ItemRenderDistance",{Text = "Render Distance",Default = 1000,Min = 1,Max = 1500,Rounding = 0}) ItemRenderDistance:OnChanged(function(Value) EspLibrary.GeneralSettings.ItemRenderDistance = Value end) local BoxesPlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("BoxesPlayersEnabledToggle",{Text = "Bounding Box",Default = false,Risky = false}) BoxesPlayersEnabledToggle:OnChanged(function(value) EspLibrary.Boxes.Enabled = value end) local BoxColorPicker = BoxesPlayersEnabledToggle:AddColorPicker("BoxColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) BoxColorPicker:OnChanged(function(Color) EspLibrary.Boxes.Color = Color end) local BoxesFilledPlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("BoxesFilledPlayersEnabledToggle",{Text = "Box Filled",Default = false,Risky = false}) BoxesFilledPlayersEnabledToggle:OnChanged(function(value) EspLibrary.Boxes.Filled = value end) local BoxFilledColorPicker = BoxesFilledPlayersEnabledToggle:AddColorPicker("BoxFilledColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) BoxFilledColorPicker:OnChanged(function(Color) EspLibrary.Boxes.FilledColor = Color end) local NamesPlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("NamesPlayersEnabledToggle",{Text = "Names",Default = false,Risky = false}) NamesPlayersEnabledToggle:OnChanged(function(value) EspLibrary.Names.Enabled = value end) local NamesPlayersColorPicker = NamesPlayersEnabledToggle:AddColorPicker("NamesPlayersColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) NamesPlayersColorPicker:OnChanged(function(Color) EspLibrary.Names.Color = Color end) local DistancePlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("DistancePlayersEnabledToggle",{Text = "Distance",Default = false,Risky = false}) DistancePlayersEnabledToggle:OnChanged(function(value) EspLibrary.Distances.Enabled = value end) local DistancePlayersColorPicker = DistancePlayersEnabledToggle:AddColorPicker("DistancePlayersColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) DistancePlayersColorPicker:OnChanged(function(Color) EspLibrary.Distances.Color = Color end) local ToolsPlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("ToolsPlayersEnabledToggle",{Text = "Tools",Default = false,Risky = false}) ToolsPlayersEnabledToggle:OnChanged(function(value) EspLibrary.Tools.Enabled = value end) local ToolsPlayersColorPicker = ToolsPlayersEnabledToggle:AddColorPicker("ToolsPlayersColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) ToolsPlayersColorPicker:OnChanged(function(Color) EspLibrary.Tools.Color = Color end) local SleepingPlayersEnabledToggle = PlayersVisualGroupbox:AddToggle("SleepingPlayersEnabledToggle",{Text = "Sleeping",Default = false,Risky = false}) SleepingPlayersEnabledToggle:OnChanged(function(value) EspLibrary["SleepingText"].Enabled = value end) local SleepersPlayersColorPicker = SleepingPlayersEnabledToggle:AddColorPicker("SleepersPlayersColorPicker",{Default = Color3.fromRGB(255,255,255);Rainbow = false}) SleepersPlayersColorPicker:OnChanged(function(Color) EspLibrary["SleepingText"].Color = Color end) local PlayersRenderDistance = PlayersVisualGroupbox:AddSlider("PlayersRenderDistance",{Text = "Render Distance",Default = 1000,Min = 1,Max = 1500,Rounding = 0}) PlayersRenderDistance:OnChanged(function(Value) EspLibrary.GeneralSettings.RenderDistance = Value end) --End Visuals --Start Misc local ExploitsMiscGroupbox = MiscTab:AddLeftGroupbox("Exploits") local WorldMiscGroupbox = MiscTab:AddRightGroupbox("World") local GammaEnabledToggle = WorldMiscGroupbox:AddToggle("GammaEnabledToggle",{Text = "Gamma",Default = false,Risky = false}) GammaEnabledToggle:OnChanged(function(Value) if Value then game:GetService("Lighting").ExposureCompensation = 2 else game:GetService("Lighting").ExposureCompensation = 0 end end) local AtvFlyEnabledToggle = ExploitsMiscGroupbox:AddToggle("AtvFlyEnabledToggle",{Text = "Atv Fly",Default = false,Risky = false}) AtvFlyEnabledToggle:AddTooltip("Instantly Stopping/Flying Into Things Can Kill You!") local AtvFlyEnabledKey = AtvFlyEnabledToggle:AddKeyPicker("AtvFlyEnabledKey",{Default = "V",Mode = "Toggle",SyncToggleState = true}) Library.Options["AtvFlyEnabledKey"]:OnClick(function(value) Atv = GetAtv();Flying = value end) local AtvSpeedSlider = ExploitsMiscGroupbox:AddSlider("AtvSpeedSlider",{Text = "Atv Fly Speed",Default = 1,Min = 0,Max = 5,Rounding = 1}) AtvSpeedSlider:OnChanged(function(Value) AtvSpeed = Value end) local LongNeckEnabledToggle = ExploitsMiscGroupbox:AddToggle("LongNeckEnabledToggle",{Text = "Long Neck",Default = false,Risky = true}) local LongNeckEnabledKey = LongNeckEnabledToggle:AddKeyPicker("LongNeckEnabledKey",{Default = "P",Mode = "Toggle",SyncToggleState = true}) Library.Options["LongNeckEnabledKey"]:OnClick(function(value) Settings.Misc.LongNeck = value if value == true and game:GetService("Workspace").Ignore.LocalCharacter.Bottom:FindFirstChild("PrismaticConstraint") then game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = Settings.Misc.LongNeckLength + 1.35 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = Settings.Misc.LongNeckLength else game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = 3 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = 1.65 end end) local LongNeckSizeSlider = ExploitsMiscGroupbox:AddSlider("LongNeckSizeSlider",{Text = "Length",Default = 1.65,Min = 1.65,Max = 7.5,Rounding = 1}) LongNeckSizeSlider:OnChanged(function(Value) Settings.Misc.LongNeckLength = Value if Settings.Misc.LongNeck == true and game:GetService("Workspace").Ignore.LocalCharacter.Bottom:FindFirstChild("PrismaticConstraint") then game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = Value + 1.35 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = Value else game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = 3 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = 1.65 end end) if getsenv and getupvalue and hookfunction then local JumpShootEnabledToggle = ExploitsMiscGroupbox:AddToggle("JumpShootEnabledToggle",{Text = "Jump Shoot",Default = false,Risky = false}) JumpShootEnabledToggle:OnChanged(function(Value) IsGrounded = Value end) local SprintBlockEnabledToggle = ExploitsMiscGroupbox:AddToggle("SprintBlockEnabledToggle",{Text = "No Sprint Block",Default = false,Risky = false}) SprintBlockEnabledToggle:OnChanged(function(Value) NoSprintBlock = Value end) end local SlideSpeedBoost = ExploitsMiscGroupbox:AddToggle("SlideSpeedBoost",{Text = "Slide Boost",Default = false,Risky = false}) SlideSpeedBoost:OnChanged(function(Value) Settings.Misc.SlideSpeedBoost = Value end) --End Misc Library:SetWatermark("Float.Balls [Trident Survival]") --Connections local MainCon = game:GetService("RunService").Heartbeat:Connect(function() do if AimbotLibrary.Vars.Aiming == true and Settings.Aimbot.Enabled == true then local Player = AimbotLibraryFunctions:GetClosetInFov() if Player ~= nil and not table.find(IgnoreAimPlayers,Player) then local Point = Camera:WorldToViewportPoint(Player[Settings.Aimbot.HitPart]:GetPivot().p+Functions:Predict(Player)) AimbotLibraryFunctions:AimAt(Point) end end if AimbotLibrary.Fov.FovPositionType == "Gun Barrel" then AimbotLibraryFunctions:FovPosition(GetBarrelPos()) end end if Settings.Misc.LongNeck == true then game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = Settings.Misc.LongNeckLength + 1.35 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = Settings.Misc.LongNeckLength else game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.UpperLimit = 3 game:GetService("Workspace").Ignore.LocalCharacter.Bottom.PrismaticConstraint.LowerLimit = 1.65 end if Settings.Misc.SlideSpeedBoost == true and game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.C) and game:GetService("Workspace").Ignore.LocalCharacter:FindFirstChild("Middle") then local newX = game:GetService("Workspace").Ignore.LocalCharacter.Middle.AssemblyLinearVelocity.X * 0.48 local newZ = game:GetService("Workspace").Ignore.LocalCharacter.Middle.AssemblyLinearVelocity.Z * 0.48 game:GetService("Workspace").Ignore.LocalCharacter.Middle.AssemblyLinearVelocity = game:GetService("Workspace").Ignore.LocalCharacter.Middle.AssemblyLinearVelocity + Vector3.new(newX,0,newZ) end end) local AtvCon = game:GetService("RunService").RenderStepped:Connect(function() if Atv ~= nil and Flying == true and (game:GetService("Workspace").CurrentCamera.CFrame.p - Atv:GetPivot().p).Magnitude < 5 then BaseVelocity = Vector3.new(0, 0, 0) if not UserInputService:GetFocusedTextBox() then if UserInputService:IsKeyDown(Enum.KeyCode.W) then BaseVelocity = BaseVelocity + (Camera.CFrame.LookVector * 100) * AtvSpeed end if UserInputService:IsKeyDown(Enum.KeyCode.A) then Atv.Frame.Flip.CFrame = Atv:GetPivot() * CFrame.Angles(0, math.rad(2), 0) end if UserInputService:IsKeyDown(Enum.KeyCode.S) then BaseVelocity = BaseVelocity - (Camera.CFrame.LookVector * 100) * AtvSpeed end if UserInputService:IsKeyDown(Enum.KeyCode.D) then Atv.Frame.Flip.CFrame = Atv:GetPivot() * CFrame.Angles(0, math.rad(-2), 0) end end CurrentVelocity = CurrentVelocity:Lerp(BaseVelocity, 0.1) if Atv:FindFirstChild("Frame") and Atv.Frame:FindFirstChild("Flip") then Atv.Frame.Flip.Enabled = true Atv.Frame.Flip.RigidityEnabled = true Atv.Frame.Flip.Responsiveness = math.huge end if CurrentVelocity.X == 0 and CurrentVelocity.Z == 0 then Atv.Plastics.Velocity = Vector3.zero else Atv.Plastics.Velocity = CurrentVelocity end elseif Atv ~= nil and Atv:FindFirstChild("Plastics") and Flying == false then Atv.Plastics.Velocity = Atv.Plastics.Velocity:Lerp(Vector3.new(0, Atv.Plastics.Velocity.Y, 0), 0.04) end end) local ChildAddedCon = game:GetService("Workspace").ChildAdded:Connect(function(child) if not child then return end if (child:IsA("Model") and child:FindFirstChild('HumanoidRootPart') and tostring(child.Parent) ~= 'FPSArms') then if not EspLibrary.PlayerCache[child] then EspLibraryFunctions:CreateEsp(child) end PlayerList[child] = {Sleeping = false} child:SetAttribute("Sleeping",false) table.insert(AimbotLibrary.Players, child) task.delay(2,function() local animationTracks = child:WaitForChild("AnimationController").Animator:GetPlayingAnimationTracks() if #animationTracks > 0 then if animationTracks[1].Animation.AnimationId == "rbxassetid://13280887764" then PlayerList[child].Sleeping = true child:SetAttribute("Sleeping",true) UpdateIgnoreEsp() UpdateIgnoreAim() end end end) end if (child:IsA("Model") and child:FindFirstChild("HandleBars")) then --Atv ItemList[child] = {Name="ATV",Type="ATV"} if not EspLibrary.ItemCache[child] then print(child) EspLibraryFunctions:CreateItemEsp(child,ItemList[child]) end if not Settings.Esp.ItemAllowList["ATV"] then table.insert(EspLibrary.ObjectIgnoreList,child) elseif Settings.Esp.ItemAllowList["ATV"] and table.find(EspLibrary.ObjectIgnoreList,child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,child)) end end if (child:FindFirstChildOfClass("UnionOperation") and child:FindFirstChildOfClass("UnionOperation").Material == Enum.Material.Fabric and child:FindFirstChildOfClass("UnionOperation").CollisionGroup == "GroundItems") then ItemList[child] = {Name="Backpack",Type="Backpack"} if not EspLibrary.ItemCache[child] then print(child) EspLibraryFunctions:CreateItemEsp(child,ItemList[child]) end if not Settings.Esp.ItemAllowList["Backpack"] then table.insert(EspLibrary.ObjectIgnoreList,child) elseif Settings.Esp.ItemAllowList["Backpack"] and table.find(EspLibrary.ObjectIgnoreList,child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,child)) end end if child:FindFirstChild("Parachute") and child.Parachute.MeshId == "rbxassetid://13482428394" then ItemList[child] = {Name="Airdrop",Type="Airdrop"} if not EspLibrary.ItemCache[child] then print(child) EspLibraryFunctions:CreateItemEsp(child,ItemList[child]) end if not Settings.Esp.ItemAllowList["Airdrop"] then table.insert(EspLibrary.ObjectIgnoreList,child) elseif Settings.Esp.ItemAllowList["Airdrop"] and table.find(EspLibrary.ObjectIgnoreList,child) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,child)) end end end) local ChildRemovedCon = game:GetService("Workspace").ChildRemoved:Connect(function(child) if PlayerList[child] then PlayerList[child] = nil end if AimbotLibrary.Players[child] then AimbotLibrary.Players[child] = nil end if ItemList[child] then ItemList[child] = nil end end) local DroppedItemCon = game.Players.LocalPlayer.PlayerGui.ChildAdded:Connect(function(child) task.delay(.3,function() if child ~= nil and child:IsA("SurfaceGui") and child.Adornee ~= nil and child.Adornee.Name == "Display" and child:FindFirstChild("Image") then ItemList[child.Adornee] = {Name = child.Image.ID.Value.." ["..string.sub(child.TextLabel.Text,2,string.len(child.TextLabel.Text)+1).."]",Type="DroppedItem"} if not EspLibrary.ItemCache[child.Adornee] then EspLibraryFunctions:CreateItemEsp(child.Adornee,ItemList[child.Adornee]) end if not Settings.Esp.ItemAllowList["DroppedItem"] then table.insert(EspLibrary.ObjectIgnoreList,child.Adornee) elseif Settings.Esp.ItemAllowList["DroppedItem"] and table.find(EspLibrary.ObjectIgnoreList,child.Adornee) then table.remove(EspLibrary.ObjectIgnoreList,table.find(EspLibrary.ObjectIgnoreList,child.Adornee)) end end end) end) local DroppedItemRemovedCon = game.Players.LocalPlayer.PlayerGui.ChildRemoved:Connect(function(child) if child ~= nil and child:IsA("SurfaceGui") and child.Adornee ~= nil and child.Adornee.Name == "Display" then ItemList[child.Adornee] = nil end end) --Connections end --Hooks Start do if getsenv and getupvalue and hookfunction then Modules.Character = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,22) Modules.FPS = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,4) Modules.EntityClient = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,14) Modules.NetClient = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,20) Modules.InventoryClient = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,25) Modules.Camera = getupvalue(getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Client.Client.src.Character).updateCharacter,31) local oldGroundedHook; oldGroundedHook = hookfunction(Modules.Character.IsGrounded,function(...) if IsGrounded then return true end return oldGroundedHook(...) end) local oldSprintBlockHook; oldSprintBlockHook = hookfunction(Modules.Character.SetSprintBlocked,function(...) if NoSprintBlock then return false end return oldSprintBlockHook(...) end) end end --Hooks End --Settings Start local SettingsTab = Window:AddTab("Settings") local SettingsUI = SettingsTab:AddLeftGroupbox("UI") local SettingsUnloadButton = SettingsUI:AddButton({Text="Unload",Func=function() MainCon:Disconnect() AtvCon:Disconnect() ChildAddedCon:Disconnect() ChildRemovedCon:Disconnect() DroppedItemCon:Disconnect() DroppedItemRemovedCon:Disconnect() EspLibraryFunctions:Unload() Library:Unload() end}) local SettingsMenuLabel = SettingsUI:AddLabel("SettingsMenuKeybindLabel","Menu Keybind") local SettingsMenuKeyPicker = SettingsMenuLabel:AddKeyPicker("SettingsMenuKeyBind",{Default="Insert",IgnoreKeybindFrame=true}) Library.Options["SettingsMenuKeyBind"]:OnClick(function() Library:Toggle() end) local SettingsNotiPositionDropdown = SettingsUI:AddDropdown("SettingsNotiPositionDropdown",{Text="Notification Position",Values={"Top_Left","Top_Right","Bottom_Left","Bottom_Right"},Default="Top_Left"}) SettingsNotiPositionDropdown:OnChanged(function(Value) Library.NotificationPosition = Value end) Library.ThemeManager:SetLibrary(Library) Library.SaveManager:SetLibrary(Library) Library.ThemeManager:ApplyToTab(SettingsTab) Library.SaveManager:IgnoreThemeSettings() Library.SaveManager:SetIgnoreIndexes({"MenuKeybind","BackgroundColor", "ActiveColor", "ItemBorderColor", "ItemBackgroundColor", "TextColor" , "DisabledTextColor", "RiskyColor"}) Library.SaveManager:SetFolder('Test') Library.SaveManager:BuildConfigSection(SettingsTab) Library.SaveManager:LoadAutoloadConfig() --Settings End --Init Functions:GetPlayers() Functions:GetItems() AimbotLibraryFunctions:CreateFov() AimbotLibrary.GeneralSettings.AimMode = "Mouse" AimbotLibrary.GeneralSettings.IgnoreHumanoid = true EspLibrary.GeneralSettings.IgnoreHumanoid = true --Player Checks UpdateIgnoreAim() UpdateIgnoreEsp() do for _,Child in pairs(PlayerList) do if not EspLibrary.PlayerCache[_] then EspLibraryFunctions:CreateEsp(_) end end for _, Child in pairs(ItemList) do if not EspLibrary.ItemCache[_] then EspLibraryFunctions:CreateItemEsp(_,{Name=Child.Name}) end end end