I'm trying to write a script to make me spin really fast, just like the AntiAim on Meteor or whatever it's called but I have very little knowledge of js and "minecraft code" in general, here's my code so far.
const script = registerScript({
name: "SpinAround",
version: "1.0.0",
authors: ["ubtps"]
});
script.registerModule({
name: "Spin",
category: "Fun",
description: "Spin really fast.",
}, (mod) => {
mod.on("update", () => {
if (mc.thePlayer) {
mc.thePlayer.rotationYaw += 180;
}
});
});