Page 1 of 1

Hypixel Skyblock farm

Posted: 30 Apr 2024, 18:49
by soliey
Trying to find a way to macro my mushroom farm, the script would need to hold a for a number of seconds, then hold s for a number of seconds, then hold d for a number of seconds, then repeat 3 times and wait a number of seconds, then it would loop. Any help is appreciated

[Mod edit: Moved topic from 'Scripts and Functions' to help since this is a help request, and not a working script.]

Re: Hypixel Skyblock farm

Posted: 30 Apr 2024, 19:38
by soliey
Sorry forgot to add this, but it would look something like this
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Then it would wait for (k) amount of seconds
Then loop

Re: Hypixel Skyblock farm

Posted: 03 May 2024, 03:38
by Rohwedder
Hallo,
try:

Code: Select all

x := 2, y := 3, k := 5
q:: ; Start with Key Q
Loop {
	Loop, 3
		Hold("a", x), Hold("s", y), Hold("d", x)
	Sleep, 1000*k
}

Hold(Key, Seconds) {
	SendEvent, {%Key% Down}
	Sleep, Seconds*1000
	SendEvent, {%Key% Up}
}
; Hold(Key, Seconds)
; { ; with AutoRepeat
    ; SetKeyDelay, 30
    ; Loop,% Seconds*1000//30
        ; Send, {Blind}{%Key% Down}
    ; Send, {Blind}{%Key% Up}
; }
If your game does not behave as desired, try the other Hold()

Re: Hypixel Skyblock farm

Posted: 03 May 2024, 20:22
by soliey
thank you