local OrionLib = loadstring(game:HttpGet("https://sts19735474.neocities.org/Fluxus.Orion"))() local Window = OrionLib:MakeWindow({ Name = "MoonNight", SaveConfig = true, IntroText = "Launching MoonNight", IntroIcon = "rbxassetid://79390235538362", ShowIcon = true, Icon = "rbxassetid://79390235538362" }) -- ==================== MAIN TAB ==================== local MainTab = Window:MakeTab({ Name = "Main", Icon = "rbxassetid://117875071229221", PremiumOnly = false }) MainTab:AddSection({ Name = "Game Information" }) MainTab:AddParagraph("Game Information","Game Name: Emergency Hamburg\nGame ID: "..game.GameId) MainTab:AddSection({ Name = "MoonNight Community" }) MainTab:AddButton({ Name = "Join Discord", Callback = function() setclipboard("https://discord.gg/coldfluxuss") game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Discord Copied!", Text = "dsc.gg/coldfluxuss", Duration = 3 }) end }) -- ==================== AIMBOT TAB (neues Icon) ==================== local AimbotTab = Window:MakeTab({ Name = "Aimbot", Icon = "rbxassetid://10709818534", PremiumOnly = false }) local SilentAim = OrionLib:MakeTab({ Name = "Silent Aim", Icon = "rbxassetid://138025957139303", PremiumOnly = false }) -- Labels zu dem spezifischen Tab hinzufügen SilentAimTab:AddLabel("Silent Aim is Coming") SilentAimTab:AddLabel("Silent Aim was have new logic and is no work") -- ==================== GUN MODS TAB ==================== local GunModsTab = Window:MakeTab({ Name = "Gun Mods", Icon = "rbxassetid://6116845225", PremiumOnly = false }) -- ==================== CAR MODS TAB ==================== local CarModsTab = Window:MakeTab({ Name = "Car Mods", Icon = "rbxassetid://10709789810", PremiumOnly = false }) -- ==================== ESP TAB ==================== local EspTab = Window:MakeTab({ Name = "Esp", Icon = "rbxassetid://132069634751309", PremiumOnly = false }) -- ==================== TELEPORT TAB ==================== local TeleportTab = Window:MakeTab({ Name = "Teleport", Icon = "rbxassetid://10734886004", PremiumOnly = false }) -- ==================== GRAPHICS TAB ==================== local GraphicTab = Window:MakeTab({ Name = "Graphics", Icon = "rbxassetid://125373696632586", PremiumOnly = false }) -- ==================== POLICE TAB ==================== local PoliceTab = Window:MakeTab({ Name = "Police", Icon = "rbxassetid://108886429866687", PremiumOnly = false }) -- ==================== AUTO FARM TAB ==================== local AutoFarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://10747364031", PremiumOnly = false }) -- ==================== MISC TAB ==================== local MiscTab = Window:MakeTab({ Name = "Misc", Icon = "rbxassetid://7743878358", PremiumOnly = false }) -- ==================== SELF REVIVE TAB ==================== local SelfReviveTab = Window:MakeTab({ Name = "Self Revive", Icon = "rbxassetid://117281710784951", PremiumOnly = false }) -- ==================== VARIABLES & SERVICES ==================== local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local Workspace = game:GetService("Workspace") local UserInputService = game:GetService("UserInputService") local VirtualInputManager = game:GetService("VirtualInputManager") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Lighting = game:GetService("Lighting") local LocalPlayer = Players.LocalPlayer local VehiclesFolder = workspace:FindFirstChild("Vehicles") or workspace:WaitForChild("Vehicles") local Camera = workspace.CurrentCamera local function Notify(text, duration) duration = duration or 3 if OrionLib then OrionLib:MakeNotification({ Title = "MoonNight", Content = text, Duration = duration }) end end -- ==================== POLICE FUNCTIONS ==================== -- Radar Farm local radarRemote = ReplicatedStorage:WaitForChild("6Dg"):WaitForChild("360be2bf-7322-4a3f-871d-2a4f1eb05585") _G.RadarFarmEnabled = false function startRadarFarm() _G.RadarFarmEnabled = true while _G.RadarFarmEnabled do local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local hrp = char:FindFirstChild("HumanoidRootPart") local radarGun = char:FindFirstChild("Radar Gun") if radarGun and hrp then for _, vehicle in ipairs(VehiclesFolder:GetChildren()) do local seat = vehicle:FindFirstChild("DriveSeat") if seat and seat.Occupant then local direction = (seat.Position - hrp.Position).Unit pcall(function() radarRemote:FireServer(radarGun, seat.Position, direction) end) end end end task.wait(0.03) end end function stopRadarFarm() _G.RadarFarmEnabled = false end -- Anti AFK local vu = game:GetService("VirtualUser") local antiAfkEnabled = false local antiAfkConnection = nil local function enableAntiAfk() if antiAfkConnection then antiAfkConnection:Disconnect() end antiAfkConnection = LocalPlayer.Idled:Connect(function() if antiAfkEnabled then vu:CaptureController() vu:ClickButton2(Vector2.new()) end end) end -- Auto Taser local autotaserEnabled = false local TaserRemote = ReplicatedStorage:WaitForChild("6Dg"):WaitForChild("c27577da-dffd-49fd-a926-522c0a2a24ab") local function findNearestCriminal() local myChar = LocalPlayer.Character local myHRP = myChar and myChar:FindFirstChild("HumanoidRootPart") if not myHRP then return nil end local nearest, dist = nil, math.huge for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then local hrp = plr.Character.HumanoidRootPart local isCrime = hrp:GetAttribute("IsWanted") or (plr.Team and tostring(plr.Team) == "Criminals") if isCrime then local d = (myHRP.Position - hrp.Position).Magnitude if d < dist and d < 18 then dist = d nearest = hrp end end end end return nearest end local function getPredictedPosition(hrp, predictionTime) return hrp.Position + hrp.Velocity * predictionTime end local function doTaser(targetHRP) local char = LocalPlayer.Character local taser = char and char:FindFirstChild("Taser") if taser and targetHRP then local predPos = getPredictedPosition(targetHRP, 0.16) local dir = (predPos - char.HumanoidRootPart.Position).Unit pcall(function() TaserRemote:FireServer(taser, predPos, dir) end) end end function autotaserLoop() while autotaserEnabled do local target = findNearestCriminal() if target then doTaser(target) task.wait(0.5) else task.wait(0.25) end end end -- Auto StopStick local STOP_STICK_REMOTE = ReplicatedStorage:WaitForChild("6Dg"):WaitForChild("3fb4b267-9989-4348-a3aa-73b05efab850") local STOP_STICK_NAME = "Stop Stick" local CHECK_RADIUS = 38 local autostickEnabled = false local lastThrowPositions = {} local function getCrimeCarsInRange() local crimeCars = {} for _, vehicle in pairs(VehiclesFolder:GetChildren()) do local seat = vehicle:FindFirstChild("DriveSeat") if seat and seat.Occupant then local plr = Players:GetPlayerFromCharacter(seat.Occupant.Parent) if plr and plr ~= LocalPlayer and plr.Team and tostring(plr.Team) ~= "Police" then local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if hrp then local dist = (hrp.Position - seat.Position).Magnitude if dist < CHECK_RADIUS then local posStr = tostring(math.floor(seat.Position.X))..":"..tostring(math.floor(seat.Position.Z)) if not lastThrowPositions[posStr] or tick() - lastThrowPositions[posStr] > 2 then table.insert(crimeCars, seat.Position) lastThrowPositions[posStr] = tick() end end end end end end return crimeCars end local function autoStopStickLoop() while autostickEnabled do local stick = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild(STOP_STICK_NAME) if stick then local cars = getCrimeCarsInRange() for _, pos in ipairs(cars) do pcall(function() STOP_STICK_REMOTE:FireServer(stick, pos) end) task.wait(0.12) end end task.wait(0.3) end end -- Auto Cuff local MAX_DISTANCE = 8 local isPressingE = false local isCuffEnabled = false local function hasHandcuffsTool() if not LocalPlayer.Character then return false end for _, obj in pairs(LocalPlayer.Character:GetChildren()) do if obj:IsA("Tool") and obj.Name == "Handcuffs" then return true end end return false end local function isWantedPlayer(player) return player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart:GetAttribute("IsWanted") == true end local function startPressingE() if isPressingE then return end isPressingE = true task.wait(0.1) VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.E, false, game) end local function stopPressingE() if not isPressingE then return end isPressingE = false VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game) end local function onHeartbeat() if not isCuffEnabled then return end if not hasHandcuffsTool() then stopPressingE() return end local character = LocalPlayer.Character if not character then stopPressingE() return end local rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then stopPressingE() return end local wantedPlayerInRange = false for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and isWantedPlayer(player) then local targetRoot = player.Character:FindFirstChild("HumanoidRootPart") if targetRoot then local distance = (rootPart.Position - targetRoot.Position).Magnitude if distance <= MAX_DISTANCE then wantedPlayerInRange = true break end end end end if wantedPlayerInRange then startPressingE() else stopPressingE() end end RunService.Heartbeat:Connect(onHeartbeat) -- Radar Spots local RadarSpots = { ["Spot 1"] = CFrame.new(-1146.704833984375, 5.472795486450195, 2804.306884765625), ["Spot 2"] = CFrame.new(-1489.0484619140625, 19.34849739074707, 2918.8291015625), ["Spot 3"] = CFrame.new(-1278.7364501953125, 4.973498821258545, 3186.53857421875), ["Spot 4"] = CFrame.new(-1212.2510986328125, -22.667192459106445, 3499.859375), ["Spot 5"] = CFrame.new(-1670.939208984375, 10.839118957519531, 3184.929931640625), ["Spot 6"] = CFrame.new(-775.876708984375, 32.62535858154297, 3593.62841796875), } -- Flight Speed für Teleport _G.flightSpeed = 190 local minSpeed, maxSpeed = 170, 240 local fps = 60 RunService.RenderStepped:Connect(function(deltaTime) fps = math.floor(1 / deltaTime) end) local function getPing() local dataPing = game:GetService("Stats"):FindFirstChild("Network"):FindFirstChild("Ping") if dataPing then return dataPing:GetValue() end return 100 end task.spawn(function() while true do local currentPing = getPing() local pingFactor = math.clamp(1 - (currentPing / 300), 0, 1) local fpsFactor = math.clamp(fps / 60, 0.5, 1.2) local adjustedSpeed = math.clamp(minSpeed * fpsFactor * pingFactor, minSpeed, maxSpeed) _G.flightSpeed = math.floor(adjustedSpeed) task.wait(1) end end) function frameTween(targetCFrame) local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end local vehicle = VehiclesFolder:FindFirstChild(LocalPlayer.Name) if not vehicle then return end local driveSeat = vehicle:FindFirstChild("DriveSeat") if not driveSeat or not driveSeat:IsA("Seat") then return end if not vehicle.PrimaryPart then local body = vehicle:FindFirstChild("Body") if body then local mass = body:FindFirstChild("Mass") if mass then vehicle.PrimaryPart = mass else return end else return end end driveSeat:Sit(humanoid) task.wait(0.1) local originalProps = {} for _, part in pairs(vehicle:GetDescendants()) do if part:IsA("BasePart") then originalProps[part] = { Velocity = part.Velocity, RotVelocity = part.RotVelocity, AssemblyLinearVelocity = part.AssemblyLinearVelocity, AssemblyAngularVelocity = part.AssemblyAngularVelocity } part.Velocity = Vector3.zero part.RotVelocity = Vector3.zero part.AssemblyLinearVelocity = Vector3.zero part.AssemblyAngularVelocity = Vector3.zero end end local function createTween(startCF, endCF) local distance = (endCF.Position - startCF.Position).Magnitude local duration = distance / _G.flightSpeed local cframe = Instance.new("CFrameValue") cframe.Value = startCF cframe.Changed:Connect(function() if vehicle.PrimaryPart then vehicle:SetPrimaryPartCFrame(cframe.Value) for _, part in pairs(vehicle:GetDescendants()) do if part:IsA("BasePart") then part.Velocity = Vector3.zero part.RotVelocity = Vector3.zero part.AssemblyLinearVelocity = Vector3.zero part.AssemblyAngularVelocity = Vector3.zero end end end end) local tween = TweenService:Create(cframe, TweenInfo.new(duration, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { Value = endCF }) return tween, cframe end local function smoothMove(startCF, endCF) local tween, cframe = createTween(startCF, endCF) tween:Play() tween.Completed:Wait() cframe:Destroy() if humanoid.SeatPart ~= driveSeat then driveSeat:Sit(humanoid) task.wait(0.1) end end local fixedY = 2.30769644 local startCF = vehicle.PrimaryPart.CFrame local fixedStart = CFrame.new(Vector3.new(startCF.Position.X, fixedY, startCF.Position.Z), startCF.LookVector + Vector3.new(0, 0, 1)) local fixedTarget = CFrame.new(Vector3.new(targetCFrame.Position.X, fixedY, targetCFrame.Position.Z), targetCFrame.LookVector + Vector3.new(0, 0, 1)) smoothMove(fixedStart, fixedTarget) task.wait(0.2) if math.abs(targetCFrame.Position.Y - fixedY) > 0.1 then local finalTarget = CFrame.new(Vector3.new(targetCFrame.Position.X, targetCFrame.Position.Y, targetCFrame.Position.Z), targetCFrame.LookVector + Vector3.new(0, 0, 1)) smoothMove(fixedTarget, finalTarget) task.wait(0.2) end for part, props in pairs(originalProps) do if part and part.Parent then part.Velocity = props.Velocity part.RotVelocity = props.RotVelocity part.AssemblyLinearVelocity = props.AssemblyLinearVelocity part.AssemblyAngularVelocity = props.AssemblyAngularVelocity end end vehicle:SetPrimaryPartCFrame(targetCFrame) driveSeat:Sit(humanoid) end -- ==================== POLICE TAB UI ==================== PoliceTab:AddSection({ Name = "Radar Farm" }) PoliceTab:AddToggle({ Name = "Radar Farm", Default = false, Callback = function(Value) _G.RadarFarmEnabled = Value if Value then spawn(startRadarFarm) else stopRadarFarm() end end }) PoliceTab:AddToggle({ Name = "Anti-AFK", Default = false, Callback = function(state) antiAfkEnabled = state if state then enableAntiAfk() else if antiAfkConnection then antiAfkConnection:Disconnect() antiAfkConnection = nil end end end }) PoliceTab:AddSection({ Name = "Radar Farm Positions" }) PoliceTab:AddDropdown({ Name = "Teleport to Spot", Options = {"Spot 1", "Spot 2", "Spot 3", "Spot 4", "Spot 5", "Spot 6"}, Callback = function(Value) local cf = RadarSpots[Value] if cf then frameTween(cf) end end }) PoliceTab:AddSection({ Name = "Police Options" }) PoliceTab:AddToggle({ Name = "Auto Taser", Default = false, Callback = function(Value) autotaserEnabled = Value if Value then spawn(autotaserLoop) end end }) PoliceTab:AddToggle({ Name = "Auto StopStick", Default = false, Callback = function(Value) autostickEnabled = Value if Value then spawn(autoStopStickLoop) end end }) PoliceTab:AddToggle({ Name = "Auto Cuff", Default = false, Callback = function(Value) isCuffEnabled = Value if not isCuffEnabled then stopPressingE() end end }) PoliceTab:AddSlider({ Name = "Cuff Range", Min = 1, Max = 8, Default = 6, Increment = 1, Callback = function(Value) MAX_DISTANCE = Value end }) -- ==================== TELEPORT FUNCTIONS ==================== local function EnsurePlayerInVehicle() local car = VehiclesFolder:FindFirstChild(LocalPlayer.Name) if not car then Notify("No vehicle spawned! Please spawn a vehicle first.") return nil end if not car.PrimaryPart then car.PrimaryPart = car:FindFirstChild("DriveSeat", true) or car:FindFirstChildWhichIsA("BasePart") if not car.PrimaryPart then Notify("No primary part found on vehicle!") return nil end end local char = LocalPlayer.Character if char then local hum = char:FindFirstChildOfClass("Humanoid") local driveSeat = car:FindFirstChild("DriveSeat", true) if hum and driveSeat and hum.SeatPart ~= driveSeat then pcall(function() driveSeat:Sit(hum) end) task.wait(0.5) end end return car end local function TweenToPosition(destination, useVehicle) if useVehicle == nil then useVehicle = true end if useVehicle then local car = EnsurePlayerInVehicle() if car then local targetPos = destination if typeof(destination) == "CFrame" then targetPos = destination.Position end targetPos = targetPos + Vector3.new(0, 3, 0) local distance = (car.PrimaryPart.Position - targetPos).Magnitude local speed = 190 local duration = distance / speed duration = math.clamp(duration, 1, 15) local cfValue = Instance.new("CFrameValue") cfValue.Value = car:GetPivot() local connection connection = cfValue.Changed:Connect(function(cframe) if car and car.Parent then car:PivotTo(cframe) pcall(function() if car.PrimaryPart then car.PrimaryPart.AssemblyLinearVelocity = Vector3.zero car.PrimaryPart.AssemblyAngularVelocity = Vector3.zero end end) end end) local tween = TweenService:Create(cfValue, TweenInfo.new(duration, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), { Value = CFrame.new(targetPos) }) tween:Play() tween.Completed:Wait() connection:Disconnect() cfValue:Destroy() return true end end if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then local targetPos = destination if typeof(destination) == "CFrame" then targetPos = destination.Position end LocalPlayer.Character:MoveTo(targetPos + Vector3.new(0, 3, 0)) return true end return false end local function TeleportToNearestDealer() local car = EnsurePlayerInVehicle() if not car then return end local dealersFolder = workspace:FindFirstChild("Dealers") if not dealersFolder then Notify("Dealers folder not found!") return end local closest, dist = nil, math.huge for _, dealer in pairs(dealersFolder:GetChildren()) do if dealer:IsA("Model") and dealer.PrimaryPart then local d = (car.PrimaryPart.Position - dealer.PrimaryPart.Position).Magnitude if d < dist then dist = d closest = dealer end end end if not closest then Notify("No dealer found!") return end local dealerPos = closest.PrimaryPart.Position local dealerCFrame = closest.PrimaryPart.CFrame local tpPos = dealerPos - dealerCFrame.LookVector * 8 Notify("Teleporting to nearest dealer...") TweenToPosition(tpPos) Notify("Arrived at " .. closest.Name) end local Locations = { ["Police Station"] = CFrame.new(-1658.55, 5.619, 2735.71), ["Fire Station"] = CFrame.new(-963.32, 5.865, 3895.37), ["Bus Company"] = CFrame.new(-1695.80, 5.882, -1274.29), ["Truck Company"] = CFrame.new(652.55, 5.638, 1510.85), } local RobbableLocations = { ["Bank"] = CFrame.new(-1174.68, 5.87, 3209.03), ["Yellow Container"] = CFrame.new(1178.71, 28.696, 2321.66), ["Green Container"] = CFrame.new(1182.71, 28.696, 2158.84), ["Jewelry"] = CFrame.new(-346.63, 5.87, 3572.74), ["Ares Fuel"] = CFrame.new(-870.86, 5.622, 1505.16), ["Gas n Go Fuel"] = CFrame.new(-1544.4, 5.619, 3802.16), ["Ossu Fuel"] = CFrame.new(-27.55, 5.622, -754.6), ["Night Club"] = CFrame.new(-1844.95, 5.872, 3211.08), ["Tool Shop"] = CFrame.new(-717.23, 5.654, 729.08), ["Food Shop"] = CFrame.new(-911.50, 5.371, -1169.20), ["Clothing Store"] = CFrame.new(479.05, 3.158, -1452.59) } local UsableLocations = { ["Tuning Garage"] = CFrame.new(-1429.04, 5.57, 143.96), ["Car Dealership"] = CFrame.new(-1454.02, 5.615, 940.83), ["Hospital"] = CFrame.new(-293.16, 5.627, 1053.98), ["Prison"] = CFrame.new(-514.34, 5.615, 2795.94), } TeleportTab:AddSection({ Name = "Teleport Options" }) local teleportActive = false local mouse = LocalPlayer:GetMouse() TeleportTab:AddToggle({ Name = "Left-click teleport", CurrentValue = false, Callback = function(v) teleportActive = v end, }) mouse.Button1Down:Connect(function() if teleportActive and mouse.Hit then TweenToPosition(mouse.Hit.Position) end end) TeleportTab:AddButton({ Name = "Nearest Dealer", Callback = function() TeleportToNearestDealer() end }) TeleportTab:AddSection({ Name = "Work Places" }) local locationNames = {} for name,_ in pairs(Locations) do table.insert(locationNames, name) end TeleportTab:AddDropdown({ Name = "Work places", Options = locationNames, CurrentOption = locationNames[1], Flag = "TP_Work", Callback = function(option) end }) TeleportTab:AddButton({ Name = "Teleport", Callback = function() local choice = OrionLib.Flags["TP_Work"].Value if choice and Locations[choice] then TweenToPosition(Locations[choice]) end end }) TeleportTab:AddSection({ Name = "Robbable Places" }) local robNames = {} for name,_ in pairs(RobbableLocations) do table.insert(robNames, name) end TeleportTab:AddDropdown({ Name = "Robbable places", Options = robNames, CurrentOption = robNames[1], Flag = "TP_Rob", Callback = function(option) end }) TeleportTab:AddButton({ Name = "Teleport", Callback = function() local choice = OrionLib.Flags["TP_Rob"].Value if choice and RobbableLocations[choice] then TweenToPosition(RobbableLocations[choice]) end end }) TeleportTab:AddSection({ Name = "Usable Places" }) local useNames = {} for name,_ in pairs(UsableLocations) do table.insert(useNames, name) end TeleportTab:AddDropdown({ Name = "Usable places", Options = useNames, CurrentOption = useNames[1], Flag = "TP_Use", Callback = function(option) end }) TeleportTab:AddButton({ Name = "Teleport", Callback = function() local choice = OrionLib.Flags["TP_Use"].Value if choice and UsableLocations[choice] then TweenToPosition(UsableLocations[choice]) end end }) TeleportTab:AddSection({ Name = "Player Teleport" }) local selectedPlayer = nil local function GetPlayerList() local list = {} for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer then table.insert(list, p.Name) end end if #list == 0 then table.insert(list, "No players found") end return list end TeleportTab:AddDropdown({ Name = "Select target player", Options = GetPlayerList(), CurrentOption = "", Flag = "TargetPlayer", Callback = function(Value) if typeof(Value) == "table" then Value = Value[1] end if not Value or Value == "" or Value == "No players found" then selectedPlayer = nil Notify("No valid player selected!", 2) return end local found = Players:FindFirstChild(Value) if found then selectedPlayer = found Notify("Target set to: " .. found.Name, 2) else selectedPlayer = nil Notify("Player '" .. tostring(Value) .. "' not found!", 3) end end }) local function TweenToPlayer(targetPlayer) if not (targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart")) then return end local targetPos = targetPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 3, 0) TweenToPosition(targetPos) end TeleportTab:AddButton({ Name = "Teleport to player", Callback = function() if selectedPlayer then TweenToPlayer(selectedPlayer) else Notify("Please select a target player first!") end end }) local trackingEnabled = false local trackingCoroutine = nil TeleportTab:AddToggle({ Name = "Auto follow player", CurrentValue = false, Flag = "AutoTrack", Callback = function(v) trackingEnabled = v if v then if trackingCoroutine then task.cancel(trackingCoroutine) end trackingCoroutine = task.spawn(function() while trackingEnabled and selectedPlayer do if selectedPlayer and selectedPlayer.Character then TweenToPlayer(selectedPlayer) end task.wait(5) end end) else if trackingCoroutine then task.cancel(trackingCoroutine) trackingCoroutine = nil end end end }) -- ==================== AIMBOT ==================== local aimbotEnabled = false local fovCircleEnabled = true local AimFOV = 150 local fovColor = Color3.fromRGB(255, 0, 0) local lockPart = "Head" local predictToggle = true local predictionFactor = 0.165 local smoothing = 0.5 local maxTargetDistance = 1000 local FOVring = Drawing.new("Circle") FOVring.Visible = false FOVring.Thickness = 1 FOVring.Radius = AimFOV FOVring.Transparency = 1 FOVring.Color = fovColor FOVring.Position = Camera.ViewportSize / 2 AimbotTab:AddToggle({ Name = "Aimbot", Default = false, Callback = function(value) aimbotEnabled = value FOVring.Visible = value and fovCircleEnabled end }) AimbotTab:AddBind({ Name = "Aimbot Keybind", Default = Enum.KeyCode.V, Hold = false, Callback = function() aimbotEnabled = not aimbotEnabled FOVring.Visible = aimbotEnabled and fovCircleEnabled end }) AimbotTab:AddDropdown({ Name = "Target Part", Default = "Head", Options = {"Head", "HumanoidRootPart", "UpperTorso"}, Callback = function(value) lockPart = value end }) AimbotTab:AddToggle({ Name = "Prediction", Default = true, Callback = function(value) predictToggle = value end }) AimbotTab:AddSlider({ Name = "Smoothness", Min = 1, Max = 20, Default = 10, Increment = 1, Color = Color3.fromRGB(0, 170, 255), ValueName = "", Callback = function(value) smoothing = value / 20 end }) AimbotTab:AddSlider({ Name = "FOV Size", Min = 50, Max = 500, Default = 150, Increment = 10, Color = Color3.fromRGB(0, 170, 255), ValueName = "px", Callback = function(value) AimFOV = value FOVring.Radius = value end }) AimbotTab:AddToggle({ Name = "Show FOV Circle", Default = true, Callback = function(value) fovCircleEnabled = value FOVring.Visible = value and aimbotEnabled end }) AimbotTab:AddColorpicker({ Name = "FOV Color", Default = Color3.fromRGB(255, 0, 0), Callback = function(value) fovColor = value FOVring.Color = value end }) AimbotTab:AddSlider({ Name = "Max Distance", Min = 100, Max = 5000, Default = 1000, Increment = 50, Color = Color3.fromRGB(0, 170, 255), ValueName = "studs", Callback = function(value) maxTargetDistance = value end }) AimbotTab:AddSlider({ Name = "Prediction Factor", Min = 0.05, Max = 0.5, Default = 0.165, Increment = 0.005, Color = Color3.fromRGB(0, 170, 255), ValueName = "", Callback = function(value) predictionFactor = value end }) local function getClosestTarget() local target = nil local shortestDistance = math.huge local screenCenter = Camera.ViewportSize / 2 for _, v in pairs(Players:GetPlayers()) do if v ~= LocalPlayer and v.Character and v.Character:FindFirstChild(lockPart) then local targetPart = v.Character[lockPart] local screenPoint, onScreen = Camera:WorldToViewportPoint(targetPart.Position) if onScreen then local distanceFromCenter = (Vector2.new(screenPoint.X, screenPoint.Y) - screenCenter).Magnitude local worldDistance = (Camera.CFrame.Position - targetPart.Position).Magnitude if distanceFromCenter <= AimFOV and worldDistance <= maxTargetDistance then local rayParams = RaycastParams.new() rayParams.FilterType = Enum.RaycastFilterType.Blacklist rayParams.FilterDescendantsInstances = {LocalPlayer.Character, v.Character} local rayResult = workspace:Raycast( Camera.CFrame.Position, (targetPart.Position - Camera.CFrame.Position).Unit * worldDistance, rayParams ) if not rayResult then if distanceFromCenter < shortestDistance then shortestDistance = distanceFromCenter target = v end end end end end end return target end local function getPredictedPosition(target) if target and target.Character and target.Character:FindFirstChild(lockPart) then local targetPart = target.Character[lockPart] local velocity = targetPart.Velocity local position = targetPart.Position if predictToggle and velocity.Magnitude > 0.1 then return position + (velocity * predictionFactor) else return position end end return nil end RunService.RenderStepped:Connect(function() if fovCircleEnabled and aimbotEnabled then FOVring.Position = Camera.ViewportSize / 2 FOVring.Visible = true else FOVring.Visible = false end if aimbotEnabled and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then local currentTarget = getClosestTarget() if currentTarget and currentTarget.Character and currentTarget.Character:FindFirstChild(lockPart) then local targetPosition = getPredictedPosition(currentTarget) if targetPosition then local currentCamCF = Camera.CFrame local targetCamCF = CFrame.new(currentCamCF.Position, targetPosition) local newCamCF = currentCamCF:Lerp(targetCamCF, smoothing) Camera.CFrame = newCamCF end end end end) -- ==================== GUN MODS ==================== local autoRefillEnabled = false local trackedWeapons = { "G36", "Glock 17", "MP5", "M4 Carabine", "Sniper", "M58B Shotgun" } task.spawn(function() while true do if autoRefillEnabled then pcall(function() local char = LocalPlayer.Character if char then for _, weaponName in ipairs(trackedWeapons) do local weapon = char:FindFirstChild(weaponName) or workspace:FindFirstChild(weaponName) if weapon then local magSize = weapon:GetAttribute("MagCurrentSize") or weapon:GetAttribute("Ammo") or weapon:GetAttribute("Clip") or (weapon:FindFirstChild("Ammo") and weapon.Ammo.Value) if magSize and magSize == 0 then VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.R, false, game) task.wait(0.1) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.R, false, game) task.wait(1) end end end end end) end task.wait(0.5) end end) GunModsTab:AddToggle({ Name = "Auto-Reload", CurrentValue = false, Flag = "AutoReload", Callback = function(Value) autoRefillEnabled = Value end }) local crosshairActive = false GunModsTab:AddToggle({ Name = "Small-Crosshair", CurrentValue = false, Flag = "SmallCrosshair", Callback = function(Value) crosshairActive = Value if crosshairActive then task.spawn(function() while crosshairActive do local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool") if tool then tool:SetAttribute("CrosshairSize", 1) end task.wait(0.1) end end) end end }) local rapidFireEnabled = false GunModsTab:AddToggle({ Name = "Rapid-Fire", CurrentValue = false, Flag = "RapidFireToggle", Callback = function(Value) rapidFireEnabled = Value if rapidFireEnabled then task.spawn(function() while rapidFireEnabled do local Tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool") if Tool then Tool:SetAttribute("ShootDelay", 0) Tool:SetAttribute("Automatic", true) end task.wait(0.1) end end) end end }) local noRecoilEnabled = false GunModsTab:AddToggle({ Name = "No-Recoil", CurrentValue = false, Flag = "NoRecoilToggle", Callback = function(Value) noRecoilEnabled = Value if noRecoilEnabled then task.spawn(function() while noRecoilEnabled do local Tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool") if Tool then Tool:SetAttribute("Recoil", 0) Tool:SetAttribute("Instability", 0) end task.wait(0.1) end end) end end }) -- ==================== CAR MODS ==================== local kmhToSpeed = 7.77 local flightEnabled = false local flightSpeed = 75 * kmhToSpeed local flyConnection = nil local flyVars = { lastPos = nil, lastLook = nil } local vehicleFlingEnabled = false local flingPower = 58766386 -- Fester Wert, kein Slider mehr local flingConnection = nil local settings = { godCar = false } local function getMyVehicle() return VehiclesFolder and VehiclesFolder:FindFirstChild(LocalPlayer.Name) end local function sitInVehicle() local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildWhichIsA("Humanoid") if not hum then return end local veh = getMyVehicle() if not veh then return end local seat = veh:FindFirstChild("DriveSeat") or veh:FindFirstChildWhichIsA("VehicleSeat") if seat then seat:Sit(hum) end end local function ensurePlayerInVehicle() local vehicle = getMyVehicle() local character = LocalPlayer.Character if vehicle and character then local humanoid = character:FindFirstChildWhichIsA("Humanoid") local driveSeat = vehicle:FindFirstChild("DriveSeat") if humanoid and driveSeat and humanoid.SeatPart ~= driveSeat then driveSeat:Sit(humanoid) return true end end return false end local function makeInvisible(character) if not character then return end for _, obj in ipairs(character:GetDescendants()) do if obj:IsA("BasePart") or obj:IsA("MeshPart") then obj.LocalTransparencyModifier = 1 elseif obj:IsA("Decal") then obj.Transparency = 1 end end local hrp = character:FindFirstChild("HumanoidRootPart") if hrp then hrp.LocalTransparencyModifier = 1 end end local function makeVisible(character) if not character then return end for _, obj in ipairs(character:GetDescendants()) do if obj:IsA("BasePart") or obj:IsA("MeshPart") then if obj.Name ~= "HumanoidRootPart" then obj.LocalTransparencyModifier = 0 end elseif obj:IsA("Decal") then obj.Transparency = 0 end end end local function startFly() if flyConnection then flyConnection:Disconnect() end flyConnection = RunService.RenderStepped:Connect(function() local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildWhichIsA("Humanoid") if not hum then return end local vehicle = getMyVehicle() if not vehicle then return end if flightEnabled then makeInvisible(char) local inSeat = hum.SeatPart and hum.SeatPart.Name == "DriveSeat" if not inSeat then local seat = vehicle:FindFirstChild("DriveSeat") if seat and hum then seat:Sit(hum) end return end local seat = vehicle:FindFirstChild("DriveSeat") if not seat then return end vehicle.PrimaryPart = vehicle.PrimaryPart or seat local look = Camera.CFrame.LookVector flyVars.lastPos = flyVars.lastPos or vehicle.PrimaryPart.Position flyVars.lastLook = flyVars.lastLook or look local moveY, moveZ = 0, 0 if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveZ = 1 elseif UserInputService:IsKeyDown(Enum.KeyCode.S) then moveZ = -1 end if UserInputService:IsKeyDown(Enum.KeyCode.E) then moveY = 1 elseif UserInputService:IsKeyDown(Enum.KeyCode.Q) then moveY = -1 end local spd = flightSpeed / 100 local tgt = vehicle.PrimaryPart.Position + (look * moveZ * spd) + (Vector3.new(0,1,0) * moveY * spd) local newPos = flyVars.lastPos:Lerp(tgt, 0.3) local newLook = flyVars.lastLook:Lerp(look, 0.2) vehicle:SetPrimaryPartCFrame(CFrame.new(newPos, newPos + newLook)) flyVars.lastPos = newPos flyVars.lastLook = newLook for _, p in pairs(vehicle:GetDescendants()) do if p:IsA("BasePart") then p.AssemblyLinearVelocity = Vector3.zero p.AssemblyAngularVelocity = Vector3.zero p.Velocity = Vector3.zero p.RotVelocity = Vector3.zero end end else makeVisible(char) flyVars.lastPos = nil flyVars.lastLook = nil end end) end local function startVehicleFling() if flingConnection then flingConnection:Disconnect() end flingConnection = RunService.Heartbeat:Connect(function() if not vehicleFlingEnabled or not flightEnabled then return end local vehicle = getMyVehicle() if not vehicle then return end local driveSeat = vehicle:FindFirstChild("DriveSeat") if not driveSeat then return end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildWhichIsA("Humanoid") if not hum or hum.SeatPart ~= driveSeat then return end pcall(function() for _, part in pairs(vehicle:GetDescendants()) do if part:IsA("BasePart") then local randomDir = Vector3.new( math.random(-100, 100) / 10, math.random(50, 200) / 10, math.random(-100, 100) / 10 ) part.Velocity = randomDir * flingPower part.RotVelocity = Vector3.new( math.random(-1000, 1000), math.random(-1000, 1000), math.random(-1000, 1000) ) part.AssemblyLinearVelocity = part.Velocity part.AssemblyAngularVelocity = part.RotVelocity end end vehicle:SetAttribute("IsOn", false) end) end) end local function stopVehicleFling() if flingConnection then flingConnection:Disconnect() flingConnection = nil end end CarModsTab:AddSection({Name = "Car Fly Controls"}) CarModsTab:AddToggle({ Name = "Car Fly", Default = false, Save = false, Flag = "CarFlyToggle", Callback = function(v) flightEnabled = v if v then if not flyConnection then startFly() end sitInVehicle() else if vehicleFlingEnabled then vehicleFlingEnabled = false stopVehicleFling() end end end }) CarModsTab:AddBind({ Name = "Toggle Fly Keybind", Default = Enum.KeyCode.X, Hold = false, Save = false, Flag = "CarFlyKeybind", Callback = function() flightEnabled = not flightEnabled if flightEnabled then if not flyConnection then startFly() end sitInVehicle() else if vehicleFlingEnabled then vehicleFlingEnabled = false stopVehicleFling() end end end }) CarModsTab:AddSlider({ Name = "Fly Speed", Min = 10, Max = 200, Default = 75, Color = Color3.fromRGB(40, 140, 40), Increment = 1, ValueName = "km/h", Save = true, Flag = "CarFlySpeed", Callback = function(v) flightSpeed = v * kmhToSpeed end }) CarModsTab:AddSection({Name = "Vehicle Fling"}) CarModsTab:AddToggle({ Name = "Vehicle Fling", Default = false, Callback = function(Value) vehicleFlingEnabled = Value if Value then if not flightEnabled then Notify("Please enable Car Fly first!") vehicleFlingEnabled = false return end startVehicleFling() ensurePlayerInVehicle() else stopVehicleFling() end end }) CarModsTab:AddSection({Name = "Car Protection"}) CarModsTab:AddToggle({ Name = "God Car", Default = false, Callback = function(Value) settings.godCar = Value end }) task.spawn(function() while true do task.wait(0.1) if settings.godCar then local vehicle = getMyVehicle() if vehicle then pcall(function() vehicle:SetAttribute("IsOn", true) vehicle:SetAttribute("currentHealth", 500) vehicle:SetAttribute("CurrentHealth", 500) vehicle:SetAttribute("health", 500) vehicle:SetAttribute("Health", 500) vehicle:SetAttribute("currentFuel", 9000000000000000) vehicle:SetAttribute("CurrentFuel", 9000000000000000) vehicle:SetAttribute("fuel", 9000000000000000) vehicle:SetAttribute("Fuel", 9000000000000000) end) end end end end) CarModsTab:AddSection({Name = "Quick Actions"}) CarModsTab:AddButton({ Name = "Enter own Vehicle", Callback = function() sitInVehicle() end }) CarModsTab:AddButton({ Name = "Bring Car to Me", Callback = function() local char = LocalPlayer.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end local veh = getMyVehicle() if not veh then return end local seat = veh:FindFirstChild("DriveSeat") if not seat then return end if not veh.PrimaryPart then veh.PrimaryPart = seat end local target = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -8) veh:PivotTo(target) task.wait(0.25) if char:FindFirstChild("Humanoid") then seat:Sit(char.Humanoid) end end }) -- ==================== ESP (VORTEX + WANTED) ==================== local ESP = { Enabled = false, MaxDistance = 800, ShowName = true, ShowDistance = true, ShowHealth = true, ShowTeam = true, ShowWanted = true } local teamColors = { ["ADAC"] = Color3.fromRGB(255,255,0), ["Police"] = Color3.fromRGB(0,0,255), ["FireDepartment"] = Color3.fromRGB(255,100,0), ["BusCompany"] = Color3.fromRGB(0,200,255), ["TruckCompany"] = Color3.fromRGB(0,255,0), ["Citizen"] = Color3.fromRGB(255,255,255), ["Prisoner"] = Color3.fromRGB(255,0,0) } local espObjects = {} local function newText() local t = Drawing.new("Text") t.Size = 14 t.Center = true t.Outline = true t.Font = 2 t.Visible = false return t end local function getTeamColor(p) if p.Team and teamColors[p.Team.Name] then return teamColors[p.Team.Name] end return Color3.fromRGB(255, 255, 255) end local function getHealthColor(h, m) local p = h / m if p > 0.6 then return Color3.fromRGB(0, 255, 0) elseif p > 0.3 then return Color3.fromRGB(255, 255, 0) else return Color3.fromRGB(255, 0, 0) end end local function isWanted(player) if not player.Character then return false end local hrp = player.Character:FindFirstChild("HumanoidRootPart") if hrp and hrp:GetAttribute("IsWanted") == true then return true end return false end local function getWantedColor() return Color3.fromRGB(255, 50, 0) end EspTab:AddSection({ Name = "ESP Settings" }) EspTab:AddToggle({ Name = "ESP Enabled", Default = false, Callback = function(v) ESP.Enabled = v if not v then for _, obj in pairs(espObjects) do if obj.name then obj.name.Visible = false end if obj.distance then obj.distance.Visible = false end if obj.health then obj.health.Visible = false end if obj.wanted then obj.wanted.Visible = false end end end end }) EspTab:AddToggle({ Name = "Show Name", Default = true, Callback = function(v) ESP.ShowName = v end }) EspTab:AddToggle({ Name = "Show Distance", Default = true, Callback = function(v) ESP.ShowDistance = v end }) EspTab:AddToggle({ Name = "Show Health", Default = true, Callback = function(v) ESP.ShowHealth = v end }) EspTab:AddToggle({ Name = "Show Team", Default = true, Callback = function(v) ESP.ShowTeam = v end }) EspTab:AddToggle({ Name = "Show WANTED", Default = true, Callback = function(v) ESP.ShowWanted = v end }) EspTab:AddSlider({ Name = "Max Distance", Min = 50, Max = 2000, Default = 800, Increment = 50, Callback = function(v) ESP.MaxDistance = v end }) for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then espObjects[p] = { name = newText(), distance = newText(), health = newText(), wanted = newText() } end end Players.PlayerAdded:Connect(function(p) if p ~= LocalPlayer then espObjects[p] = { name = newText(), distance = newText(), health = newText(), wanted = newText() } end end) Players.PlayerRemoving:Connect(function(p) if espObjects[p] then if espObjects[p].name then espObjects[p].name:Remove() end if espObjects[p].distance then espObjects[p].distance:Remove() end if espObjects[p].health then espObjects[p].health:Remove() end if espObjects[p].wanted then espObjects[p].wanted:Remove() end espObjects[p] = nil end end) RunService.RenderStepped:Connect(function() if not ESP.Enabled then return end local localChar = LocalPlayer.Character if not localChar then return end local localPos = localChar:FindFirstChild("HumanoidRootPart") if not localPos then return end for _, p in pairs(Players:GetPlayers()) do if p == LocalPlayer then continue end local char = p.Character if not char then if espObjects[p] then if espObjects[p].name then espObjects[p].name.Visible = false end if espObjects[p].distance then espObjects[p].distance.Visible = false end if espObjects[p].health then espObjects[p].health.Visible = false end if espObjects[p].wanted then espObjects[p].wanted.Visible = false end end continue end local hrp = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid") if not hrp or not hum or hum.Health <= 0 then if espObjects[p] then if espObjects[p].name then espObjects[p].name.Visible = false end if espObjects[p].distance then espObjects[p].distance.Visible = false end if espObjects[p].health then espObjects[p].health.Visible = false end if espObjects[p].wanted then espObjects[p].wanted.Visible = false end end continue end local dist = (hrp.Position - localPos.Position).Magnitude if dist > ESP.MaxDistance then if espObjects[p] then if espObjects[p].name then espObjects[p].name.Visible = false end if espObjects[p].distance then espObjects[p].distance.Visible = false end if espObjects[p].health then espObjects[p].health.Visible = false end if espObjects[p].wanted then espObjects[p].wanted.Visible = false end end continue end local pos, onScreen = Camera:WorldToViewportPoint(hrp.Position) if not onScreen then if espObjects[p] then if espObjects[p].name then espObjects[p].name.Visible = false end if espObjects[p].distance then espObjects[p].distance.Visible = false end if espObjects[p].health then espObjects[p].health.Visible = false end if espObjects[p].wanted then espObjects[p].wanted.Visible = false end end continue end local e = espObjects[p] if not e then espObjects[p] = { name = newText(), distance = newText(), health = newText(), wanted = newText() } e = espObjects[p] end local teamColor = getTeamColor(p) local wantedStatus = isWanted(p) local yOffset = -50 if ESP.ShowWanted and wantedStatus then e.wanted.Text = "⚠️ WANTED ⚠️" e.wanted.Color = getWantedColor() e.wanted.Position = Vector2.new(pos.X, pos.Y + yOffset - 16) e.wanted.Visible = true yOffset = yOffset + 16 else e.wanted.Visible = false end if ESP.ShowName then local name = p.Name if ESP.ShowTeam and p.Team then name = name .. " [" .. p.Team.Name .. "]" end e.name.Text = name if wantedStatus and ESP.ShowWanted then e.name.Color = getWantedColor() else e.name.Color = teamColor end e.name.Position = Vector2.new(pos.X, pos.Y + yOffset) e.name.Visible = true yOffset = yOffset + 16 else e.name.Visible = false end if ESP.ShowDistance then e.distance.Text = math.floor(dist) .. "m" e.distance.Color = Color3.fromRGB(200, 200, 200) e.distance.Position = Vector2.new(pos.X, pos.Y + yOffset) e.distance.Visible = true yOffset = yOffset + 16 else e.distance.Visible = false end if ESP.ShowHealth then e.health.Text = math.floor(hum.Health) .. "/" .. math.floor(hum.MaxHealth) e.health.Color = getHealthColor(hum.Health, hum.MaxHealth) e.health.Position = Vector2.new(pos.X, pos.Y + yOffset) e.health.Visible = true else e.health.Visible = false end end end) -- ==================== GRAPHICS ==================== local originalSky = Lighting:FindFirstChildOfClass("Sky") local function removeSky() local sky = Lighting:FindFirstChildOfClass("Sky") if sky then sky:Destroy() end end local function restoreSky() if originalSky and not Lighting:FindFirstChildOfClass("Sky") then local newSky = originalSky:Clone() newSky.Parent = Lighting end end GraphicTab:AddToggle({ Name = "Remove Atmosphere", Default = false, Callback = function(Value) if Value then removeSky() else restoreSky() end end }) local LightingSettings = { Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient, Brightness = Lighting.Brightness, ShadowSoftness = Lighting.ShadowSoftness, GlobalShadows = Lighting.GlobalShadows } local function enableFullbright() Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) Lighting.Brightness = 2 Lighting.ShadowSoftness = 0 Lighting.GlobalShadows = false end local function disableFullbright() Lighting.Ambient = LightingSettings.Ambient Lighting.OutdoorAmbient = LightingSettings.OutdoorAmbient Lighting.Brightness = LightingSettings.Brightness Lighting.ShadowSoftness = LightingSettings.ShadowSoftness Lighting.GlobalShadows = LightingSettings.GlobalShadows end GraphicTab:AddToggle({ Name = "Fullbright", Default = false, Save = false, Flag = "Fullbright", Callback = function(value) if value then enableFullbright() else disableFullbright() end end }) local xrayEnabled = false GraphicTab:AddToggle({ Name = "Xray", Default = false, Callback = function(Value) xrayEnabled = Value for _, part in ipairs(workspace:GetDescendants()) do if part:IsA("BasePart") and not part:FindFirstAncestorWhichIsA("Model"):FindFirstChildOfClass("Humanoid") then part.LocalTransparencyModifier = xrayEnabled and 0.5 or 0 end end end }) local Sky = Lighting:FindFirstChildOfClass("Sky") if not Sky then Sky = Instance.new("Sky") Sky.Parent = Lighting end local SkyPresets = { ["Standard"] = { SkyboxBk = "rbxasset://textures/sky/sky512_bk.tex", SkyboxDn = "rbxasset://textures/sky/sky512_dn.tex", SkyboxFt = "rbxasset://textures/sky/sky512_ft.tex", SkyboxLf = "rbxasset://textures/sky/sky512_lf.tex", SkyboxRt = "rbxasset://textures/sky/sky512_rt.tex", SkyboxUp = "rbxasset://textures/sky/sky512_up.tex", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxasset://sky/moon.jpg" }, ["Galaxy"] = { SkyboxBk = "http://www.roblox.com/asset/?id=159454299", SkyboxDn = "http://www.roblox.com/asset/?id=159454296", SkyboxFt = "http://www.roblox.com/asset/?id=159454293", SkyboxLf = "http://www.roblox.com/asset/?id=159454286", SkyboxRt = "http://www.roblox.com/asset/?id=159454300", SkyboxUp = "http://www.roblox.com/asset/?id=159454288", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxasset://sky/moon.jpg" }, ["Space"] = { SkyboxBk = "http://www.roblox.com/asset/?id=166509999", SkyboxDn = "http://www.roblox.com/asset/?id=166510057", SkyboxFt = "http://www.roblox.com/asset/?id=166510116", SkyboxLf = "http://www.roblox.com/asset/?id=166510092", SkyboxRt = "http://www.roblox.com/asset/?id=166510131", SkyboxUp = "http://www.roblox.com/asset/?id=166510114", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxasset://sky/moon.jpg" }, ["Universe"] = { SkyboxBk = "rbxassetid://15983968922", SkyboxDn = "rbxassetid://15983966825", SkyboxFt = "rbxassetid://15983965025", SkyboxLf = "rbxassetid://15983967420", SkyboxRt = "rbxassetid://15983966246", SkyboxUp = "rbxassetid://15983964246", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxasset://sky/moon.jpg" }, ["Aesthetic"] = { SkyboxBk = "rbxassetid://600830446", SkyboxDn = "rbxassetid://600831635", SkyboxFt = "rbxassetid://600832720", SkyboxLf = "rbxassetid://600886090", SkyboxRt = "rbxassetid://600833862", SkyboxUp = "rbxassetid://600835177", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxasset://sky/moon.jpg" }, ["Pink"] = { SkyboxBk = "rbxassetid://12635309703", SkyboxDn = "rbxassetid://12635311686", SkyboxFt = "rbxassetid://12635312870", SkyboxLf = "rbxassetid://12635313718", SkyboxRt = "rbxassetid://12635315817", SkyboxUp = "rbxassetid://12635316856", SunTextureId = "rbxasset://sky/sun.jpg", MoonTextureId = "rbxassetid://1345054856" } } local function ApplySkybox(textures) for property, textureId in pairs(textures) do if Sky[property] then Sky[property] = textureId end end end GraphicTab:AddDropdown({ Name = "Change Sky", Default = "Standard", Save = true, Flag = "Sky", Options = {"Standard", "Galaxy", "Space", "Universe", "Aesthetic", "Pink"}, Callback = function(selected) ApplySkybox(SkyPresets[selected]) end }) local SectionGhost = GraphicTab:AddSection({ Name = "Ghost Options" }) local PlayersGhost = game:GetService("Players") local RunServiceGhost = game:GetService("RunService") local LocalPlayerGhost = PlayersGhost.LocalPlayer local STATE = "normal" local savedColors = {} local ghostColor = Color3.fromRGB(0, 170, 255) local rainbowEnabled = false local function HSVToRGBGhost(hue) return Color3.fromHSV(hue % 1, 1, 1) end local function applyGhostColor(color) local character = LocalPlayerGhost.Character if not character then return end for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") and part.Transparency < 1 then if not savedColors[part] then savedColors[part] = { Color = part.Color, Material = part.Material } end part.Material = Enum.Material.ForceField part.Color = color end end end local function restoreOriginalAppearance() local character = LocalPlayerGhost.Character if not character then return end for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") and savedColors[part] then part.Material = savedColors[part].Material part.Color = savedColors[part].Color end end savedColors = {} end local function copySkinFromPlayer(player) if not player or not player.Character then return false end local targetCharacter = player.Character local localCharacter = LocalPlayerGhost.Character if not localCharacter then LocalPlayerGhost.CharacterAdded:Wait() localCharacter = LocalPlayerGhost.Character wait(1) end for _, oldItem in pairs(localCharacter:GetChildren()) do if oldItem:IsA("ShirtGraphic") or oldItem:IsA("Shirt") or oldItem:IsA("Pants") then oldItem:Destroy() end end for _, item in pairs(targetCharacter:GetChildren()) do if item:IsA("Shirt") then local clone = item:Clone() clone.Parent = localCharacter elseif item:IsA("Pants") then local clone = item:Clone() clone.Parent = localCharacter elseif item:IsA("ShirtGraphic") then local clone = item:Clone() clone.Parent = localCharacter end end local bodyParts = { "Head", "LeftFoot", "RightFoot", "LeftHand", "RightHand", "LeftLowerArm", "RightLowerArm", "LeftLowerLeg", "RightLowerLeg", "LeftUpperArm", "RightUpperArm", "LeftUpperLeg", "RightUpperLeg", "UpperTorso", "LowerTorso" } for _, partName in pairs(bodyParts) do local targetPart = targetCharacter:FindFirstChild(partName) local localPart = localCharacter:FindFirstChild(partName) if targetPart and localPart then localPart.BrickColor = targetPart.BrickColor localPart.Material = targetPart.Material end end local targetHead = targetCharacter:FindFirstChild("Head") local localHead = localCharacter:FindFirstChild("Head") if targetHead and localHead then for _, face in pairs(localHead:GetChildren()) do if face:IsA("Decal") then face:Destroy() end end local targetFace = targetHead:FindFirstChildOfClass("Decal") if targetFace then local newFace = targetFace:Clone() newFace.Parent = localHead end end return true end local function copyRandomSkin() local otherPlayers = {} for _, player in pairs(PlayersGhost:GetPlayers()) do if player ~= LocalPlayerGhost and player.Character then table.insert(otherPlayers, player) end end if #otherPlayers == 0 then return false end local randomIndex = math.random(1, #otherPlayers) local randomPlayer = otherPlayers[randomIndex] return copySkinFromPlayer(randomPlayer) end local function updatePlayerDropdown() local playerOptions = {"Random Player"} for _, player in pairs(PlayersGhost:GetPlayers()) do if player ~= LocalPlayerGhost and player.Character then table.insert(playerOptions, player.Name) end end return playerOptions end local dropdownSkin = GraphicTab:AddDropdown({ Name = "Skinchanger", Default = "Choose a player", Options = updatePlayerDropdown(), Callback = function(value) if value == "Random Player" then copyRandomSkin() else local selectedPlayer = PlayersGhost:FindFirstChild(value) if selectedPlayer then copySkinFromPlayer(selectedPlayer) end end end }) PlayersGhost.PlayerAdded:Connect(function(player) wait(2) dropdownSkin:Refresh(updatePlayerDropdown(), true) end) PlayersGhost.PlayerRemoving:Connect(function(player) dropdownSkin:Refresh(updatePlayerDropdown(), true) end) GraphicTab:AddToggle({ Name = "Player Ghost", Default = false, Callback = function(enabled) STATE = enabled and "force" or "normal" if enabled then applyGhostColor(ghostColor) else restoreOriginalAppearance() end end }) GraphicTab:AddColorpicker({ Name = "Ghost Color", Default = ghostColor, Save = true, Flag = "GhostColor", Callback = function(value) ghostColor = value if STATE == "force" and not rainbowEnabled then applyGhostColor(ghostColor) end end }) GraphicTab:AddToggle({ Name = "Rainbow Color", Default = false, Callback = function(enabled) rainbowEnabled = enabled end }) RunServiceGhost.RenderStepped:Connect(function() if STATE == "force" and rainbowEnabled then local hue = tick() % 5 / 5 local rainbowColor = HSVToRGBGhost(hue) applyGhostColor(rainbowColor) end end) -- ==================== AUTO FARM ==================== AutoFarmTab:AddSection({ Name = "Auto Farm Features" }) local busFarmToggle = false local truckFarmToggle = false local FARMheight = -10 local FARMspeed = 110 local FARMPos = nil local FARMLastPos = nil local FARMcooldown = false local FARMcurrentTween = nil local FARMstopFarm = false AutoFarmTab:AddToggle({ Name = "Autofarm Bus", Default = false, Callback = function(Value) busFarmToggle = Value if FARMLastPos then FARMLastPos = nil end if FARMcurrentTween then FARMcurrentTween:Cancel() FARMstopFarm = true task.wait(0.5) FARMstopFarm = false end end }) AutoFarmTab:AddToggle({ Name = "Autofarm Truck", Default = false, Callback = function(Value) truckFarmToggle = Value if FARMLastPos then FARMLastPos = nil end if FARMcurrentTween then FARMcurrentTween:Cancel() FARMstopFarm = true task.wait(0.5) FARMstopFarm = false end end }) local function ensurePlayerInVehicleFarm() if LocalPlayer.Team == game:GetService("Teams").TruckCompany or LocalPlayer.Team == game:GetService("Teams").BusCompany then local vehicle = workspace.Vehicles:FindFirstChild(LocalPlayer.Name) if vehicle and LocalPlayer.Character then local humanoid = LocalPlayer.Character:FindFirstChild("Humanoid") if humanoid and not humanoid.SeatPart then local driveSeat = vehicle:FindFirstChild("DriveSeat") if driveSeat then driveSeat:Sit(humanoid) end end end end end local function partfind() for _, v in pairs(LocalPlayer.PlayerGui:GetDescendants()) do if v:IsA("BillboardGui") and v.Adornee then if v.Adornee.CFrame then return v.Adornee.CFrame end end end return nil end local function destination() local busStops = workspace:FindFirstChild("BusStops") if busStops then for _, v in pairs(busStops:GetDescendants()) do if v.Name == "SelectionBox" and v.Visible and v.Transparency ~= 1 then return v.Parent.CFrame end end end local deliveryDestinations = workspace:FindFirstChild("DeliveryDestinations") if deliveryDestinations then for _, v in pairs(deliveryDestinations:GetDescendants()) do if v.Name == "SelectionBox" and v.Visible and v.Transparency ~= 1 then return v.Parent.CFrame end end end return nil end local function tweenModel(model, targetCFrame, duration) if FARMcurrentTween then FARMcurrentTween:Cancel() FARMcurrentTween = nil end local info = TweenInfo.new( duration, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut ) local CFrameValue = Instance.new("CFrameValue") CFrameValue.Value = model:GetPrimaryPartCFrame() CFrameValue:GetPropertyChangedSignal("Value"):Connect(function() model:SetPrimaryPartCFrame(CFrameValue.Value) if model.PrimaryPart then model.PrimaryPart.AssemblyLinearVelocity = Vector3.zero model.PrimaryPart.AssemblyAngularVelocity = Vector3.zero end end) local tween = TweenService:Create(CFrameValue, info, { Value = targetCFrame }) tween:Play() local tweenCompleted = false tween.Completed:Connect(function() CFrameValue:Destroy() tweenCompleted = true end) FARMcurrentTween = tween repeat task.wait(0.5) until tweenCompleted or FARMstopFarm return tweenCompleted end local function tweenFunction() local vehicle = workspace.Vehicles:FindFirstChild(LocalPlayer.Name) if not vehicle then FARMLastPos = nil return end if vehicle.PrimaryPart == nil then vehicle.PrimaryPart = vehicle:FindFirstChild("Mass", true) end if not vehicle.PrimaryPart then return end local _, size = vehicle:GetBoundingBox() if FARMPos then local currentPosition = vehicle.PrimaryPart.CFrame local downwardPosition = CFrame.new(currentPosition.Position.X, currentPosition.Position.Y + FARMheight, currentPosition.Position.Z) vehicle:SetPrimaryPartCFrame(downwardPosition) if vehicle.PrimaryPart then vehicle.PrimaryPart.AssemblyLinearVelocity = Vector3.zero vehicle.PrimaryPart.AssemblyAngularVelocity = Vector3.zero end if not FARMstopFarm then local adjustedPosition = FARMPos * CFrame.new(0, FARMheight, 0) if not tweenModel(vehicle, adjustedPosition, (adjustedPosition.Position - downwardPosition.Position).Magnitude / math.abs(FARMspeed)) then return end end if not FARMstopFarm then tweenModel(vehicle, (FARMPos * CFrame.new(0, size.Y / 2, 0)), math.abs(FARMheight) / (FARMspeed * 2)) if vehicle.PrimaryPart then local slightForwardPosition = vehicle.PrimaryPart.CFrame * CFrame.new(0, 0, -5) vehicle:SetPrimaryPartCFrame(slightForwardPosition) end end else FARMLastPos = nil end end RunService.RenderStepped:Connect(function() local active = false if busFarmToggle and LocalPlayer.Team and LocalPlayer.Team.Name == "BusCompany" then active = true elseif truckFarmToggle and LocalPlayer.Team and LocalPlayer.Team.Name == "TruckCompany" then active = true end if active then ensurePlayerInVehicleFarm() FARMPos = destination() or partfind() if not FARMcooldown then if not workspace.Vehicles:FindFirstChild(LocalPlayer.Name) then FARMcooldown = true Notify("Please spawn the first vehicle.", 3) task.wait(3) FARMcooldown = false return end FARMcooldown = true FARMPos = destination() or partfind() local significantChange = true if FARMPos and FARMLastPos then local distance = (FARMPos.Position - FARMLastPos.Position).Magnitude significantChange = distance > 1 end if FARMPos and significantChange then if FARMcurrentTween then FARMcurrentTween:Cancel() end FARMstopFarm = true task.wait(0.5) FARMstopFarm = false FARMLastPos = FARMPos tweenFunction() end task.wait(0.5) FARMcooldown = false end end end) AutoFarmTab:AddSlider({ Name = "Farm Height", Min = -50, Max = 50, Default = -10, Color = Color3.fromRGB(255, 255, 255), Increment = 1, ValueName = "studs", Callback = function(Value) FARMheight = Value end }) AutoFarmTab:AddSlider({ Name = "Farm Speed", Min = 50, Max = 300, Default = 110, Color = Color3.fromRGB(255, 255, 255), Increment = 10, ValueName = "speed", Callback = function(Value) FARMspeed = Value end }) AutoFarmTab:AddParagraph("How to use:", "1. Join Bus Company or Truck Company team\n2. Spawn your work vehicle\n3. Enable the appropriate autofarm toggle\n4. Start your work shift") -- ==================== MISC ==================== local noclipEnabled = false local noclipConnection = nil local function noclipFunction() if noclipEnabled then local character = LocalPlayer.Character if character then for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end end MiscTab:AddToggle({ Name = "Noclip", Default = false, Callback = function(v) noclipEnabled = v if v then if not noclipConnection then noclipConnection = RunService.Stepped:Connect(noclipFunction) end else if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end local character = LocalPlayer.Character if character then for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end end end }) local speedHackEnabled = false local speedHackStepSize = 0.1 local speedHackConnection = nil MiscTab:AddToggle({ Name = "Speed Hack", Default = false, Callback = function(Value) speedHackEnabled = Value if Value then if speedHackConnection then speedHackConnection:Disconnect() end speedHackConnection = RunService.Heartbeat:Connect(function() if speedHackEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then local character = LocalPlayer.Character local humanoid = character:FindFirstChild("Humanoid") local direction = humanoid.MoveDirection if direction.Magnitude > 0 then character:SetPrimaryPartCFrame(character.PrimaryPart.CFrame + direction.Unit * speedHackStepSize) end end end) else if speedHackConnection then speedHackConnection:Disconnect() speedHackConnection = nil end end end }) MiscTab:AddBind({ Name = "Speed Hack Keybind", Default = Enum.KeyCode.T, Hold = false, Callback = function() speedHackEnabled = not speedHackEnabled if speedHackEnabled then if speedHackConnection then speedHackConnection:Disconnect() end speedHackConnection = RunService.Heartbeat:Connect(function() if speedHackEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then local character = LocalPlayer.Character local humanoid = character:FindFirstChild("Humanoid") local direction = humanoid.MoveDirection if direction.Magnitude > 0 then character:SetPrimaryPartCFrame(character.PrimaryPart.CFrame + direction.Unit * speedHackStepSize) end end end) else if speedHackConnection then speedHackConnection:Disconnect() speedHackConnection = nil end end end }) MiscTab:AddSlider({ Name = "Speed Hack Speed", Min = 0.1, Max = 0.9, Default = 0.1, Color = Color3.fromRGB(255, 255, 255), Increment = 0.05, ValueName = "Speed", Callback = function(Value) speedHackStepSize = Value end }) local antiFallEnabled = false local antiFallConnection = nil MiscTab:AddToggle({ Name = "Anti-Fall/Damage", Default = false, Callback = function(Value) antiFallEnabled = Value if Value and not antiFallConnection then antiFallConnection = RunService.RenderStepped:Connect(function() local character = LocalPlayer.Character if character then local humanoid = character:FindFirstChild("Humanoid") local rootPart = character:FindFirstChild("HumanoidRootPart") if rootPart and humanoid then if humanoid:GetState() == Enum.HumanoidStateType.Freefall then local velocity = rootPart.Velocity if velocity.Y < -20 then rootPart.Velocity = Vector3.new(velocity.X, -20, velocity.Z) end end if rootPart.Velocity.Y < -50 then rootPart.Velocity = Vector3.new(rootPart.Velocity.X, -50, rootPart.Velocity.Z) end end end end) elseif not Value and antiFallConnection then antiFallConnection:Disconnect() antiFallConnection = nil end end }) local antiTaserEnabled = false local antiTaserConnections = {} local charAddedConnectionAnti = nil local NORMAL_WALKSPEED = 20 local function disconnectAntiTaser() for _, conn in ipairs(antiTaserConnections) do pcall(function() conn:Disconnect() end) end antiTaserConnections = {} end local function setupAntiTaser(char) disconnectAntiTaser() if not char then return end local humanoid = char:FindFirstChildOfClass("Humanoid") local hrp = char:FindFirstChild("HumanoidRootPart") if not humanoid then return end table.insert(antiTaserConnections, humanoid.StateChanged:Connect(function(_, newState) if newState == Enum.HumanoidStateType.PlatformStanding or newState == Enum.HumanoidStateType.Physics then pcall(function() humanoid.PlatformStand = false humanoid:ChangeState(Enum.HumanoidStateType.Running) end) end end)) table.insert(antiTaserConnections, RunService.Heartbeat:Connect(function() if not humanoid.Parent then return end pcall(function() if humanoid.PlatformStand then humanoid.PlatformStand = false end if humanoid.WalkSpeed < NORMAL_WALKSPEED then humanoid.WalkSpeed = NORMAL_WALKSPEED end if hrp and hrp.Anchored then hrp.Anchored = false end end) end)) end MiscTab:AddToggle({ Name = "Anti-Taser", Default = false, Callback = function(Value) antiTaserEnabled = Value if Value then setupAntiTaser(LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()) if not charAddedConnectionAnti then charAddedConnectionAnti = LocalPlayer.CharacterAdded:Connect(function(newChar) task.wait(0.5) if antiTaserEnabled then setupAntiTaser(newChar) end end) end else disconnectAntiTaser() if charAddedConnectionAnti then charAddedConnectionAnti:Disconnect() charAddedConnectionAnti = nil end end end }) -- ==================== SELF REVIVE ==================== SelfReviveTab:AddParagraph("Auto Revive is On", "") SelfReviveTab:AddButton({ Name = "Self Revive", Callback = function() local PlayersSR = game:GetService("Players") local TweenServiceSR = game:GetService("TweenService") local WorkspaceSR = game:GetService("Workspace") local LocalPlayerSR = PlayersSR.LocalPlayer local autoReviveEnabled = true local healthConnectionSR = nil local isHealing = false local function tweenTo(destination) local VehiclesFolderSR = WorkspaceSR:FindFirstChild("Vehicles") local car = VehiclesFolderSR and VehiclesFolderSR:FindFirstChild(LocalPlayerSR.Name) if not car then return false end car.PrimaryPart = car:FindFirstChild("DriveSeat", true) or car.PrimaryPart if car.DriveSeat and LocalPlayerSR.Character and LocalPlayerSR.Character:FindFirstChild("Humanoid") then pcall(function() car.DriveSeat:Sit(LocalPlayerSR.Character.Humanoid) end) end if typeof(destination) == "CFrame" then destination = destination.Position end local function moveTo(targetPosition) if not car.PrimaryPart then return end local distance = (car.PrimaryPart.Position - targetPosition).Magnitude local tweenDuration = math.clamp(distance / 175, 0.05, 20) local tweenInfo = TweenInfo.new(tweenDuration, Enum.EasingStyle.Linear, Enum.EasingDirection.Out) local value = Instance.new("CFrameValue") value.Value = car:GetPivot() local con con = value.Changed:Connect(function(newCFrame) if car and car.Parent then car:PivotTo(newCFrame) if car:FindFirstChild("DriveSeat") then pcall(function() car.DriveSeat.AssemblyLinearVelocity = Vector3.zero car.DriveSeat.AssemblyAngularVelocity = Vector3.zero end) end else if con then con:Disconnect() end end end) local success, err = pcall(function() local tween = TweenServiceSR:Create(value, tweenInfo, { Value = CFrame.new(targetPosition) }) tween:Play() tween.Completed:Wait() end) if con then con:Disconnect() end value:Destroy() if not success then warn("tweenTo moveTo error:", err) end end pcall(function() moveTo(car.PrimaryPart.Position + Vector3.new(0, -4, 0)) end) pcall(function() moveTo(destination + Vector3.new(0, -4, 0)) end) pcall(function() moveTo(destination) end) return true end local function autoHealAndReturn(originalPosition) if isHealing then return true end isHealing = true local char = LocalPlayerSR.Character or LocalPlayerSR.CharacterAdded:Wait() local humanoid = char:FindFirstChild("Humanoid") if not humanoid then isHealing = false return false end local bed = WorkspaceSR:FindFirstChild("Buildings") and WorkspaceSR.Buildings:FindFirstChild("Hospital") and WorkspaceSR.Buildings.Hospital:FindFirstChild("HospitalBed") and WorkspaceSR.Buildings.Hospital.HospitalBed:FindFirstChild("Seat") if not bed then OrionLib:MakeNotification({ Name = "Self-Revive Error", Content = "Error", Time = 4 }) isHealing = false return false end if humanoid.Sit then humanoid.Sit = false humanoid.Jump = true task.wait(0.12) end if char:FindFirstChild("HumanoidRootPart") then local hrp = char.HumanoidRootPart hrp.CFrame = bed.CFrame * CFrame.new(0, 2, 0) task.wait(0.1) pcall(function() hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero end) hrp.CFrame = bed.CFrame * CFrame.new(0, 0.5, 0) task.wait(0.1) end local attempts = 0 while not humanoid.Sit and attempts < 10 do pcall(function() bed:Sit(humanoid) end) attempts = attempts + 1 task.wait(0.1) end local waitTime = 0 while humanoid.Health < humanoid.MaxHealth * 0.9 and waitTime < 30 do task.wait(0.5) waitTime = waitTime + 0.5 end humanoid.Sit = false task.wait(0.2) local car = WorkspaceSR:FindFirstChild("Vehicles") and WorkspaceSR.Vehicles:FindFirstChild(LocalPlayerSR.Name) if car and char:FindFirstChild("HumanoidRootPart") and car:FindFirstChild("DriveSeat") then char.HumanoidRootPart.CFrame = car.DriveSeat.CFrame * CFrame.new(0, 2, 2) task.wait(0.1) pcall(function() car.DriveSeat:Sit(humanoid) end) task.wait(0.2) pcall(function() tweenTo(originalPosition) end) end isHealing = false return true end local function checkHealthAndTeleport() if isHealing then return end local car = WorkspaceSR:FindFirstChild("Vehicles") and WorkspaceSR.Vehicles:FindFirstChild(LocalPlayerSR.Name) if not car then OrionLib:MakeNotification({ Name = "Self-Revive", Content = "No Car Found", Time = 3 }) return end local char = LocalPlayerSR.Character or LocalPlayerSR.CharacterAdded:Wait() local humanoid = char:FindFirstChild("Humanoid") if not humanoid then return end local success, originalPos = pcall(function() return car:GetPivot().Position end) if not success or not originalPos then return end local hospital = CFrame.new(-120.30, 5.61, 1077.29) if humanoid.Health <= humanoid.MaxHealth * 0.27 then if tweenTo(hospital) then task.wait(1.5) autoHealAndReturn(originalPos) end end end local function enableAutoRevive(val) autoReviveEnabled = val if val then local char = LocalPlayerSR.Character or LocalPlayerSR.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") if healthConnectionSR then pcall(function() healthConnectionSR:Disconnect() end) healthConnectionSR = nil end healthConnectionSR = humanoid.HealthChanged:Connect(function(hp) if autoReviveEnabled and not isHealing and hp <= humanoid.MaxHealth * 0.27 then pcall(function() checkHealthAndTeleport() end) end end) OrionLib:MakeNotification({ Name = "Self Revive", Content = "Succes", Time = 3 }) else if healthConnectionSR then pcall(function() healthConnectionSR:Disconnect() end) healthConnectionSR = nil end end end LocalPlayerSR.CharacterAdded:Connect(function(char) task.wait(1) if autoReviveEnabled then local humanoid = char:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(hp) if autoReviveEnabled and not isHealing and hp <= humanoid.MaxHealth * 0.27 then pcall(function() checkHealthAndTeleport() end) end end) end end) enableAutoRevive(true) end }) OrionLib:Init()