Ha, i`ve forgot that end. I`ve not used a lot this feature, what you`re doing now can be done also with OnLTick, but since we`re here, it`s a matter of remaking the coroutine, so lets make it like this:
This way works, as long as you don't spam "rebuff" before the coroutine ends. Thanks. I also finished the random movement script.
Code:
function Destination(Var)
if Var == 1 then MoveTo(-34373, 128848, -3347, moveDistance);
elseif Var == 2 then MoveTo(-34332, 128761, -3345, moveDistance);
elseif Var == 3 then MoveTo(-33948, 128683, -3439, moveDistance);
elseif Var == 4 then MoveTo(-34185, 128955, -3402, moveDistance);
elseif Var == 5 then MoveTo(-34209, 128798, -3379, moveDistance);
elseif Var == 6 then MoveTo(-34550, 128744, -3299, moveDistance);
elseif Var == 7 then MoveTo(-34358, 128567, -3350, moveDistance);
end;
end;
function OnTargetUnselected(user)
if (aiureaMove == true) then
moverandom = coroutine.wrap ( function()
Var = math.ceil(math.random(1,7))
Destination(Var)
Var = math.ceil(math.random(1,7))
Destination(Var)
Var = math.ceil(math.random(1,7))
Destination(Var)
Var = math.ceil(math.random(1,7))
Destination(Var)
Var = math.ceil(math.random(1,7))
Destination(Var)
coroutine.yield() end)
this:StartThread("moverandom");
end;
end;
Only thing now is that they've implemented a captcha ..
I've captured the HTML code but I don't have any idea how to select the needed numbers, send them back and confirm.
Code:
Captcha
There is possibility that you are a bot or script using player.