If this is just for a lightsaber, why does the code need to be so long? All a lightsaber needs to do is swing and light up and crash and stuff.