Trash = {14,15,10,4,2,3}
actionCounter = 0
actionLimit = 15 -- Reduce actions per cycle
sleepInterval = 300 -- Increase sleep time
function stablePlace(x, y, id)
if actionCounter >= actionLimit then
sleep(2000) -- Cooldown after a number of actions
actionCounter = 0
end
SendPacketRaw(false, {
xspeed=0, yspeed=0, state=0, type=3,
y=GetLocal().posY, px=x, netid=0,
py=y, value=id, x=GetLocal().posX,
})
actionCounter = actionCounter + 1
sleep(sleepInterval)
end
function stablePunch(x, y)
if actionCounter >= actionLimit then
sleep(2000)
actionCounter = 0
end
SendPacketRaw(false, {
xspeed=0, yspeed=0, state=0, type=3,
y=GetLocal().posY, px=x, netid=0,
py=y, value=18, x=GetLocal().posX,
})
actionCounter = actionCounter + 1
sleep(sleepInterval)
end