Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By CrazySwe
- local WATER_FISH = {4597, 4598, 4599, 4600, 4601, 4602}
- while (true) do
- local pos = Self.Position()
- local FishTiles = {}
- for x = -7, 7 do
- for y = -5, 5 do
- local TileID = Map.GetTopUseItem(pos.x + x, pos.y + y, pos.z).id
- if (table.contains(WATER_FISH, TileID)) then
- TilePos = {x = pos.x + x, y = pos.y + y, z = pos.z}
- table.insert(FishTiles, TilePos)
- end
- end
- end
- for _,t in ipairs(FishTiles) do
- local TileID = Map.GetTopUseItem(t.x, t.y, t.z).id
- repeat
- Self.UseItemWithGround(3483, t.x, t.y, t.z)
- wait(1000)
- until(Map.GetTopUseItem(t.x, t.y, t.z).id ~= TileID)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement