ok, im not sure on how long it takes for sneak/hide to renew (if there is any time) but this will sneak then hide, turn off sneak and hide, then wait 5 seconds and do it again. If there is no reuse change the wait 50 to waitframe. if ti is longer than 5 seconds adjust the wait accordingly. Also it assumes sneak is hotbutton 1 and hide is hotbutton 2...
Code: Select all
function main()
{
while 1
{
press 1
press 2
waitframe
press 1
press 2
wait 50
}
}