minor change

main
Dreamzlol 2 years ago
parent 68a63bd397
commit b794dcde30
  1. 9
      scripts/assasination.lua

@ -16,17 +16,16 @@ Draw:Sync(function(draw)
local px, py, pz = ObjectPosition('player') local px, py, pz = ObjectPosition('player')
local distance = ObjectDistance('player', 'target') local distance = ObjectDistance('player', 'target')
draw:Circle(px, py, pz, 5)
draw:SetColor(230, 230, 250)
draw:SetAlpha(50)
if Target:Exists() then if Target:Exists() then
if Round(distance) <= 6 then if Round(distance) <= 6 then
draw:SetColor(144, 238, 144) draw:SetColor(144, 238, 144)
draw:SetAlpha(200) draw:SetAlpha(200)
end end
if Round(distance) >= 6 then
draw:SetColor(230, 230, 250)
draw:SetAlpha(50)
end
end end
draw:Circle(px, py, pz, 5)
end) end)
-- SpellBook -- SpellBook

Loading…
Cancel
Save