for those who have the script not clicking, add a new image with the exit button black.
And change your click coordonate. Needed to change mine for :
CoordMode, Pixel, Screen
WinActivate, PLAYERUNKNOWN
loop {
Click 134, 55
sleep 70000
Random, rand, 30000, 70000
sleep rand
Send F
loop, 50{
sleep 5000
ImageSearch, OVX, OVY, 0, 0, A_ScreenWidth, A_ScreenHeight, bp.png
if ErrorLevel = 2
MsgBox Could not conduct the second search.
else if ErrorLevel = 1
ImageSearch, OVX, OVY, 0, 0, A_ScreenWidth, A_ScreenHeight, bp2.png
if ErrorLevel = 2
MsgBox Could not conduct the second search.
else if ErrorLevel = 1
{
Send {Z down}
sleep 650
Send {Z Up}
}
else
{
Click 1660, 980
sleep 1000
Click 878,600
sleep 20000
break
}
}
}
F10::
Pause
Suspend
return