Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Scripts
  3. TickTimer

TickTimer

Scheduled Pinned Locked Moved Scripts
4 Posts 3 Posters 370 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Its DommeI Offline
    Its DommeI Offline
    Its Domme
    wrote on last edited by
    #1
    ///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
    1
    • DreamWasFuckedD Offline
      DreamWasFuckedD Offline
      DreamWasFucked
      wrote on last edited by
      #2

      best coder 2021
      gag.png

      Its DommeI 1 Reply Last reply
      2
      • Its DommeI Offline
        Its DommeI Offline
        Its Domme
        replied to DreamWasFucked on last edited by
        #3

        @skidma huhu

        FemboyF 1 Reply Last reply
        0
        • FemboyF Offline
          FemboyF Offline
          Femboy
          replied to Its Domme on last edited by
          #4

          @its-domme Coding 100

          1 Reply Last reply
          0

          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
          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups