Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///api_version=2
- (script = registerScript({
- name: "TowerScaffoldz",
- version: "1.10",
- authors: ["CzechHek", "yorik100"]
- })).import("Core.lib");
- Core.updateURL = "https://pastebin.com/raw/nPT3A7Tc";
- module = {
- category: "World",
- description: "Scaffold Addon",
- onEnable: function () {
- hideScaffold = ScaffoldModule.array; hideTower = TowerModule.array;
- ScaffoldModule.array = TowerModule.array = TowerModule.state = !(ScaffoldModule.state = true);
- },
- onDisable: function () {
- ScaffoldModule.state = TowerModule.state = false;
- ScaffoldModule.array = hideScaffold; TowerModule.array = hideTower;
- },
- onJump: function (e) {
- !isInputHorizontally() && e.cancelEvent();
- },
- onMove: function (e) {
- !(ScaffoldModule.state = !(TowerModule.state = Keyboard.isKeyDown(mc.gameSettings.keyBindJump.getKeyCode()) && !isInputHorizontally())) && e.zeroXZ();
- }
- }
- Core.onScriptUpdate = function (o, n) {
- print(o + " updated to " + n);
- }
Advertisement
Add Comment
Please, Sign In to add comment