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

Teemo script [BOL]

quindeler

Pipeline Operator
Q Rep
0
0
0
Rep
0
Q Vouches
0
0
0
Vouches
0
Posts
146
Likes
188
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Today im gonna release here the first script i coded for BotofLegends.
Its nothing special just a table of shroom spots.
There is no hotkey or anything just walk arround and Teemo will place the shrooms full automated.
Have Fun
Code:
if myHero.charName ~= "Teemo" then return end	local Rrange, Rwidth, Rspeed, Rdelay = 230, 75, 2000, 0.1	local ShroomCounter = 0	local ShroomTable = nil		local RReady = false			local canRhrs = false				local canRrota = falsefunction OnLoad()_create_shroom_tables()PrintChat("ShroomSpots by MagicR00T. ...successful loaded")endfunction _placeShroomVIP()for i, spot in pairs(ShroomTableVIP) do	if GetDistance(spot) <= 250 and not _IsShroom(spot) then		CastSpell(_R, spot.x, spot.z)	endendendfunction _initiateTS()	ts = TargetSelector(TARGET_LOW_HP, TarsRange)	ts.name = ""..myHero.charNameendfunction _IsShroom(place)	for i=1, objManager.maxObjects do	local obj = objManager:getObject(i)		if obj ~= nil and obj.name ~= nil and obj.name:find("Noxious Trap") then			if GetDistance(obj, place) <= 250 then				return true			end		end	end		return falseendfunction OnProcessSpell(object, spell)	if object == myHero then		if spell.name:lower():find("attack") then			lastAttack = GetTickCount() - GetLatency()/2			lastWindUpTime = spell.windUpTime*1000			lastAttackCD = spell.animationTime*1000		end 	end	if spell.name=="BantamTrap" then		ShroomCounter = ShroomCounter - 1			endendfunction OnTick()_placeShroomVIP()_IsShroom(place)endfunction _create_shroom_tables()ShroomTableVIP = {		                         { x = 5497.9516601563, y = 51.348388671875, z = 3510.4780273438},                         { x = 6248.0419921875, y = 48.531005859375, z = 4929.0029296875},                         { x = 6573.0341796875, y = 48.526977539063, z = 4693.4296875},                         { x = 8575.0703125, y = -43.901123046875, z = 5559.853515625},                         { x = 8599.25390625, y = 52.34228515625, z = 4947.7827148438},                         { x = 7235.8901367188, y = 52.096435546875, z = 3745.2211914063},                         { x = 8291.42578125, y = 53.854614257813, z = 7502.9584960938},                         { x = 7566.228515625, y = 52.9228515625, z = 7950.0278320313},                         { x = 6628.2734375, y = 52.094360351563, z = 7253.515625},                         { x = 6536.369140625, y = -71.2109375, z = 8338.56640625},                         { x = 6271.669921875, y = -59.84033203125, z = 9289.6455078125},                         { x = 8239.9345703125, y = 49.72607421875, z = 10230.9921875},                         { x = 7861.283203125, y = 50.755859375, z = 10072.662109375},                         { x = 7814.6235351563, y = 50.54638671875, z = 10417.984375},                         { x = 7439.259765625, y = 49.86767578125, z = 11636.0078125},                         { x = 7998.5112304688, y = 56.476684570313, z = 11863.331054688},                         { x = 9011.7021484375, y = 54.062622070313, z = 11230.62109375},                         { x = 9398.52734375, y = 52.316040039063, z = 11327.219726563},                         { x = 9540.0244140625, y = 52.30615234375, z = 11379.422851563},                         { x = 10435.416015625, y = 82.721069335938, z = 10616.88671875},                         { x = 11290.201171875, y = 52.30615234375, z = 9873.9697265625},                         { x = 11915.736328125, y = 52.30615234375, z = 9829.2822265625},                         { x = 12221.053710938, y = 52.30615234375, z = 9771.111328125},                         { x = 12069.870117188, y = 50.334106445313, z = 8998.1259765625},                         { x = 12025.6171775, y = 51.735961914063, z = 7179.19140625},                         { x = 11192.857421875, y = 51.709350585938, z = 6861.9028320313},                         { x = 11533.270507813, y = 51.717651367188, z = 6769.2250976563},                         { x = 11245.932617188, y = 50.009155273438, z = 5985.408203125},                         { x = 11218.297851563, y = -70.047485351563, z = 5144.9365234375},                         { x = 10763.504882813, y = -63.810180664063, z = 5415.3012695313},                         { x = 10352.844726563, y = -64.010864257813, z = 4980.0400390625},                         { x = 10110.34375, y = -71.240600585938, z = 4880.9389648438},                         { x = 8933.5517578125, y = -71.240600585938, z = 5570.974609375},                         { x = 2709.751953125, y = 53.091430664063, z = 5143.158203125},                         { x = 2622.1557617188, y = 50.073852539063, z = 7116.0239257813},                         { x = 3030.2587890625, y = 51.863647460938, z = 7185.435546875},                         { x = 4158.8515625, y = 52.503295898438, z = 6015.3251953125},                         { x = 4333.3862304688, y = 52.503540039063, z = 5894.0458984375},                         { x = 4829.2436523438, y = 51.228759765625, z = 5980.5087890625},                         { x = 4870.4604492188, y = 51.2568359375, z = 7527.9096679688},                         { x = 4713.2021484375, y = 41.259033203125, z = 8338.609375},                         { x = 4500.33984375, y =  48.9521484375, z = 8183.7939453125},                         { x = 3934.4333496094, y = -71.195068359375, z = 9528.78515625},                         { x = 4216.5190429688, y = -66.11962890625, z = 9384.62890625},                         { x = 4372.7485351563, y = -68.344848632813, z = 9798.091796875},                         { x = 3236.8935546875, y = -64.265380859375, z = 10761.822265625},                         { x = 3868.6723632813, y = -23.527221679688, z = 11549.626953125},                         { x = 5601.0297851563, y = 52.838012695313, z = 12731.657226563},                         { x = 4476.4287109375, y = 56.836791992188, z = 11853.546875},                         { x = 3759.3916015625, y = 56.476684580313, z = 12561.76171875},                         { x = 3659.7668457031, y = 52.838134765625, z = 12977.184570313},                         { x = 1685.2353515625, y = 52.838012695313, z = 12948.412109375},                         { x = 1172.1247558594, y = 52.838012695313, z = 12270.479492188},                         { x = 2487.4816894531, y = 52.838134765625, z = 13515.599609375},                         { x = 10567.133789063, y = 39.04052734375, z = 3325.3212890625},                         { x = 12376.719726563, y = 50.465087890625, z = 3186.2592773438},                         { x = 11341.766601563, y = -71.24072265625, z = 3763.3618164063},                         { x = 11338.915039063, y = -71.240844726563, z = 4222.9233398438},                         { x = 10920.286132813, y = -68.335205078125, z = 4619.5131835938},                         { x = 11032.2265625, y = -71.240844726563, z = 4064.5024414063},                         { x = 11112.909179688, y = -71.190551757813, z = 3884.6166992188},                         { x = 12263.008789063, y = 51.631958007813, z = 13941323242188},                         { x = 12552.544921875, y = 52.740844726563, z = 1610.26953125},                         { x = 13397.829101563, y = 51.366943359375, z = 2739.6831054688},                         { x = 12225.744140625, y = -7.7774658203125, z = 3381.4721679688},                         { x = 9736.9130859375, y = -69.491455078125, z = 6201.33078125},                         { x = 10094.578125, y = 51.982055664063, z = 6824.8251953125},                         { x = 10465.826171875, y = 51.68212890625, z = 7485.1845703125},                         { x = 10195.259765625, y = 51.689697265625, z = 7768.4912109375},                         { x = 7712.9760742188, y = 52.872680664063, z = 8704.9814453125},                         { x = 7209.6196289063, y = 52.872680664063, z = 8930.349609375},                         { x = 5803.5659179688, y = 56.291748046875, z = 11029.46875},                         { x = 3287.2775878906, y = 51.36767578125, z = 8957.0859375}				} 				end
LUA file dl:
You must upgrade your account or reply in the thread to view hidden text.
Edited by magicr00t., 01 March 2018 - 04:09 PM.
 

438,740

315,860

315,869

Top