CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    TickTimer

    Scripts
    3
    4
    271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Its Domme
      Its Domme last edited by

      ///api_version=2
      var Timer = moduleManager.getModule('Timer');
      var script = registerScript({
          name: "TimerTick",
          version: "1.0.0",
          authors: ["ItsDoome1"]
      });
      script.registerModule({
          name: "TimerTick",
          category: "Fun",
          description: ":>",
      	settings: {
             SpeedT: Setting.float({
                  name: "SpeedTimer",
                  default: 1.5,
                  min: 0.0,
                  max: 20.0
              }),
              Tick: Setting.integer({
                  name: "Tick",
                  default: 1,
                  min: 0,
                  max: 20
              })
          }
      }, function (module) {
          module.on("update", function() {
          if(mc.thePlayer.ticksExisted % (1*module.settings.Tick.get()) == 0) {
              Timer.setState(true);
          	}
          if(mc.thePlayer.ticksExisted % (1*module.settings.Tick.get()+5) == 0) {
              Timer.setState(false);
          	}
      	});
      	module.on("disable", function() {
      		Timer.setState(false);
      	});
      	module.on("enable", function() {
      		moduleManager.getModule("Timer").getValue("Speed").set(module.settings.SpeedT.get());
      		})
      	}
      );
      
      1 Reply Last reply Reply Quote 1
      • DreamWasFucked
        DreamWasFucked Banned last edited by

        best coder 2021
        gag.png

        Its Domme 1 Reply Last reply Reply Quote 2
        • Its Domme
          Its Domme @DreamWasFucked last edited by

          @skidma huhu

          Femboy 1 Reply Last reply Reply Quote 0
          • Femboy
            Femboy @Its Domme last edited by

            @its-domme Coding 100

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            About
            • Terms of Service
            • Privacy Policy
            • Status
            • Contact Us
            Downloads
            • Releases
            • Source code
            • License
            Docs
            • Tutorials
            • CustomHUD
            • AutoSettings
            • ScriptAPI
            Community
            • Forum
            • Guilded
            • YouTube
            • Twitter
            • D.Tube