Code:
local tries = 5
----------------------------
while (true) do
if (Self.ItemCount(5942) >= 1 and Self.TargetID() == 0) then
for x = -7, 7, 1 do
for y = -5, 5, 1 do
local item = Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y,
Self.Position().z)
if (item.id == 4097 and tries >= 0) then
delayWalker(2000)
Self.UseItemWithGround(5942, Self.Position().x + x, Self.Position().y + y,
Self.Position().z)
wait(300,1000)
tries = tries-1
end
end
end
end
wait(400)
end
Nevermind fixed, it now works, after 5x it will continue walking!
Altho, after it failed becuz of standing on the body and failing 5x. It seems like it wont reactivate, and stops skinning any demons, didnt test this troughly, cuz I went to bed. Might wanna take a look at it?!
@Joshwa534, replace this for your demodust once you've fixed the re-activate issue or add the x amount of tries yourself. Since this saves u standing on the body for like 4 minutes :P