Found it and thought it was dead, poked it with a stick and it didn’t move then picked it up and it suddenly came to life. Stopped moving as soon as was back on the ground. Thought it was some sort of burrowing snake at first but someone suggested legless lizard