Cayo Perico 2.55 Million Script for Yim Menu Enhanced
Cayo Perico Heist Gold Only Setup Script – GTA V Lua Script
This Lua script is made for GTA V mod menus (Yim Menu, etc.) to let you quickly set up in Cayo Perico Heist for only gold loot. It will allow you to adjust the heist prep and loot stats to allow players to simulate a maximum value run that is only focused on money. This script is really made for offline for testing, or educational showcase, use in a private or solo modded environment. Below you can find what the script does, what it changes, and how to run it without issues.🏝️ What the Script Does
When you run this Lua script it adjust your Cayo Perico Heist settings using stats.setint(). It sets up the board with: Heist Progress: Newly set progress flag as completed Main Target: Sets item id 5 (normally Pink Diamond) Weapons Loadout: Set loadout id 2 (normally Conspirator or Aggressor) Loot Values: Set all loot types (cash, coke, weed, paintings) as 0 and gold as max Scoped/Unscoped Sync: Set scoped and unscoped loot values to match📜 Example Script Logic
script.runincallback(function() stats.setint(“MPxH4PROGRESS”, 131055) stats.setint(“MPxH4CNFTARGET”, 5) — Main Target: Pink Diamond/H4CNFWEAPONS,2 stats.setint(“MPxH4CNFBSGEN”, -1) stats.setint(“MPxH4CNFWEAPONS”, 2) stats.setint(“MPxH4MISSIONS”, -1) — Reset all other loot types stats.setint(“MPxH4LOOTCASHI”, 0) stats.setint(“MPxH4LOOTCOKEI”, 0) stats.setint(“MPxH4LOOTWEEDI”, 0) stats.setint(“MPxH4LOOTPAINT”, 0) — Gold Only Loot stats.setint(“MPxH4LOOTGOLDC”, -1) stats.setint(“MPxH4LOOTGOLDI”, -1); stats.setint(“MPxH4LOOTGOLDCSCOPED”, -1); stats.setint(“MPxH4LOOTGOLDISCOPED”, -1); stats.setint(“MPxH4LOOTGOLDV”, 538484); end)📋 Required Variables
MPx: Replace with MP0 or MP1 depending on which character you are currently playing H4CNFTARGET = 5: Represents a high value target for target H4LOOTGOLDV = 538484: Is an approximate value of a full gold loot bag🛠️ Getting Started
Save the above code as cayogoldonly.lua Drop cayogoldonly.lua into the scripts/ folder of your Lua compatible GTA V mod menu Start GTA V and open your menu From within the mod menu interface, run the script⚠️ Use Responsibly
This script is intended to be used for sandbox testing or demonstration purposes within solo or private sessions. Do not run this in public lobbies, it is not worth the trouble with the GTA V community. If you do run this in public lobbies, you may receive warnings or bans from Rockstar Games starting with email, then account lock, followed by full bans. Always have a back up of your game and files if you are going to run any type of script that changes stats, especially from mod menus.🎯 Conclusion
If you are experimenting with Cayo Perico set ups; or you just want to demonstrate an all gold loot strategy for content, this script should provide a quick way to setup your board in just a few seconds! This is safe, lightweight, and only relative to modified stats; no memory injections or packet spoofing.📎 Need More Assets?
Come join our GTA modding support group below to get more scripts and support:Cayo heist crash
Whenever i start the cayo perico heist finale the game crashes, anyone have the same issue or knows the solution?
Answer:
The problems I have with cayo is that it doesn’t load when I start the heist, so I have to disable my Internet then relaunch the heist and itay work but can’t quick restart or ot will freeze again, same with casino, when I enter the man trap it kicks me but the second attempt ot works fine, I don’t think there is a fix but as annoying as it may be, after the first attempt it should work somewhat fine
Cayo perico loot bag lua
Hi, is there a lua that can allow you to change the size of the loot bag to fill the whole thing?,
Answer:
No There’s No Size changer for cayo yimmenu v2 yet but we will notfiy you when its ready!Instructions: How to Inject Menu
Step 1: Launch GTA 5 Enhanced with FSL or Non-FSL. Turn off Battleye. Once on the Launchpad screen, inject
Step 2: In Xenos.exe, select
Step 3: Wait 10 seconds. Click Update Cache. Enter Story Mode. Press
Step 4: Go to Kosatka board. If Cayo Perico is not ready, press E. Go to Menu > Settings > Scripts, then click “Cayo Perico Script” and reload.
Step 5: Re-enter the Kosatka. The new changes will appear on the planning board. Enjoy your 2.55 million loot!
Menu.dll
using Xenos.exe
.

GTA5_Enhanced.exe
from the process list. Drag and drop YimMenu.dll
into the inject space and hit Inject.

INSERT
to open/close the menu. Join a solo session via the Network tab.
Code:
- script.run_in_callback(function()
- stats.set_int(“MPx_H4_PROGRESS”, 131055)
- stats.set_int(“MPx_H4CNF_TARGET”, 5)
- stats.set_int(“MPx_H4CNF_BS_GEN”, –1)
- stats.set_int(“MPx_H4CNF_WEAPONS”, 2)
- stats.set_int(“MPx_H4_MISSIONS”, –1)
- stats.set_int(“MPx_H4LOOT_CASH_I”, 0)
- stats.set_int(“MPx_H4LOOT_CASH_I_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_CASH_C_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_CASH_C”, 0)
- stats.set_int(“MPx_H4LOOT_COKE_I”, 0)
- stats.set_int(“MPx_H4LOOT_COKE_I_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_COKE_C”, 0)
- stats.set_int(“MPx_H4LOOT_COKE_C_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_WEED_I”, 0)
- stats.set_int(“MPx_H4LOOT_WEED_I_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_WEED_C”, 0)
- stats.set_int(“MPx_H4LOOT_WEED_C_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_PAINT”, 0)
- stats.set_int(“MPx_H4LOOT_PAINT_SCOPED”, 0)
- stats.set_int(“MPx_H4LOOT_GOLD_C”, –1)
- stats.set_int(“MPx_H4LOOT_GOLD_I”, –1)
- stats.set_int(“MPx_H4LOOT_GOLD_C_SCOPED”, –1)
- stats.set_int(“MPx_H4LOOT_GOLD_I_SCOPED”, –1)
- stats.set_int(“MPx_H4LOOT_GOLD_V”, 538484)
- end)
In-Game Pictures
Video Guide
Credits to #Gabriuell & the team behind it
📥 Download Links:
Frequently Asked Questions
Q: Can i Join Public Session Version?
A: Yes, you can Play Public Session and you need to be Host to stay in the sessions without get kicked
Q: Is the Script safe to use for ?
A: Yes,as long Battley eye is turned off,This includes bypass measures; however, use it at your own risk.
Q: Which versions of GTA V are compatible?
A: The mod works with the latest updates of GTA V on PC 1.71 Version.
Q: Can I play with this Script?
A: The mod is designed for public sessions aswell as private solo sessions and safe to use if you have FSL Loaded.