MrChristmas
Expert
- Joined
- Jul 29, 2014
- Messages
- 563
- Reaction score
- 26
Hi, so I started to learn about cleo stuff. For my first cleo I started editing (adding keys on/off and stuff like that...), so I downloaded cleo for infinity run. I manage to make an button which start the script but I got problem with button which makes script off. Can you guys tell me what I'm doing wrong ?...
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread 'RUN_SYLAR'
:RUN_SYLAR_97
wait 5
if
0ADC: test_cheat "RUN"
else_jump @RUN_SYLAR_97
print "~W~RUN ~G~ON" 1500
wait 2000
:RUN_SYLAR_156
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @RUN_SYLAR_156
Player.InfiniteRun($PLAYER_CHAR) = True
jump @RUN_SYLAR_156
end_thread
if
:RUN_SYLAR_156_2
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @RUN_SYLAR_156
Player.InfiniteRun($PLAYER_CHAR) = False
jump @RUN_SYLAR_156
end_thread
0ADC: test_cheat "RUN"
else_jump @RUN_SYLAR_97
print "~W~RUN ~R~OFF" 1500
wait 2000
jump @RUN_SYLAR_156_2