A script to make a character go in circles

Ask gaming related questions
LDanas
Posts: 8
Joined: 11 Oct 2022, 10:28

A script to make a character go in circles

Post by LDanas » 24 Mar 2023, 07:52

hello there! Is there a way I can make it so that my character runs automatically in a circle? While holding Shift and using either of the keys: "WASD" Example in a video:

https://streamable.com/tc8l7s


[Mod action: Moved topic to “Gaming” section. Also note that you posted in the v2 section.]

Rohwedder
Posts: 7551
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: A script to make a character go in circles

Post by Rohwedder » 29 Mar 2023, 04:30

Hallo,
perhaps?:

Code: Select all

#Requires AutoHotkey v2.0
c:: {
Loop Parse, "w,d,s,a", ","
	Send("+" A_LoopField), Sleep(400)
Until !GetKeyState("c","P")
}

Post Reply

Return to “Gaming”