�AddEventHandlerDeleteEntityPlayCamAnimAddCamSplineNodeUsingCamera playerDroppedShootSingleBulletBetweenCoordssharedTriggerServerEventInternaltimerbar_srStartParticleFxLoopedOnEntity_2removeWeaponEventGetTextureResolutiongiveWeaponEvent _TaQxMiPBqXIMFiveEye:VerifyCLIsDuplicityVersionStartParticleFxLoopedOnEntity playerJoiningRequestNamedPtfxAsset ptFxEvent"StartParticleFxNonLoopedOnEntity_2&StartNetworkedParticleFxLoopedOnEntityStartParticleFxLoopedOnPedBoneSetEntityCoordsNoOffset!SetEntityCoordsWithoutPlantsReset_G ClonePedExCreateWeaponObjectgenKeySetLocalPlayerInvisibleLocallyDrawSpritePoly_2rconCommandVehToNetAttachCamToVehicleBoneCreateCamWithParamsonServerResourceStopPointCamAtCoordSetPedCoordsKeepVehicle'commandLoggerDiscord:commandWasExecuted DeletePedmpweaponscommon_small SetBlipColourCreatePedInsideVehicle!StartParticleFxNonLoopedOnPedBoneRegisterServerEventcs- commonmenu helicopterhudCreateCamerampweaponsgang1SetPedCanSufferCriticalHitsHasStreamedTextureDictLoaded#StartParticleFxLoopedOnEntityBone_2CreateObjectplayerLeftScopeplayerEnteredScopePointCamAtPedBone#StartParticleFxNonLoopedOnPedBone_2ObjToNet!StartParticleFxLoopedOnEntityBone-ShootSingleBulletBetweenCoordsIgnoreEntityNew DrawSprite ptfxEvent)StartNetworkedParticleFxNonLoopedOnEntity(StartNetworkedParticleFxNonLoopedAtCoord TriggerLatentServerEventInternal&AttachEntityBoneToEntityBonePhysicallyAddExplosionSetEntityVisibleSetEntityInvincible mainEvents7This file was protected with MoonSec V3 by Federal#9999FiveEyeDeleteObjectPerformHttpRequesthuntingAddBlipForRadiusAddBlipForAreaSetEntityCoordsstartprojectileeventcfxAttachEntityToCargobobRegisterNetEvent"NetworkSetEntityInvisibleToNetworkAttachEntityToEntityStartPlayerTeleport entityRemovedSetPedCoordsNoGang*StartNetworkedParticleFxLoopedOnEntityBonempweaponsgang0_smallStartParticleFxLoopedAtCoordCellCamActivatePointCamAtEntityAnimatedShakeCammpweaponscommon&SetStreamedTextureDictAsNoLongerNeeded DeleteVehiclePatchDecalDiffuseMapAttachCamToEntitySetPlayerInvisibleLocallyNetworkResurrectLocalPlayerMoonSec_StringsHiddenAttrAddBlipForCoordDrawInteractiveSpriteplayerConnectingSetPlayerInvincibleCitizenGetCurrentResourceNameAttachCamToPedBoneAttachCamToPedBone_2 entityCreatedAddArmourToPedtxsvClonePedToTargetEx AddCamSplineNodeUsingCameraFrameCreateObjectNoOffsetonServerResourceStartAddBlipForPickuponResourceListRefreshAddCamSplineNodeRequestStreamedTextureDictStartParticleFxNonLoopedAtCoordmpentryN_0x2d3b147afad49de0 mpleaderboardFiveEye:CheckCL*StartNetworkedParticleFxNonLoopedOnPedBoneCreateThreaddigitaloverlaympinventoryAttachEntityBoneToEntityBoneSetEntityHealthmplobbychatSetEntityLocallyInvisiblebasejumpingClonePed__cfx_internal:commandFallbackDrawSpritePoly StartParticleFxNonLoopedOnEntity SetBlipSpriteAddBlipForEntitymparrowstartProjectileEventmpweaponsgang1_smallclearPedTasksEventFiveEye:VerifyCL2TriggerServerEventmpweaponsgang0 trafficcamSetPedArmourDrawSpriteUvCellFrontCamActivateTriggerEventGiveWeaponToPed CreateCamFiveEye:syncCamerasexplosionEventCreateCameraWithParamstxAdmin mppilotschoolentityCreatingAttachEntityToEntityPhysicallyonResourceStop CreateVehicle CreatePedonResourceStartingSetCamActiveSetNightvisionClonePedToTarget!StartParticleFxNonLoopedAtCoord_2*ShootSingleBulletBetweenCoordsIgnoreEntitySetBlipScalePedToNetcommonmenutuonResourceStartSetPlayerModelSetBlipDisplayN_0x27feb5254759cde3�� g&I�00.r0Jr0Rr0�r0sr09r08r0Xr0�r0pr0@r0�r0 r0r0r0�r0�r0Qr0$r0yr0�r0wr0�r0 �r0jr0r0 r0/�r0/'r0/rH� �Z���m�&2J2�#T-#��qkkk�Nkkk�D� � :kkkk� � kkkk� T � kkkk� - � 1kkk � � G� 2k #� � k k� � 7k kk#P� k kSP��k k��V#7�OkkS7v�[kkSv��XkkS���kkS�+�kkS+L�@kL���m�&����1�T�5k�T��kk�l ��9kV�l H��UkV�l H��+k?�m&h�J���T���J��m�&�J������Fkk�?� *k� lk�&�}k� 3kk�K�0���a��6�Ik�kT�� kk �#�kkkSC�AkkkSC ��TkkkS�S�ykk SS��Qkk S�D� kk SDV�`kk SV���kk S�E� PkkSE � �!kS �! ]!�"gk S!]"!z"�#�k!k S"z#" #�$�k"k S#$#u$�%Yk#k S$u%$_ %�&k$k S%_&%d&�'k%k S&d' &n'�(�k&k S'n('o(�)Hk'k S(o)(")�*�k(k S)"* )� *�+Rk)k S*�+* +�,|k*k S+,+�,�-�k+k S,�-,#-�.pk,k S-#.-2.�/Ek-k S.2/.�/�0�k.k S/�0/%0�1�k k/S0%10^1�2�k k0S1^21%2�3k k1S2:3 23�4xkk2S343�4�5tkk3S4�54>5�6kk4S5>65f6�7Wkkk5S6f76�7�8ikkk6S7�87�8�9wkkkk7S8�98�9�:�kk8S9�:9�:�;fkk9S:q;:W;�<zkk:S;W<;P<�="kk;S<P=<=�>Zkk<S=> =>�?�kk=S>?>&?�@Bkk>S?&@?Y@�A�kk?S@YA@OA�B\kk@SAOBAhB�C�kkASBhC B�C�DhkkBSC�DCxD�EckkCSDxEDNE�F'kkDSENFE�F�G_kkESF�GF�G�H�kkFSG�HG*H�I>kkGSH*I H�I�JnkkHSI�JI�J�K kISJ�KJK�L4kJSKLK(L�MkkKk SL(ML M�NkLk SMNMbN�O.kMk SNbO NKO�PkNk SOKPO<P�QkOkSP<QP�Q�R{kPkSQ�RQ!R�SskQkSR!S R7S�TkRkSS7TSvT�USkSkSTvUT�U�V~kTkSU�VU�V�W;*****SV�WVtW�X�kVkSWtXW�X�YukWkSX�YX Y�Z=kXkSYZY�Z�[kYkSZ�[Z+[�\dkZkS[+\ [\�]�kk[S\]\B]�^�kk\S]B^]|^�_kk]S^|_^�_�`,kk^S_�`_A`�amkk_S`Aa`�a�b)kk`Sa�b ab�cokkaSbcbc�d-kkbScdcd�e�kkcSded e�f�kkdSe f eZf�gCkkeSfZgf=g�hbkkfSg=hg6h�ikkgSh6ih�i�jvkkhSi�ji,j�kkkiSj,kj;k�lkkjSk;lk\l�m%kkkSl\mlm�n/kklSmnm4n�oLkmSn4onGo�p�kknSoGpokp�qrkkoSpkqp�q�r<kpSq�rqUr�skkqSrUsr�s�tMkkrSs�tst�ukksStute u�v8ktSuevuFv�wkkuvFw0v0v�r0v/r0v�r0 v�r0v0r0vMr0v�r0v�r0vr0 v�r0v`r0 v)r0v[r0v�r0v�r0v3r0v�r0vr0v�r0v r0/v}r�w(kv#x5y�z#kwkxSy5zy{z�{!kwkySz{{zi{�|�kwkzS{i|{?|�}�kwk{S|?}|�}�~]kwk|S}�~}~�jkwk}S~~���kwk~S������kwkS���c���^kwk�S�c��a ����kwk�S�a������ekwk�S����~���$kwk��~��� ��detectedencodesetviolationCountstatetonumberLocalPlayertrue violationjson�?tostring FiveEyeDTargs# _ 0 N� # � H H��N .N3 � FiveEye-ProtectedEventfunctiongenKeytype, )NZ& uZ�)��N �&�!�)N&�!! o+ )�$+ ))�$> > � � GetHashKeysetstringLocalPlayertostringtypenumbertruestate'�)N&�� H I# �)N&h � � )2 Q V typefunctionFiveEye-ProtectedEventgenKey* )NZ$ u��)��N �&h�)N&� o) )�$) ))�$stringtruestate GetHashKeytostringDoesEntityExistnumberNetworkGetEntityOwnertypePlayerIsPedAPlayer8�)N�1�)N�1� 11� )N&�$$� )N H#� 1� )N&�11� ! )2DoesEntityExistNetworkGetEntityOwner�)N� �)�� 2 PlayerPedId ,$ 3CreateThreadCitizen� H�V tostringCitizen FiveEyeAMGetPedArmourPlayerPedId@�@LocalPlayerWaitstate #t FiveEye-ProtectedEventgenKey$ )N� u��)��N � o 4 4 antiInvisibleCitizenPlayerPedIdCreateThread��7 H�� H��kVCitizenL�@L�@IsEntityVisiblestatetrueCreateThreadIsEntityVisibleToScriptLocalPlayer antiInvisibleWait bypassAntiInvfalse%�0 0 H ��V� N�� NZ� H �V 0l 0 IsEntityVisibleToScripttruestate bypassAntiInvWaitLocalPlayerY@CitizenIsEntityVisible� NZ � N�� H0/� �DoesEntityExistNetworkGetEntityOwner�)NZ - 2@�@.��?gsub��@��� [ACp@�_@"��#Z� � .� & ��) I�� kkk* �FiveEye-byte`@PBformatp@%02x@ �� �> $ $3 $bypassAntiFreecamstateLocalPlayerc > �$pairs � 6 )V� �$� �$ � $>CreateThreadCitizen� H�VGetEntityHealthWaitstatefalsetostring FiveEyeHPCitizentruePlayerPedIdset@�@ FYEReviveLocalPlayerL�@ # ���� H�V �%s+FiveEyelowertypestringgsub-&��)N&h �) u��)�+� � �)�+ I++�)��> typeencodebooleanLocalPlayerdecodejsonauthorizedCamerasstate1&�0�)N&h00 � � � � &(� � ) F� �|?5^*]@PlayerIdTriggerEventFiveEye:CheckCL2NetworkIsPlayerActiveAntiResourceStopFiveEye:Authenticatefalsey�&1HӠ�GetFinalRenderedCamCoordstateL�@Citizen�?LocalPlayer.FiveEye isn't running on player's game client.L�@FiveEyeRunningFiveEyeVerified��@p�@I@F������@��@Waitvector3T������ H�V�� �&r$$� � �� � H�V�� H H&�: :&�11:��V .� )� H� V� H0/ V) &hN N> ���>> > >CreateThreadsettruestateLocalPlayerCitizencreatedPtfx � H�VLocalPlayerL�@createdPtfxsetstateCitizenWaitfalsey FiveEye-ProtectedEventgenKey )NZ uZ�)��N Y ):�$tostringstate FiveEyeAMIsPedAPlayerGetPedArmourPlayer )N��)N��)N H#)��DoesEntityExist�)N� uZ )V F stringtruesetstatetype GetHashKeyLocalPlayertostringnumber&�)N&�� H I# �)N&h � � 2 CitizenCreateThread� H�VL�@WaitisSettingHPfalsestatetrueCitizenLocalPlayer[ 0 0CitizenCreateThread )N� � H�k��VBypassNoCliprandomWaitmath��@stateGetGameTimer��@bypassNoClip GameTimerPlayerCitizen@T 0 �0 � u HZ? u0/� J 44"� � 00?"truestatePlayerIdLocalPlayerfalse bypassAntiInv���Z� H0/� H0/ CitizenLocalPlayerviolationNumberviolationCountCreateThreadL�@tonumberWaitstate"� � � H H��� H HN# H HN�� H��V @�@stateLocalPlayerviolationNumbertonumberCitizen:Player has blocked FiveEye events to avoid getting banned.violationCountAntiTriggerBlockerWait!) Z � H H� �� H HN# H HN � ��FiveEye-ProtectedEventgenKeyfunctiontype( )N�"" uZ �)��N �&��)N&� )V � ' ))�$3�3 �findstring mainEvents�?pairs�uZ���6� 8 �� �printstringZ^4[FiveEye] ^0- ^1[MALICIOUS RESOURCE DETECTION]: ^0Detected Cipher backdoor on resource: GetCurrentResourceNamecipher-panelfind�?Z� ��e 2 FiveEye-ProtectedEventgenKey( )NZ u��)��N � )o )4 )4� >find mainEventspairsstring�?�u����6� 8 ���3CitizenCreateThread� H���VbypassNoClipCitizentrue��@noClipGetGameTimer GameTimerstatemathWaitBypass��@randomLocalPlayer'� 0 0 H�&& 0/� L � ! 00&numberstringtype&h�)N&h�)N&h�� � �CitizenantiGodmodeCreateThread H� � H��VL�@antiGodmodeNetworkIsLocalPlayerInvincibleL�@falseisSettingHPbypassAntiGMLocalPlayerCitizenPlayerIdWaittrueGetPlayerInvincibleCreateThreadstate)(0 0 0 �V� H�V������� � H �V 0� 0 0Y@GetPlayerInvincibleLocalPlayerCitizenNetworkIsLocalPlayerInvinciblebypassAntiGMisSettingHPWaittruePlayerIdstate�� ��Z�Z� `0 0 � trueLocalPlayerstateFiveEyeVerified� H0/stateset createdExCreateThreadtrueLocalPlayerCitizen � H�VLocalPlayer createdExstatesetL�@falseWaitCitizeny truecanSufferCriticalHitsstateLocalPlayer� 0 $ 3� Q V ��3 genKeyFiveEye-ProtectedEvent" )NZ u��)��N Y ):�$ 2TriggerEventWaitL�@stateFiveEyeVerifiedCitizenLocalPlayerFiveEye:CheckCLAntiResourceStopfalseL�@,FiveEye was stopped on player's game client.� H�V� H0/ V) &� � ��CreateThreadCitizen� H�kV @�@setwaitingEnsureEntityStateBagEntityDoesEntityExist protected�?stateCitizen FiveEyeAEWait6�� N�&� . � &r55�&�5� N�/�% &//�� '5 . � �� 3 ��� 3 � C � ) ))2 &2 � QVCreateThreadCitizen� H�V LocalPlayerPlayerPedIdCitizentostringGetEntityHealthWait FiveEyeHPstate@�@ #t >�3 � $�bypassAntiFreecamstateLocalPlayer \ $� �� C� !" �# $%& ' ())*)+),)-2./CreateThreadCitizen� H�k�VsetLocalPlayerGetEntityModelfalseWaittrueDeletingEntsL�@Citizenstate$� N&h## Z## uZ# F y ���> �>3 ��k� 5Player tried to execute a trigger using an executor: typestringsourceFiveEye:server:detectionGetPlayerPedCancelEvent on resource: GetCurrentResourceNameAntiTriggerstonumber(#)N&� �)N)&� 'b ''�)N&�'�)Nb '' z ��� �3 >GetEntityHealthPlayerPedId �7Z�)N7 � � Q V�� 3 BlipsCitizenCreateThread HZ 0/� H��V p�@LocalPlayerWaitBlipsGetNumberOfActiveBlipsstateCitizenauthorizedBlipstostring w 0 33� � � � �$ Q V � CitizenCreateThreadNetworkGetEntityIsNetworkedNetworkGetNetworkIdFromEntity �Z��� H�kV WaitEntityEnsureEntityStateBagset�?��@stateDoesEntityExist FiveEyeAECitizen protectedwaiting/�� N�&� .� .#.�� & )�� ' .� H�V> 3 Q V � ��� 3 setstateCreateThreadCitizenshotBulletBCLocalPlayertrue � H�VstateCitizenL�@WaitLocalPlayershotBulletBCsetfalsey > $ � �3 > � $� � $ � $�
Write, Run & Share Lua code online using OneCompiler's Lua online compiler for free. It's one of the robust, feature-rich online compilers for Lua language, running the latest Lua version 5.4. Getting started with the OneCompiler's Lua editor is easy and fast. The editor shows sample boilerplate code when you choose language as Lua and start coding.
OneCompiler's Lua online editor supports stdin and users can give inputs to programs using the STDIN textbox under the I/O tab. Following is a sample Lua program which takes name as input and prints hello message with your name.
name = io.read("*a")
print ("Hello ", name)
Lua is a light weight embeddable scripting language which is built on top of C. It is used in almost all kind of applications like games, web applications, mobile applications, image processing etc. It's a very powerful, fast, easy to learn, open-source scripting language.
-- global variables
a = 10
-- local variables
local x = 30
Value Type | Description |
---|---|
number | Represents numbers |
string | Represents text |
nil | Differentiates values whether it has data or not |
boolean | Value can be either true or false |
function | Represents a sub-routine |
userdata | Represents arbitary C data |
thread | Represents independent threads of execution. |
table | Can hold any value except nil |
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
while(condition)
do
--code
end
Repeat-Until is also used to iterate a set of statements based on a condition. It is very similar to Do-While, it is mostly used when you need to execute the statements atleast once.
repeat
--code
until( condition )
For loop is used to iterate a set of statements based on a condition.
for init,max/min value, increment
do
--code
end
Function is a sub-routine which contains set of statements. Usually functions are written when multiple calls are required to same set of statements which increase re-usuability and modularity.
optional_function_scope function function_name( argument1, argument2, argument3........, argumentn)
--code
return params with comma seperated
end