Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Pixeluted/adoniscries/main/Source.lua", true))()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Nosssa/NossLock/main/UniversalGuiDetectionBypass"))()
- local players = game:GetService("Players")
- local localPlayer = players.LocalPlayer
- local uis = game:GetService("UserInputService")
- local runService = game:GetService("RunService")
- local cam = workspace.CurrentCamera
- local espEnabled = false
- local espObjects = {}
- local function clearESP()
- for _, data in pairs(espObjects) do
- if data.Text then data.Text:Destroy() end
- if data.Cham then data.Cham:Destroy() end
- end
- table.clear(espObjects)
- end
- local function refreshESP()
- clearESP()
- if not espEnabled then return end
- for _, player in ipairs(players:GetPlayers()) do
- if player ~= localPlayer and player.Character and player.Character:FindFirstChild("Head") and player.Character:FindFirstChildOfClass("Humanoid") then
- local char = player.Character
- local billboard = Instance.new("BillboardGui")
- billboard.Adornee = char.Head
- billboard.Size = UDim2.new(0, 100, 0, 20)
- billboard.AlwaysOnTop = true
- billboard.StudsOffset = Vector3.new(0, 2.5, 0)
- billboard.Parent = char.Head
- local label = Instance.new("TextLabel")
- label.Size = UDim2.new(1, 0, 1, 0)
- label.BackgroundTransparency = 1
- label.TextColor3 = Color3.fromRGB(255, 255, 255)
- label.TextStrokeTransparency = 0.4
- label.Font = Enum.Font.Gotham
- label.TextScaled = false
- label.TextSize = 15
- label.Text = player.Name
- label.Parent = billboard
- local cham = Instance.new("Highlight")
- cham.FillTransparency = 0.75
- cham.OutlineTransparency = 1
- cham.FillColor = player.Team and player.Team.TeamColor.Color or Color3.fromRGB(255, 0, 0)
- cham.Parent = char
- table.insert(espObjects, {Text = billboard, Cham = cham, Player = player})
- end
- end
- end
- local function espHeartbeatUpdate()
- if not espEnabled then return end
- for i = #espObjects, 1, -1 do
- local data = espObjects[i]
- if data.Player and data.Player.Character and data.Player.Character:FindFirstChild("Head") and data.Player.Character:FindFirstChildOfClass("Humanoid") then
- local dist = (localPlayer.Character and localPlayer.Character:FindFirstChild("Head") and (localPlayer.Character.Head.Position - data.Player.Character.Head.Position).Magnitude) or 0
- local hp = math.floor(data.Player.Character:FindFirstChildOfClass("Humanoid").Health)
- data.Text.TextLabel.Text = string.format("%s | %dm | %d HP", data.Player.Name, dist, hp)
- if dist > 500 then
- data.Cham.Enabled = false
- else
- data.Cham.Enabled = true
- end
- else
- if data.Text then data.Text:Destroy() end
- if data.Cham then data.Cham:Destroy() end
- table.remove(espObjects, i)
- end
- end
- end
- local function toggleESP(state)
- espEnabled = state
- if espEnabled then
- refreshESP()
- else
- clearESP()
- end
- end
- local function attachLight()
- local function createLight()
- local char = localPlayer.Character
- if not char then return end
- local hrp = char:FindFirstChild("HumanoidRootPart")
- if not hrp then return end
- if hrp:FindFirstChild("CustomPointLight") then return end
- local light = Instance.new("PointLight")
- light.Name = "CustomPointLight"
- light.Parent = hrp
- light.Color = Color3.fromRGB(255, 255, 255)
- light.Brightness = 10
- light.Range = 7
- light.Shadows = true
- task.spawn(function()
- while light and light.Parent do
- for i = 8, 12, 0.5 do
- light.Brightness = i
- task.wait(0.05)
- end
- for i = 12, 8, -0.5 do
- light.Brightness = i
- task.wait(0.05)
- end
- end
- end)
- end
- createLight()
- localPlayer.CharacterAdded:Connect(function()
- wait(0.5)
- createLight()
- if espEnabled then refreshESP() end
- end)
- end
- attachLight()
- uis.InputBegan:Connect(function(input, processed)
- if processed or uis:GetFocusedTextBox() then return end
- if input.KeyCode == Enum.KeyCode.Y then
- toggleESP(not espEnabled)
- elseif input.KeyCode.Name == "Print" or input.KeyCode == Enum.KeyCode.F8 then
- toggleESP(false)
- end
- end)
- players.PlayerAdded:Connect(function(p)
- p.CharacterAdded:Connect(function()
- wait(0.5)
- if espEnabled then refreshESP() end
- end)
- end)
- runService.Heartbeat:Connect(espHeartbeatUpdate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement