Advertisement
Steamhesaproblox

Roblox Esp script

Jun 22nd, 2025
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RBScript 4.98 KB | Gaming | 0 0
  1. loadstring(game:HttpGet("https://raw.githubusercontent.com/Pixeluted/adoniscries/main/Source.lua", true))()
  2. loadstring(game:HttpGet("https://raw.githubusercontent.com/Nosssa/NossLock/main/UniversalGuiDetectionBypass"))()
  3.  
  4. local players = game:GetService("Players")
  5. local localPlayer = players.LocalPlayer
  6. local uis = game:GetService("UserInputService")
  7. local runService = game:GetService("RunService")
  8. local cam = workspace.CurrentCamera
  9.  
  10. local espEnabled = false
  11. local espObjects = {}
  12.  
  13. local function clearESP()
  14.     for _, data in pairs(espObjects) do
  15.         if data.Text then data.Text:Destroy() end
  16.         if data.Cham then data.Cham:Destroy() end
  17.     end
  18.     table.clear(espObjects)
  19. end
  20.  
  21. local function refreshESP()
  22.     clearESP()
  23.     if not espEnabled then return end
  24.  
  25.     for _, player in ipairs(players:GetPlayers()) do
  26.         if player ~= localPlayer and player.Character and player.Character:FindFirstChild("Head") and player.Character:FindFirstChildOfClass("Humanoid") then
  27.             local char = player.Character
  28.  
  29.             local billboard = Instance.new("BillboardGui")
  30.             billboard.Adornee = char.Head
  31.             billboard.Size = UDim2.new(0, 100, 0, 20)
  32.             billboard.AlwaysOnTop = true
  33.             billboard.StudsOffset = Vector3.new(0, 2.5, 0)
  34.             billboard.Parent = char.Head
  35.  
  36.             local label = Instance.new("TextLabel")
  37.             label.Size = UDim2.new(1, 0, 1, 0)
  38.             label.BackgroundTransparency = 1
  39.             label.TextColor3 = Color3.fromRGB(255, 255, 255)
  40.             label.TextStrokeTransparency = 0.4
  41.             label.Font = Enum.Font.Gotham
  42.             label.TextScaled = false
  43.             label.TextSize = 15
  44.             label.Text = player.Name
  45.             label.Parent = billboard
  46.  
  47.             local cham = Instance.new("Highlight")
  48.             cham.FillTransparency = 0.75
  49.             cham.OutlineTransparency = 1
  50.             cham.FillColor = player.Team and player.Team.TeamColor.Color or Color3.fromRGB(255, 0, 0)
  51.             cham.Parent = char
  52.  
  53.             table.insert(espObjects, {Text = billboard, Cham = cham, Player = player})
  54.         end
  55.     end
  56. end
  57.  
  58. local function espHeartbeatUpdate()
  59.     if not espEnabled then return end
  60.     for i = #espObjects, 1, -1 do
  61.         local data = espObjects[i]
  62.         if data.Player and data.Player.Character and data.Player.Character:FindFirstChild("Head") and data.Player.Character:FindFirstChildOfClass("Humanoid") then
  63.             local dist = (localPlayer.Character and localPlayer.Character:FindFirstChild("Head") and (localPlayer.Character.Head.Position - data.Player.Character.Head.Position).Magnitude) or 0
  64.             local hp = math.floor(data.Player.Character:FindFirstChildOfClass("Humanoid").Health)
  65.             data.Text.TextLabel.Text = string.format("%s | %dm | %d HP", data.Player.Name, dist, hp)
  66.  
  67.             if dist > 500 then
  68.                 data.Cham.Enabled = false
  69.             else
  70.                 data.Cham.Enabled = true
  71.             end
  72.         else
  73.             if data.Text then data.Text:Destroy() end
  74.             if data.Cham then data.Cham:Destroy() end
  75.             table.remove(espObjects, i)
  76.         end
  77.     end
  78. end
  79.  
  80. local function toggleESP(state)
  81.     espEnabled = state
  82.     if espEnabled then
  83.         refreshESP()
  84.     else
  85.         clearESP()
  86.     end
  87. end
  88.  
  89. local function attachLight()
  90.     local function createLight()
  91.         local char = localPlayer.Character
  92.         if not char then return end
  93.         local hrp = char:FindFirstChild("HumanoidRootPart")
  94.         if not hrp then return end
  95.  
  96.         if hrp:FindFirstChild("CustomPointLight") then return end
  97.  
  98.         local light = Instance.new("PointLight")
  99.         light.Name = "CustomPointLight"
  100.         light.Parent = hrp
  101.         light.Color = Color3.fromRGB(255, 255, 255)
  102.         light.Brightness = 10
  103.         light.Range = 7
  104.         light.Shadows = true
  105.  
  106.         task.spawn(function()
  107.             while light and light.Parent do
  108.                 for i = 8, 12, 0.5 do
  109.                     light.Brightness = i
  110.                     task.wait(0.05)
  111.                 end
  112.                 for i = 12, 8, -0.5 do
  113.                     light.Brightness = i
  114.                     task.wait(0.05)
  115.                 end
  116.             end
  117.         end)
  118.     end
  119.  
  120.     createLight()
  121.  
  122.     localPlayer.CharacterAdded:Connect(function()
  123.         wait(0.5)
  124.         createLight()
  125.         if espEnabled then refreshESP() end
  126.     end)
  127. end
  128.  
  129. attachLight()
  130.  
  131. uis.InputBegan:Connect(function(input, processed)
  132.     if processed or uis:GetFocusedTextBox() then return end
  133.  
  134.     if input.KeyCode == Enum.KeyCode.Y then
  135.         toggleESP(not espEnabled)
  136.     elseif input.KeyCode.Name == "Print" or input.KeyCode == Enum.KeyCode.F8 then
  137.         toggleESP(false)
  138.     end
  139. end)
  140.  
  141. players.PlayerAdded:Connect(function(p)
  142.     p.CharacterAdded:Connect(function()
  143.         wait(0.5)
  144.         if espEnabled then refreshESP() end
  145.     end)
  146. end)
  147.  
  148. runService.Heartbeat:Connect(espHeartbeatUpdate)
  149.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement