From venuslock, 1 Week ago, written in Plain Text.
Embed
  1. local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/obeseinsect/roblox/main/Ui%20Libraries/Elerium.lua'))()
  2. local ESP = loadstring(game:HttpGet("https://raw.githubusercontent.com/obeseinsect/roblox/main/Other%20Libraries/KiriotESP.lua"))()
  3. ESP:Toggle(true); ESP.Players = false; ESP.Color = Color3.fromRGB(128,234,255)
  4.  
  5. local player = game.Players.LocalPlayer
  6. local cam = workspace.CurrentCamera
  7. local keys = debug.getupvalue(require(player.PlayerScripts.Client.Bullets).lm, 1)
  8. local nevermore = require(game:GetService("ReplicatedStorage").Nevermore)
  9.  
  10. ESP:AddObjectListener(workspace.Ignore.Items, {
  11.     Color = Color3.fromRGB(102,255,102),
  12.     Type = 'Model',
  13.     PrimaryPart = function(obj) while not obj:FindFirstChildWhichIsA('Part') do wait() end return obj:FindFirstChildWhichIsA('Part') end,
  14.     IsEnabled = function(obj) return ESP[obj.Name] and player:DistanceFromCharacter(obj.PrimaryPart.Position) < itemRange end
  15. })
  16. ESP:AddObjectListener(workspace.Entities.Infected, {
  17.     Color = Color3.fromRGB(255,102,102),
  18.     Type = 'Model',
  19.     PrimaryPart = function(obj) while not obj:FindFirstChildWhichIsA('Part') do wait() end return obj:FindFirstChildWhichIsA('Part') end,
  20.     IsEnabled = function(obj) return ESP.Zombies and player:DistanceFromCharacter(obj.PrimaryPart.Position) < zombieRange end
  21. })
  22.  
  23. -- game.Players.LocalPlayer.PlayerScripts.Client.Bullets
  24. -- Generates the key needed to fire the GiveDamage remote
  25. local getKey = function()
  26.     local v41 = string.reverse(tostring(nevermore:GetTime() * 1 + 1337))
  27.     local v42 = string.sub(v41, string.len(v41) - 5, string.len(v41) - 3) .. string.sub(v41, 1, string.len(v41) - 10) .. string.sub(v41, string.len(v41) - 2, string.len(v41)) .. string.sub(v41, string.len(v41) - 9, string.len(v41) - 6)
  28.     local v40 = ""
  29.     for v43 = 1, string.len(v42) do
  30.         local v44 = string.sub(v42, v43, v43)
  31.         local v45 = v44
  32.         if keys[v44] then
  33.             v45 = keys[v44]
  34.         end
  35.         v40 = v40 .. v45
  36.     end
  37.     return v40
  38. end
  39.  
  40. local pickupItems = function()
  41.     local itemsFolder = workspace.Ignore.Items:GetChildren()
  42.     for i = 1, #itemsFolder do local item = itemsFolder[i]
  43.         local part = item:FindFirstChildWhichIsA('Part')
  44.         if part and player:DistanceFromCharacter(part.Position) < 7.5 then
  45.             game:GetService("ReplicatedStorage").RF:InvokeServer('CheckInteract', {["Target"] = {["Mag"] = player:DistanceFromCharacter(part.Position), ["Type"] = "Item", ["CanInteract"] = true, ["Obj"] = item}})
  46.         end
  47.     end
  48. end
  49.  
  50. local damageClosest = function()
  51.     local dist, target, zombFolder = math.huge, nil, workspace.Entities.Infected:GetChildren()
  52.     for i = 1, #zombFolder do local zomb = zombFolder[i]
  53.         if zomb:FindFirstChild('HumanoidRootPart') then
  54.             local _, visible = cam:WorldToViewportPoint(zomb.HumanoidRootPart.Position)            
  55.             local newDist = player:DistanceFromCharacter(zomb.HumanoidRootPart.Position)
  56.             if visible and newDist < dist then
  57.                 dist = newDist; target = zomb
  58.             end
  59.         end
  60.     end
  61.     if target then
  62.     game:GetService("ReplicatedStorage").RE:FireServer('GiveDamage', {
  63.         ["En"] = getKey(), ["AIs"] = {[1] = {["AI"] = target, ["Velocity"] = Vector3.new(), ["Special"] = "Headshot", Damage = 100}}})
  64.     end
  65. end
  66.  
  67. do
  68.         local Window = library:AddWindow("Those Who Remain - Cameron was here", {
  69.                 main_color = Color3.fromRGB(41, 74, 122),
  70.                 min_size = Vector2.new(400, 500),
  71.                 toggle_key = Enum.KeyCode.RightShift,
  72.                 can_resize = true,
  73.         })
  74.     local gTab = Window:AddTab("Game")
  75.         do
  76.                 local kAll = gTab:AddSwitch("Kill All Zombies", function(v) killAll = v end)
  77.         gTab:AddKeybind("Kill All", function(v) killAll = not killAll kAll:Set(killAll) end, {["standard"] = Enum.KeyCode.T})
  78.                 gTab:AddSwitch("Silent Aim", function(v) silentAim = v end)
  79.                 gTab:AddSwitch("Item Aura (7m)", function(v) itemAura = v end)
  80.         end
  81.         local visuals = Window:AddTab("Visuals")
  82.         do
  83.         visuals:AddSwitch("Player ESP", function(v) ESP.Players = v end)
  84.                 visuals:AddSwitch("Zombie ESP", function(v) ESP.Zombies = v end)
  85.         local zombRangeSlider = visuals:AddSlider("Zombie Range", function(v) zombieRange = v end, {["min"] = 0, ["max"] = 2500, ["readonly"] = false})
  86.  
  87.         local itemEsp = visuals:AddFolder("Item ESP")
  88.         local itemRangeSlider = itemEsp:AddSlider("Range", function(v) itemRange = v end, {["min"] = 0, ["max"] = 1000, ["readonly"] = false})
  89.         for i, v in pairs(game:GetService("ReplicatedStorage").Models["Item Pickups"]:GetChildren()) do
  90.             itemEsp:AddSwitch(v.Name, function(e) ESP[v.Name] = e end)
  91.         end
  92.         end
  93.         gTab:Show()
  94.         library:FormatWindows()
  95. end
  96.  
  97. local mt = getrawmetatable(game)
  98. local old = mt.__namecall
  99. setreadonly(mt, false)
  100. mt.__namecall = newcclosure(function(self, ...)
  101.     local args = {...}
  102.     if silentAim and args[1] == 'GlobalReplicate' and args[2].RecoilScale then
  103.         damageClosest()
  104.         return old(self, ...)
  105.     end
  106.     return old(self, ...)
  107. end)
  108.  
  109. while wait() do
  110.     if killAll then damageClosest() end
  111.     if itemAura then pickupItems() end
  112. end