I need help making a script that clicks a color if found every 30 seconds.
I searched and found something so this is my current script, it just holds the mouse in a certain place and doesn't actually click anything.
Help?Code:program Colour; {.include SRL/SRL.simba} var x, y : integer; begin If FindColorTolerance(x, y, 7422390, 0, 0, 772, 502, 35) Then Mouse(x, y, 1, 1, True); wait(30000); end.
I also recieve the error
every time i compile itCode:[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256 [Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y'


Reply With Quote







