Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local event, key = os.pullEvent("key")
- if key == keys.w then
- turtle.forward()
- end
- if key == keys.s then
- turtle.back()
- end
- if key == keys.d then
- turtle.turnRight()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement