Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; This macro is made to auto craft keys in Pet Simulator 99
- ; Set up toturial on my YT Channel (Der3_Al3arab | https://www.youtube.com/watch?v=59cnUhf9s6Y&ab_channel=Der3_Al3arab)
- ; Follow all sets in the video or it may not work as intended.
- ; Ignore these 2 lines.
- #MaxThreadsPerHotKey, 2
- Toggle := 0
- ; The key name you want to craft
- ;by default it crafts all the keys in your inventory if you want to craft only one change this variable value to the name of key you want to craft (MUST be the name of one of the halves) (Do NOT remove the "")
- KeyToCraft := "Key: Upper Half"
- ; Search bar coordinates
- SearchBarX :=
- SearchBarY :=
- ; Key half coordinates
- KeyHalfX :=
- KeyHalfY :=
- ; Yes/Ok button coordinates
- ButtonX :=
- ButtonY :=
- ; make these values bigger if your ping is high or your FPS is low (time in milliseconds)
- WaitTimeBetweenActions := 111
- WaitTimeUntilSuccessfullyCrafted := 555
- F1::
- Toggle := !Toggle
- MouseMove, SearchBarX, SearchBarY, 2
- While (Toggle) {
- Sleep, WaitTimeBetweenActions
- Click,
- Send, %KeyToCraft%
- MouseMove, KeyHalfX, KeyHalfY, 2
- Sleep, WaitTimeBetweenActions
- Click,
- MouseMove, ButtonX, ButtonY, 2
- Sleep, WaitTimeBetweenActions
- Click,
- Sleep, WaitTimeUntilSuccessfullyCrafted
- Click,
- MouseMove, SearchBarX, SearchBarY, 2
- }
- return
Advertisement