FlyHCF Script (REUPLOAD)
-
I ported it to ScriptAPI v2 (hope it works), here's the code:
/// api_version=2 var script = registerScript({ name: "FlyHCF", version: "2.0.0", authors: ["LaVacheMilka", "BrayHax", "Coccocoa's Helper"] }); script.registerModule({ name: "FlyHCF", category: "Movement", description: "A simple old fly script ported to ScriptAPI v2." }, function (module) { module.on("motion", function() { mc.thePlayer.motionY *= 0.5; mc.timer.timerSpeed = 0.3; mc.thePlayer.onGround = true; if (mc.gameSettings.keyBindJump.isKeyDown()) mc.thePlayer.motionY += 4.0; if (mc.gameSettings.keyBindSneak.isKeyDown()) mc.thePlayer.motionY -= 4.0; if (mc.gameSettings.keyBindForward.isKeyDown()) { var yaw = Math.radians(mc.thePlayer.rotationYaw); mc.thePlayer.motionX = -Math.sin(yaw) * 8.0; mc.thePlayer.motionZ = Math.cos(yaw) * 8.0; } else { mc.thePlayer.motionX = 0.0; mc.thePlayer.motionZ = 0.0; mc.timer.timerSpeed = 0.3; } }); module.on("disable", function(eventData) { mc.timer.timerSpeed = 1.0 eventData.zero() } }); });
-
@Gabriel why would you put yourself in authors tag tho