YouTube2Text

Learn To Make CHEATS for any GAME in 18 Minutes — Transcript

by BranchLink · 4,266 words · 606 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Did you know that it costs absolutely
  2. 0:01zero money to make your own cheats for
  3. 0:03the games you play? Cheat developers
  4. 0:05create these projects completely for
  5. 0:06free and then turn around and sell them
  6. 0:08to you for hundreds of dollars every
  7. 0:10single month. In this video, I'm going
  8. 0:12to show you exactly how to break that
  9. 0:13cycle and build your own cheat for
  10. 0:15literally any game. We're going to build
  11. 0:16a menu from scratch that looks and feels
  12. 0:19just like a premium paid software
  13. 0:20complete with a clean ESP hack, a fully
  14. 0:23functional aimbot and a responsive cheat
  15. 0:25menu. By the end of this video, you will
  16. 0:26be able to create this exact same cheat
  17. 0:28that you can see right now on For this
  18. 0:30guide, I'll be using Counter-Strike 2 as
  19. 0:32our target game to teach you the
  20. 0:33fundamentals. The core logic we are
  21. 0:35covering remains the exact same for
  22. 0:37every single game on the market, but I
  23. 0:38heavily recommend starting with CS2 to
  24. 0:40learn. You can't realistically learn
  25. 0:42game hacking by diving straight into a
  26. 0:43massive game protected by aggressive
  27. 0:45kernel level anti-cheats like Valorant
  28. 0:47or Fortnite. You need to learn the core
  29. 0:49concepts first on a game with a less
  30. 0:50intrusive anti-cheat like CS2. Once you
  31. 0:53master how the memory logic works here,
  32. 0:54you'll have the foundation needed to
  33. 0:56adapt it to any game you want. First, we
  34. 0:57need to understand how cheats actually
  35. 0:59work. don't understand the core concept,
  36. 1:01you won't be able to build a cheat for
  37. 1:02your favorite game. Every single cheat
  38. 1:04you've ever seen, whether it's for
  39. 1:05Fortnite, Valorant, or any other game,
  40. 1:07is just an app. It's exactly like Steam,
  41. 1:09Discord, your web browser, or even the
  42. 1:11game itself. When we make a hack, we are
  43. 1:13simply building our own app that hacks
  44. 1:15the game. To build an app, you use a
  45. 1:16programming language like Python or C++.
  46. 1:19But don't worry, I'm not going to tell
  47. 1:20you to go out and learn an entire
  48. 1:21programming language today. I've made
  49. 1:23this tutorial so simple that anyone can
  50. 1:25follow along and build their first
  51. 1:26cheat. If you don't know what a
  52. 1:27programming language is, think of it as
  53. 1:29the language of computer. Your PC is
  54. 1:30like a personal assistant that follows
  55. 1:32your instructions exactly. When we make
  56. 1:33an app, we just give that assistant a
  57. 1:35list of instructions. To make a cheat,
  58. 1:36we use that language to tell the
  59. 1:37computer exactly how to hack the game.
  60. 1:39Sounds easy, right? Now, let's get
  61. 1:40straight into the tutorial. The first
  62. 1:42thing you need to do is install Visual
  63. 1:43Studio. This is the software you need to
  64. 1:45use to create any app for Windows and
  65. 1:47it's exactly what we'll be using to
  66. 1:48create our cheat as well. To download
  67. 1:50it, click the link in the description.
  68. 1:51Run the installer and make sure to check
  69. 1:52desktop development with C++ while
  70. 1:54installing it. Next, grab the source
  71. 1:56code file from the link in the
  72. 1:57description. Extract the archive, open
  73. 1:59Visual Studio, and hit open a project or
  74. 2:01solution. Just navigate to where you
  75. 2:03extracted everything and open the .sln
  76. 2:05file to load up the project. When you
  77. 2:07open it for the first time, it might
  78. 2:09look completely empty. Just head over to
  79. 2:10the right side, look at the solution
  80. 2:12explorer, and open up the branchlink.cpp
  81. 2:14file. Now, when you look at this file,
  82. 2:16you'll see a lot of random words. This
  83. 2:18is written in C++, the programming
  84. 2:20language used for building all sorts of
  85. 2:21software and the most common language
  86. 2:23for developing both games and cheats.
  87. 2:25Like we talked about earlier, these
  88. 2:26words are just the exact instructions
  89. 2:28I've written to tell our cheat app how
  90. 2:29to work. And don't worry, you don't need
  91. 2:31to guess what any of it means. I am
  92. 2:32going to break it down and tell you
  93. 2:33exactly what each line does in a very
  94. 2:35simple, easy-to-understand way. Next,
  95. 2:37you need to make sure your game is
  96. 2:38running in windowed full screen or
  97. 2:40borderless windowed mode. If the game is
  98. 2:41running in full screen mode, our cheat
  99. 2:43won't be able to draw an overlay on top
  100. 2:44of it. So, go into your game settings
  101. 2:46right now and switch it over. Now, let's
  102. 2:48understand the exact instructions we
  103. 2:49need to give our app to actually turn it
  104. 2:51into a cheat. First, we need to tell it
  105. 2:52to draw a new, completely transparent
  106. 2:54window right on top of the game so we
  107. 2:55can spawn our menu, ESP boxes, lines,
  108. 2:58and player skeleton. To make this easy,
  109. 3:00cheat developers use a popular tool
  110. 3:01called Dear ImGui. I've already set it
  111. 3:04up for you in this project, so you don't
  112. 3:05have to waste time doing it manually.
  113. 3:07Did you know that every game you play,
  114. 3:08whether it's CS2, Fortnite, or PUBG,
  115. 3:11always knows exactly where every player
  116. 3:13on the map is and what their health is,
  117. 3:14even when they're hidden behind walls?
  118. 3:16Cheat developers abuse this exact design
  119. 3:18flaw. We just need to tell our app to
  120. 3:19pull this information out of the game
  121. 3:21and use ImGui to draw boxes and lines
  122. 3:24over the players using that data. To
  123. 3:25extract this from the game, you need to
  124. 3:27use something called offsets. Offsets
  125. 3:29are just numbers, but they are written
  126. 3:31in a hexadecimal format instead of the
  127. 3:33typical decimals we use every day.
  128. 3:35Hexadecimal is just a different way for
  129. 3:36computers to read numbers. For example,
  130. 3:38the number 15 is written as 0x F, and
  131. 3:40the number 255 is written as 0xFF. These
  132. 3:44offsets are different for every single
  133. 3:45game, and they change every single time
  134. 3:47a game updates. If a new update drops,
  135. 3:49you have to find the new offsets, or the
  136. 3:51cheat won't work. You need offsets for
  137. 3:53absolutely everything you want to show,
  138. 3:54like player positions, player health,
  139. 3:56the location of important items, and
  140. 3:58everything else. Now, scroll down until
  141. 3:59you find int main. This is the official
  142. 4:01starting point of our cheat program,
  143. 4:03meaning whatever instructions we put
  144. 4:04here will be executed first. Inside you
  145. 4:06will see a line that says mem.attach
  146. 4:08with cs2.exe
  147. 4:10written next to it. This tells our cheat
  148. 4:11app to attach itself to Counter-Strike
  149. 4:132. We have to attach to the game's
  150. 4:14process before we can pull any of that
  151. 4:16information or use those offsets we
  152. 4:17talked about earlier. If you want to
  153. 4:19hack a different game in the future,
  154. 4:20this is the exact line where you will
  155. 4:22change the name to match that game's
  156. 4:23process. Right below that, you will see
  157. 4:25mem.getmoduleaddress.
  158. 4:27This gets the base address of a specific
  159. 4:29game module. For example, in CS2, a file
  160. 4:31called client.dll holds all the critical
  161. 4:34data, like enemy positions and health.
  162. 4:36So, we target that module here to gain
  163. 4:38access to everything inside. Just like
  164. 4:39the process name, when you move on to
  165. 4:41hack other games, you'll need to find
  166. 4:43and swap in their specific module base
  167. 4:44addresses right here. You might be
  168. 4:46wondering how we actually find these
  169. 4:47offsets. There are two main ways to do
  170. 4:49it. The difficult way is to reverse
  171. 4:50engineer the game yourself. Reverse
  172. 4:52engineering means pulling the game apart
  173. 4:54to figure out exactly how the developers
  174. 4:56built it from the inside out. Since
  175. 4:57that's a bit too complex for beginners,
  176. 4:59we're going to use the easier method, a
  177. 5:01dumper. A dumper is an automated tool
  178. 5:03that scans the game while it's running
  179. 5:05and extracts all the offsets for you
  180. 5:06automatically. There are dumpers
  181. 5:08available for almost every game out
  182. 5:09there. You just have to look for them.
  183. 5:11For this video, we're going to use the
  184. 5:12CS2 dumper by a2x, and I've linked it in
  185. 5:14the description. To use the dumper, make
  186. 5:16sure your game is open and running in
  187. 5:18the background, then just launch the
  188. 5:20dumper like a normal program. Once it
  189. 5:22finishes scanning, it will generate a
  190. 5:23new folder called output. Go inside that
  191. 5:25folder, and you'll find two specific
  192. 5:27files we need, offsets.hpp
  193. 5:30and client_dll.hpp.
  194. 5:33If you open these files up, you'll see a
  195. 5:35massive list of all the updated offsets
  196. 5:37for everything in the game. All you need
  197. 5:39to do is copy everything inside these
  198. 5:41files, go back over to Visual Studio,
  199. 5:43and paste them right into the matching
  200. 5:45offsets.hpp
  201. 5:47and client_dll.hpp
  202. 5:52files in your project to fully update
  203. 5:54your cheat. Once that's done, look at
  204. 5:56the top of Visual Studio. Hit that green
  205. 5:57play button, and if you followed every
  206. 5:59step correctly, your cheat menu will pop
  207. 6:01up instantly without a single error. As
  208. 6:03you can see, the ESP is fully working.
  209. 6:05We have clean boxes, health bars, and
  210. 6:07full skeleton ESP drawing right over the
  211. 6:09players. You can press the insert key
  212. 6:11anytime you want to hide or show the
  213. 6:12menu, and if you need to shut it down
  214. 6:13completely, just hit the end key to stop
  215. 6:15the cheat. But, wait, there are a few
  216. 6:16problems we need to address right now.
  217. 6:17First, it might look like I just told
  218. 6:19you to download a pre-made cheat and hit
  219. 6:21run. That is definitely not what's
  220. 6:22happening here. I pre-configured the
  221. 6:24source code to save us time. I didn't
  222. 6:25want to drag you through a boring 1-hour
  223. 6:28tutorial of me typing out every
  224. 6:29semicolon. The goal of this channel is
  225. 6:31to teach you as fast as possible without
  226. 6:33wasting your time. I'm not ending the
  227. 6:34video here. We're going to dive straight
  228. 6:36into the code right now, so you can
  229. 6:37understand exactly how it works and
  230. 6:39actually learn the logic. The second
  231. 6:41problem is that the menu is currently
  232. 6:42non-functional. All the features you see
  233. 6:44on the screen, the boxes, the health,
  234. 6:45the skeletons, are active right now, but
  235. 6:47toggling the buttons in the menu doesn't
  236. 6:49actually turn them on or off yet. I
  237. 6:51intentionally left it this way, so I can
  238. 6:52show you how to wire them up yourself.
  239. 6:54By the time we finish this video, you
  240. 6:55will fully understand how cheat logic
  241. 6:57connects to a menu and how you can apply
  242. 6:59this to any game you want. Let's start
  243. 7:00by customizing the menu itself. Inside
  244. 7:02that same int main function, scroll down
  245. 7:04until you find the word begin suggests,
  246. 7:06this is where our menu UI actually
  247. 7:07starts. We are basically telling ImGui
  248. 7:10to create a new window for us. The text
  249. 7:12inside the quotation marks here is what
  250. 7:13appears as the title at the top of our
  251. 7:15menu screen. If you want to personalize
  252. 7:17this and give it your own name or your
  253. 7:19community's name, just change the text
  254. 7:20inside these quotes. As soon as you edit
  255. 7:22it and hit run again, you can see the
  256. 7:24title changes instantly. The code right
  257. 7:26below that handles the sidebar tabs you
  258. 7:27see on the left side of the menu. You
  259. 7:29can see all the existing tabs listed out
  260. 7:31right here. If you want to add a brand
  261. 7:32new tab, just add a new line to this
  262. 7:34list following the exact same format.
  263. 7:36You can also delete any tabs you don't
  264. 7:38want. The only thing you need to
  265. 7:38remember is to update the the right
  266. 7:40above it. Change that I less than four
  267. 7:42count to match whatever your new total
  268. 7:43number of tabs is, or the menu won't
  269. 7:45render them all correctly. And just like
  270. 7:47that, we have a new tab. As you can see,
  271. 7:49the new tab we just created is
  272. 7:50completely empty. Let's fill it up. To
  273. 7:52do that, scroll down until you see the
  274. 7:54code for ImGui I colon colon begin child
  275. 7:57main content. This is the section
  276. 7:59responsible for displaying the actual
  277. 8:00buttons and settings for whichever tab
  278. 8:02you click on. If you look closely at the
  279. 8:04logic, you'll see it starts with if
  280. 8:06active tab equals zero, which holds all
  281. 8:09the features for very first tab, the
  282. 8:11aimbot. Below that, else if active tab
  283. 8:13equals one handles the second tab, which
  284. 8:15is the ESP. Following this exact same
  285. 8:18pattern, we can add contents for our new
  286. 8:19tab. Since this is our fifth tab, we're
  287. 8:21going to write else if active tab equals
  288. 8:23four. We use the number four because in
  289. 8:25programming, counting always starts from
  290. 8:27zero, not one. So, tab one is zero, tab
  291. 8:30two is one, and our fifth tab is four.
  292. 8:32Let's start by adding some text to our
  293. 8:34new tab. To save time, I'll just copy
  294. 8:35the text layout code from the previous
  295. 8:37tab. First, look at the set window font
  296. 8:39scale line. This exactly controls the
  297. 8:41size of the text. You can increase or
  298. 8:42decrease this number to change the
  299. 8:43scale. For a main heading, you'll want
  300. 8:45to use a larger font size. Just make
  301. 8:47sure that right after your heading, you
  302. 8:48add another scale line to lower it back
  303. 8:50down so that all the regular text and
  304. 8:52options you create below it stay at a
  305. 8:53normal, smaller size. To actually
  306. 8:55display the words on the screen, you use
  307. 8:57the instruction ImGui UI double colon
  308. 9:01text. Inside the parentheses and quotes,
  309. 9:03you can type absolutely anything you
  310. 9:05want, and ImGui will draw it onto your
  311. 9:07menu instantly. Now, you want to give
  312. 9:09your users some actual options to toggle
  313. 9:11the features of your cheat on or off. To
  314. 9:12do that, we use a UI element called a
  315. 9:14checkbox. Before we add the visual
  316. 9:16checkbox to the menu, we need to create
  317. 9:18a place in memory to store its state. To
  318. 9:20do that, we're going to create a bool
  319. 9:21variable. A variable is just a container
  320. 9:23that holds data for us, so we can use it
  321. 9:25later. In this case, a bool is short for
  322. 9:27boolean, meaning it can only hold two
  323. 9:29values, true or false. We will use this
  324. 9:31variable to track whether our cheat
  325. 9:32feature is turned on or off. If this
  326. 9:34sounds a little complicated right now,
  327. 9:35don't worry. Just follow these next few
  328. 9:37steps and you'll see exactly how it
  329. 9:39connects. To create a bool variable,
  330. 9:41type out the code exactly as you see
  331. 9:42here. You can choose any name you want
  332. 9:44for this container. In this example,
  333. 9:46I've named it option, but feel free to
  334. 9:48call it whatever makes sense to you.
  335. 9:49Now, let's link it to the menu. To
  336. 9:51create the actual visual checkbox, type
  337. 9:53ImGui double colon checkbox. Inside the
  338. 9:55quotation marks, type the text you want
  339. 9:57to appear next to the box in your menu.
  340. 9:58Right after that text, we need to pass
  341. 10:00in our bool variable with an ampersand,
  342. 10:02exactly like I've done here. This tells
  343. 10:03the menu to automatically change our
  344. 10:05variable to true when the box is checked
  345. 10:07and false when it's unchecked. Another
  346. 10:09common feature is a slider, which is
  347. 10:10perfect for adjusting values like aimbot
  348. 10:12speed or FOV radius. To make one, use
  349. 10:15the ImGui double colon slider float
  350. 10:18function. We need a float variable to
  351. 10:19store the value, which just means a
  352. 10:21number with decimal points like 0.1 or
  353. 10:245.5. When you call the function, pass in
  354. 10:26the text label, your float variable, and
  355. 10:28then specify the minimum and maximum
  356. 10:29values to set the exact boundaries for
  357. 10:31the slider. Let's run it, and as you can
  358. 10:33see that we have a slider.
  359. 10:36Now, scroll up until you find the void
  360. 10:37hack game function. As the name
  361. 10:38suggests, this is the actual core code
  362. 10:40responsible for everything we discussed
  363. 10:42earlier. In short, this function uses
  364. 10:44your offsets to pull live data straight
  365. 10:46out of the game's memory and then tells
  366. 10:47ImGui exactly where to draw the ESP
  367. 10:50lines, boxes, and player skeletons on
  368. 10:52your screen. The very first thing this
  369. 10:54function does is get the entity list and
  370. 10:56the view matrix. The entity list is a
  371. 10:57specific section of the game's memory
  372. 10:59that contains the live data for every
  373. 11:00single player on the map. We need to
  374. 11:02target this list so our app can pull the
  375. 11:04locations and health of our enemies.
  376. 11:05But, there's a catch. Your computer
  377. 11:07monitor is a flat 2D screen. When you
  378. 11:09play a 3D game, the engine uses clever
  379. 11:11math to create the illusion of depth on
  380. 11:13that flat surface, just like drawing a
  381. 11:143D cube on a flat piece of paper.
  382. 11:16Because the player coordinates we pull
  383. 11:18from the game are in 3D space, we have
  384. 11:19to convert them back into flat 2D screen
  385. 11:21coordinates, so our ESP knows exactly
  386. 11:24where to draw. To do that conversion, we
  387. 11:25use the game's view matrix. Next, the
  388. 11:27function gets the local player. Local
  389. 11:28player simply means you, the person
  390. 11:30playing the game, not your enemies or
  391. 11:32your teammates. We need to grab our own
  392. 11:33player data so we can find our specific
  393. 11:35team ID. We use this team ID to filter
  394. 11:37out teammates so our cheat only targets
  395. 11:39the enemies. If we skip this step, the
  396. 11:41app won't know the difference and will
  397. 11:42draw ESP boxes or lock aimbots onto your
  398. 11:45own team. Scroll a bit further down and
  399. 11:46you will see the lines where the app
  400. 11:48reads the health and team ID of each
  401. 11:50player it finds. Right below that, you
  402. 11:52can see the exact conditional logic that
  403. 11:53compares the player's team ID against
  404. 11:55our own local player team ID. If they
  405. 11:57match, the code skips them entirely,
  406. 11:59ensuring the cheat stays focused
  407. 12:01strictly on the enemy team. Next, we
  408. 12:02need one last piece of data before we
  409. 12:04can actually draw our ESP, and it's the
  410. 12:07most important thing of all, the exact
  411. 12:08position of the players. To get this, we
  412. 12:10access something called the bone array.
  413. 12:12The bone array is a specific part of the
  414. 12:13game's memory that holds the live 3D
  415. 12:15coordinates for every single bone in a
  416. 12:17character's body. We need this data to
  417. 12:18pinpoint exactly where our enemies are
  418. 12:20standing so we can track them through
  419. 12:21walls and draw an accurate skeleton ESP
  420. 12:24over them. In fact, the entire ESP and
  421. 12:26the aimbot completely rely on these
  422. 12:27positions. You literally cannot make a
  423. 12:29cheat if you don't know where the
  424. 12:30enemies are. That's the whole point of
  425. 12:32an ESP, and this code does just that for
  426. 12:34us. Once we have that bone array data,
  427. 12:36we hit the final step before drawing.
  428. 12:37Like we discussed earlier, these bone
  429. 12:39positions are stored by the game in 3D
  430. 12:40space. So, we pass them right into our
  431. 12:42world to screen function, which handles
  432. 12:44the math to convert those 3D coordinates
  433. 12:46into flat 2D positions on your monitor
  434. 12:48so our ESP hack can draw the lines
  435. 12:50perfectly in place. Next up is our
  436. 12:52aimbot logic. For a good aimbot, you
  437. 12:54don't want your crosshair randomly
  438. 12:56snapping to players all the way across
  439. 12:58the map. You want it to target the enemy
  440. 13:00within your FOV radius and closest to
  441. 13:02your actual crosshair. This section of
  442. 13:04the code handles that math for us,
  443. 13:05constantly checking the distances and
  444. 13:07finding the perfect target. The
  445. 13:08remaining blocks of code below this are
  446. 13:10simply responsible for the actual
  447. 13:12drawing. We use the overlay double
  448. 13:13colon's box and line functions to
  449. 13:15instantly render the bounding boxes,
  450. 13:17lines, and health bar ESP directly onto
  451. 13:19your screen based on all that data we
  452. 13:21collected. Now, if you want to change
  453. 13:22the color of your ESP features, it's
  454. 13:24incredibly easy. Just search for an RGB
  455. 13:27color picker on Google, dial in whatever
  456. 13:28custom color you want, and copy the RGB
  457. 13:31values it gives you. Then come back to
  458. 13:32the code and look for IM_COL32.
  459. 13:35Inside the parentheses, you can just
  460. 13:37paste your new RGB values right over the
  461. 13:39old ones. The fourth and final number in
  462. 13:41that function represents the
  463. 13:42transparency. You can tweak it if you
  464. 13:44want your ESP to look a bit more
  465. 13:45see-through, but I'm going to leave it
  466. 13:47exactly as it is for now. And as you can
  467. 13:49see, we have changed our box ESP color
  468. 13:51to red. Now, let's look at how the
  469. 13:53aimbot actually works. Since we already
  470. 13:55know the exact location of the enemies,
  471. 13:56we simply need to tell our mouse to move
  472. 13:58until the enemy is locked directly onto
  473. 14:00our crosshair. And since the crosshair
  474. 14:01in almost every game is always perfectly
  475. 14:04at the center of the screen, the math
  476. 14:05becomes straightforward. While the
  477. 14:06previous code we looked at was strictly
  478. 14:08responsible for finding the absolute
  479. 14:10best target nearest to our crosshair,
  480. 14:12this block of code right here takes that
  481. 14:14target's position and actually moves our
  482. 14:15mouse until the enemy is perfectly
  483. 14:17centered on the screen. Now, let's
  484. 14:19actually make our menu functional so our
  485. 14:20cheat features only turn on or off when
  486. 14:22we toggle them on the screen. Go back to
  487. 14:24our main function where the tab code
  488. 14:25lives. As you can see, we created a
  489. 14:27checkbox linked to a bool variable
  490. 14:28called enable_aim, that is for our
  491. 14:30aimbot toggle. Below it, we have our
  492. 14:32sliders for the aim smoothing and the
  493. 14:34FOV radius, plus a combo box for
  494. 14:36selecting exactly which bone of the
  495. 14:37enemy we want to target. Right now,
  496. 14:39these variables are trapped inside our
  497. 14:40main function. To use them inside our
  498. 14:42hacking logic, highlight these
  499. 14:43variables, press control X to cut them,
  500. 14:45and then scroll all the way to the top
  501. 14:46and paste them right before our hack
  502. 14:48game function. This turns them into
  503. 14:49global variables, meaning they can now
  504. 14:51be read and used anywhere in our entire
  505. 14:52project, including inside our hacking
  506. 14:54loop. Next, let's head right back into
  507. 14:55our aimbot code that we just discussed.
  508. 14:57Now that our variables are global, we
  509. 14:58can finally utilize them here. First,
  510. 15:00we're going to take enable_aim and wrap
  511. 15:02our entire aimbot logic inside an if
  512. 15:04statement checking for this variable. As
  513. 15:06you can see, by doing this, our aimbot
  514. 15:08will remain completely idle and won't
  515. 15:09execute a single line of code until we
  516. 15:11actually toggle it on using the checkbox
  517. 15:13in our menu.
  518. 15:17All right, let's hook up the sliders and
  519. 15:19the body part selection for the aimbot.
  520. 15:21To do that, we just need to swap out the
  521. 15:23hard-coded numbers in our code. Find
  522. 15:25where the aimbot FOV radius is set and
  523. 15:27simply replace that static value with
  524. 15:29our sliders variable. We do the exact
  525. 15:31same thing for the aim smoothing value,
  526. 15:32as well. Now, whenever you slide those
  527. 15:34bars on your menu, the cheat will
  528. 15:35instantly update in real-time. Next, for
  529. 15:37the aimbot bone selection, we can use
  530. 15:39simple if conditions to check exactly
  531. 15:41what the user picked in the combo box.
  532. 15:42If the selected bone variable equals
  533. 15:44zero, it means the head is selected, so
  534. 15:46we assign the head bone's ID to our
  535. 15:48target variable. If it equals one, the
  536. 15:49neck is selected. And if it equals two,
  537. 15:51then that means the body or pelvis is
  538. 15:53selected. Remember, as I told you
  539. 15:55earlier, counting the order of elements
  540. 15:56in programming always starts with zero,
  541. 15:58which is why our options go from zero to
  542. 16:01two. I am also going to remove the chest
  543. 16:02option from the combo and replace the
  544. 16:04pelvis option to body, so it's easier
  545. 16:07for the users to understand. Now, let's
  546. 16:09check how everything is working.
  547. 16:45As you can see, everything is working
  548. 16:46perfectly. Now, let's fix the very last
  549. 16:48thing, which is our ESP options. The
  550. 16:50first thing I'm going to do is rename
  551. 16:52our name ESP option to skeleton ESP
  552. 16:55instead, because we don't actually have
  553. 16:57a name ESP in this build. When you
  554. 16:58change a name like this, you also need
  555. 17:00to make sure to rename its variable
  556. 17:01everywhere it is used in the project, or
  557. 17:03your compiler will throw errors. While
  558. 17:05we are at it, let's create a brand new
  559. 17:06bool variable in that same global area,
  560. 17:08which we'll use for toggling our health
  561. 17:10ESP on or off. Watch closely as I rename
  562. 17:12the variable across the code to clear
  563. 17:13out these red error lines, and then we
  564. 17:15will quickly create a brand checkbox in
  565. 17:17the menu for the health ESP.
  566. 17:25Next, we just need to link these new
  567. 17:26variables to the drawing logic inside
  568. 17:28our hack game function. Scroll to the
  569. 17:29code for the skeleton ESP. I'll simply
  570. 17:31wrap this in an if statement, just like
  571. 17:33we did with the aimbot, to check if our
  572. 17:34skeleton ESP variable is true. We'll
  573. 17:36place our overlay double colon's line
  574. 17:38functions right inside it. Our skeleton
  575. 17:39hack also draws a red circle for the
  576. 17:41enemy's head, so we need to make sure
  577. 17:42that circle is wrapped inside this exact
  578. 17:44same if statement. So, it only draws
  579. 17:46when the user wants the skeleton
  580. 17:47visible. Finally, I'll do the exact same
  581. 17:49thing for the bounding box and the
  582. 17:50health bar ESP code, wrapping them in
  583. 17:52their own toggle. And now, when we hit
  584. 17:54run, you can see absolutely everything
  585. 17:56working smoothly and responding to the
  586. 17:58menu dynamically in real time.
  587. 18:01And that is how you make your very first
  588. 18:03cheat. Now, your next step is to take
  589. 18:04everything I've taught you today and
  590. 18:06start experimenting. Try changing things
  591. 18:08around, tweak the colors, adjust the
  592. 18:10sliders, or try adding a brand new tab
  593. 18:12to the menu by playing with the code.
  594. 18:14Breaking things and figuring out how to
  595. 18:15fix them is exactly how you truly learn.
  596. 18:18And remember, if you want to hack any of
  597. 18:19your favorite games in the future, the
  598. 18:20core rules remain exactly the same. No
  599. 18:23matter the game, your workflow is always
  600. 18:24going to be find the entity list, grab
  601. 18:26the view matrix, locate the player
  602. 18:28position offsets, pass them through a
  603. 18:29world to screen function, and then use
  604. 18:31your overlay to draw the lines and boxes
  605. 18:33on top of them. This foundational logic
  606. 18:34never changes.

About this transcript

This page contains the full transcript of Learn To Make CHEATS for any GAME in 18 Minutes by BranchLink, generated from the public captions YouTube serves with the video. The transcript has 4,266 words across 606 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.