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)
- ; 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 will ONLY craft Crystal Keys all if you want to craft all or another key change it to name of its Upper Half) (Do NOT remove the "")
- KeyToCraft := "Crystal Key: Upper Half"
- ; Search bar coordinates
- SearchBarX :=
- SearchBarY :=
- ; Key half coordinates
- KeyHalfX :=
- KeyHalfY :=
- ; Yes/Ok button coordinates
- ButtonX :=
- ButtonY :=
- ; Change these if your ping is high or your FPS is low (time in milliseconds)
- WaitTimeBetweenActions := 555
- WaitTimeUntilSuccessfullyCrafted := 1111
- 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