can someone plz help me with my game script been working on it 2 weeks still cant get it right should be bout done though ty
SetActiveWindow Naruto New Flames 2.8
constants
k1 = 0
uparrow = 1
leftarrow = 2
rightarrow = 3
downarrow = 4
End
loadRGB 271, 231
compute downarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )
loadRGB 271, 221
compute uparrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )
loadRGB 277, 277
compute rightarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )
loadRGB 265, 226
compute leftarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )
Loop 500000
Call Meditate
Call Rest
End
Procedure Meditate
delay 500
Keys m
Delay 3000
Loop 70000
GetRed 271, 221 = $uparrow
if $k1 = 1
Else
keys {up}
set k1 = 1
Delay 200
end
End
GetRed 265, 226 = $leftarrow
if $k1 = 2
Else
keys {left}
set k1 = 2
Delay 200
end
End
GetRed 271, 231 = $downarrow
if $k1 = 3
Else
keys {down}
set k1 = 3
Delay 200
end
End
GetRed 277, 277 = $rightarrow
if $k1 = 4
Else
keys {right}
set k1 = 4
Delay 200
end
End
End
MousePos 257, 96
MousePos 257, 89
End
Procedure Rest
GetRed 331, 313 = 35
keys m
delay 1000
end
Delay 1000
Keys i
Delay 1000
Keys t
Delay 25000
Keys t
End