NOX MOD PUBG 🇮🇩
Closed channel
905
Subscribers
No data24 hours
-77 days
-1730 days
Posts Archive
local function ESPTick()
if not Client then return end
local uCon = slua_GameFrontendHUD:GetPlayerController()
if not (Valid(uCon) and Game:IsClassOf(uCon, ASTExtraPlayerController)) then
return
end
local currentPawn = uCon:GetPlayerCharacterSafety()
if not Valid(currentPawn) then
return
end
local myTeamId = currentPawn.TeamID
local myPos = currentPawn:K2_GetActorLocation()
local HUD = uCon:GetHUD()
local now = os.clock()
local myEyePos = currentPawn:GetHeadLocation(false) or currentPawn:K2_GetActorLocation()
if now - lastPawnRefresh > 1.0 then
lastPawnRefresh = now
cachedPawns = Game:GetAllPlayerPawns() or {}
end
for idx, tPawn in pairs(cachedPawns) do
if Valid(tPawn) and tPawn ~= currentPawn and tPawn.TeamID ~= myTeamId then
local enemyPos = tPawn:K2_GetActorLocation()
local dx = enemyPos.X - myPos.X
local dy = enemyPos.Y - myPos.Y
local dz = enemyPos.Z - myPos.Z
local distM = math.sqrt(dx * dx + dy * dy + dz * dz) / 100
if IsPawnAlive(tPawn) then
local isAI = IsAI(tPawn)
if CONFIG.SHOW_AI == 0 and isAI then goto continue end
if distM <= CONFIG.DRAW_DISTANCE then
if CONFIG.NAME == 1 and HUD then
local fontSize = GetNameFontSize(distM, CONFIG.DRAW_DISTANCE, CONFIG.MIN_NAME_FONT,
CONFIG.MAX_NAME_FONT)
local name = GetDisplayName(tPawn)
local teamId = tPawn.TeamID or 0
local hp = tPawn.GetHealth and (tPawn:GetHealth() or 0) or tPawn.Health or 0
local maxHp = tPawn.GetHealthMax and (tPawn:GetHealthMax() or 100) or tPawn.HealthMax or 100
local hpPercent = maxHp > 0 and hp / maxHp or 0
-- Warna berdasarkan HP
local hpColor
if hpPercent < 0.001 then
hpColor = { R = 100, G = 100, B = 100, A = 255 }
elseif hpPercent < 0.3 then
hpColor = { R = 255, G = 0, B = 0, A = 255 }
elseif hpPercent < 0.6 then
hpColor = { R = 255, G = 255, B = 0, A = 255 }
else
hpColor = { R = 0, G = 255, B = 0, A = 255 }
end
local hpBarFilled = math.floor(hpPercent * 5)
local hpBarEmpty = 5 - hpBarFilled
local hpBar = string.rep("▃▃", hpBarFilled) .. string.rep("", hpBarEmpty)
local nameText
if teamId > 100 then
nameText = string.format("%s %.0fm", name, distM)
else
nameText = string.format("%s %.0fm", name, distM)
end
local namePos = {
X = 0,
Y = 0,
Z = GetZOffset(distM)
}
local hpPos = {
X = 0,
Y = 0,
Z = GetZOffset(distM) - 15
}
HUD:AddDebugText(
nameText,
tPawn,
0.3,
namePos,
namePos,
hpColor,
true,
false,
true,
nil,
fontSize,
true
)
HUD:AddDebugText(
hpBar,
tPawn,
0.3,
hpPos,
hpPos,
hpColor,
true,
false,
true,
nil,
fontSize,
true
)
end
end
end
end
::continue::
end
end
buat dengan
ProjectWorldLocationToScreen bisa?
Repost from EXcSTORE
+8
#SAFE
#NOREFF
LOGIN LINK+X SEPAKET
FACEBOOK PROSES UNBIN 2DAY
OWNER RESET
ACC LV 60
SET GOOD SKIN
HELM GOOD SKIN
RANSEL GOOD SKIN
LEB 3
M4 SEALED NETHER LVL2
DLL
SPEK LENGKAP CEK SS
HARGA 300k
PM @ELcIxChan
CH https://t.me/+Bi1zT0ixln00OTM1
Available now! Telegram Research 2025 — the year's key insights 
