(script = registerScript({
name: "ExampleScript",
authors: ["Author"],
version: "0.1",
})).import("Core.lib");
module = {
category: "Misc",
description: "Rotate body.",
onUpdate: function () {
if (mc.thePlayer.ticksExisted > 5) {
mc.thePlayer.rotationYawOffset = mc.thePlayer.ticksExisted;
}
},
}