|
Post by paladiex on Aug 30, 2017 20:30:47 GMT
powerUpButtonRegion:waitClick(Pattern("powerUp1.png"):similar(0.6), 1) Is throwing up an error when I run it stating that there is no such method
Edit 1: I am wildly confused, why on earth am I getting the error
"runtime error: Invalid method call. No such method. stack traceback: [C]: in function 'existsClick'"
I'm using this function in other bots. I have commonLib = loadstring(httpGet("https://raw.githubusercontent.com/AnkuLua/commonLib/master/commonLib.lua"))() at the top of the code. I've got no idea why it's not allowing me to use existsClick >.>
Edit 2: I guess I cannot add region data to waitClick? I'm confused why removing the region data makes any difference.
|
|
|
Post by AnkuLua on Aug 30, 2017 23:30:02 GMT
Region waitClick() works as usual. Make sure the powerUpButtonRegion is created.
|
|