OrionClient StealthScript UORemedy

var start_x = Player.X();
var start_y = Player.Y();

function train()
{
	while(!Player.Dead())
	{
		while(!Player.Hidden())
		{
			Orion.UseSkill("Hiding");
			Orion.Wait(13000);
		}
		if(Player.Hidden())
		{
			Orion.UseSkill("Stealth");
			Orion.Wait(13000);
			while(Player.Hidden())
			{
				Orion.WalkTo((start_x-2),start_y, Player.Z(), 0);
				Orion.WalkTo((start_x+2),start_y, Player.Z(), 0);

			}
		}
		
	}
	
}