• We just launched and are currently in beta. Join us as we build and grow the community.

i dont know what it dont working

mahmoudkandeel

Pay-Per-Lead Specialist
M Rep
0
0
0
Rep
0
M Vouches
0
0
0
Vouches
0
Posts
184
Likes
45
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
Code:
local ts
function OnLoad()
	ts = TargetSelector(TARGET_LOW_HP_PRIORITY,650)
end
function OnTick()
	CastQ()
	CastW()
	CastE()
	CastR()
end
function CastQ()
	ts:update()
	if ts.target ~= nil then
		if myHero:CanUseSpell(_Q) == READY then
			CastSpell(_Q, ts.target)
		end
	end
end
function CastW()
	ts:update()
	if ts.target ~= nil then
		if myHero:CanUseSpell(_W) == READY then
			CastSpell(_W, ts.target.x, ts.target.y)
		end
	end
end
function CastE()
	if myHero.health < 1000 then
		if myHero:CanUseSpell(_E) == READY then
			CastSpell(_E)
		end
	end
end
function CastR()
	ts:update()
	if ts.target ~= nil then
		if myHero:CanUseSpell(_R) == READY then
			CastSpell(_R, ts.target.x, ts.target.y)
		end
	end
end
function OnDraw()
	RangeQDraw()
	RangeWDraw()
	RangeRDraw()
end
function RangeQDraw()
	DrawCircle(myHero.x, myHero.y, myHero.z, 650, 0xFF00FF00)
end
function RangeWDraw()
	DrawCircle(myHero.x, myHero.y, myHero.z, 625, 0x00FF00FF)
end
function RangeRDraw()
	DrawCircle(myHero.x, myHero.y, myHero.z, 600, 0xF0F0F0F0)
end
idk why this shit spams E all time
 

442,401

317,942

317,951

Top