hit.pos.x, hit.pos.y, hit.pos.z) if shapeblockhit != None: if shapeblockhit.tag == "launch": launch = True #count down to blast off for count in range(3, 0, -1): mc.postToChat(str(count)) sleep(1) mc.postToChat("Blast Off") #launch the rocket for up in range(0, 15): rocket.moveBy(0, 1, 0) #pitch the rocket over pitch = 0 for up in range(0, 75): #find out where the rocket should be pointing for its pitch z, y = findPointOnCircle(0, 0, 1, pitch) #rotate the rocket rocket.rotate(0, pitch, 0) #move the rocket rocket.moveBy(0, y, z) #increase the angle of pitch until it gets to 60 degrees if pitch < 60: pitch += 3 finally: rocket.clear()