From b794dcde3043e9adc209fd6ab264a8ee2ac0d69c Mon Sep 17 00:00:00 2001 From: Dreamzlol Date: Sun, 5 Feb 2023 20:05:41 +0100 Subject: [PATCH] minor change --- scripts/assasination.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/assasination.lua b/scripts/assasination.lua index 5308aff..f80c69c 100644 --- a/scripts/assasination.lua +++ b/scripts/assasination.lua @@ -16,17 +16,16 @@ Draw:Sync(function(draw) local px, py, pz = ObjectPosition('player') local distance = ObjectDistance('player', 'target') + draw:Circle(px, py, pz, 5) + draw:SetColor(230, 230, 250) + draw:SetAlpha(50) + if Target:Exists() then if Round(distance) <= 6 then draw:SetColor(144, 238, 144) draw:SetAlpha(200) end - if Round(distance) >= 6 then - draw:SetColor(230, 230, 250) - draw:SetAlpha(50) - end end - draw:Circle(px, py, pz, 5) end) -- SpellBook