Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Unturned Hacks & Cheats › Basis for a Hack Menu Using Unity

Basis for a Hack Menu Using Unity

Posts 1–15 of 25 · Page 1 of 2
JU
jumboperson187
Basis for a Hack Menu Using Unity
I wrote a small base for unturned/unity hack menus.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class Hacks : MonoBehaviour
{
    bool            hack            = false;
    bool            esp             = true;
    float           scrHeight       = Screen.height;
    int selection = 1;
    int maxSelect = 4;
    float           scrWidth        = Screen.width;
    void Start()
    {

    }
    
    void Update()
    {
        //Keycode hack activation
        if (Input.GetKeyDown(KeyCode.Insert))
        {
            hack = !hack;
        }
        if (hack)
        {
            if(Input.GetKeyDown(KeyCode.DownArrow))
            {
                if (selection != maxSelect)
                {
                    selection += 1;
                }
                else
                {
                    if (selection == maxSelect)
                    {
                        selection = 1;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.UpArrow))
            {
                if (selection != 1)
                {
                    selection -= 1;
                }
                else
                {
                    if (selection == 1)
                    {
                        selection = maxSelect;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.RightControl))
            {
                if (selection == 1)
                {
                    selection1();
                }
                else
                {
                    if (selection == 2)
                    {
                        selection2();
                    }
                    else
                    {
                        if (selection == 3)
                        {
                            selection3();
                        }
                        else
                        {
                            if (selection == 4)
                            {
                                selection4();
                            }
                            else
                            {

                            }
                        }
                    }
                }
            }
        }

    }
    // FUNCTIONS
    void selection1()
    {
        
    }

    void selection2()
    {
        
    }
    
    void selection3()
    {
        
    }

    void selection4()
    {
        
    }

    void OnGUI()
    {
        //Nice GUI
        GUI.color = Color.magenta;
        GUI.Label(new Rect(200, 0, 200, 40), "Hack Name v1.0");
        GUI.color = Color.white;
        if (hack)
        {
            GUI.Box(new Rect(0, 290, 120, 300), "- Functions -");
            if (selection == 1)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 320, 100, 30), "Selection1");
            if (selection == 2)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 350, 100, 30), "Selection2");
            if (selection == 3)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 380, 100, 30), "Selection3");

            if (selection == 4)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 410, 100, 30), "Selection4");

        }
    }
}
If anyone releases a menu using this I would appreciate a small credit. Thanks
#1 · edited 10y ago · 12y ago
AlexGeoZz1
AlexGeoZz1
Thanks man ! Ima get to work
#2 · 12y ago
LordNature
LordNature
Quote Originally Posted by jumboperson187 View Post
I wrote a small base for unturned/unity hack menus.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class Hacks : MonoBehaviour
{
    bool            hack            = false;
    bool            esp             = true;
    float           scrHeight       = Screen.height;
    int selection = 1;
    int maxSelect = 4;
    float           scrWidth        = Screen.width;
    void Start()
    {

    }
    
    void Update()
    {
        //Keycode hack activation
        if (Input.GetKeyDown(KeyCode.Insert))
        {
            hack = !hack;
        }
        if (hack)
        {
            if(Input.GetKeyDown(KeyCode.DownArrow))
            {
                if (selection != maxSelect)
                {
                    selection += 1;
                }
                else
                {
                    if (selection == maxSelect)
                    {
                        selection = 1;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.UpArrow))
            {
                if (selection != 1)
                {
                    selection -= 1;
                }
                else
                {
                    if (selection == 1)
                    {
                        selection = maxSelect;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.RightControl))
            {
                if (selection == 1)
                {
                    selection1();
                }
                else
                {
                    if (selection == 2)
                    {
                        selection2();
                    }
                    else
                    {
                        if (selection == 3)
                        {
                            selection3();
                        }
                        else
                        {
                            if (selection == 4)
                            {
                                selection4();
                            }
                            else
                            {

                            }
                        }
                    }
                }
            }
        }

    }
    // FUNCTIONS
    void selection1()
    {
        
    }

    void selection2()
    {
        
    }
    
    void selection3()
    {
        
    }

    void selection4()
    {
        
    }

    void OnGUI()
    {
        //Nice GUI
        GUI.color = Color.magenta;
        GUI.Label(new Rect(200, 0, 200, 40), "Hack Name v1.0");
        GUI.color = Color.white;
        if (hack)
        {
            GUI.Box(new Rect(0, 290, 120, 300), "- Functions -");
            if (selection == 1)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 320, 100, 30), "Selection1");
            if (selection == 2)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 350, 100, 30), "Selection2");
            if (selection == 3)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 380, 100, 30), "Selection3");

            if (selection == 4)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 410, 100, 30), "Selection4");

        }
    }
}
If anyone releases a menu using this I would appreciate a small credit. Thanks
Trying to learn C# at the moment :P. Any tips?
#3 · 12y ago
JU
jumboperson187
Quote Originally Posted by LordNature View Post
Trying to learn C# at the moment :P. Any tips?
Same as every other language but with different functions. Relatively simple. I taught myself C++ and then C# was easy.
#4 · 12y ago
AlexGeoZz1
AlexGeoZz1
Quote Originally Posted by jumboperson187 View Post
I wrote a small base for unturned/unity hack menus.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class Hacks : MonoBehaviour
{
    bool            hack            = false;
    bool            esp             = true;
    float           scrHeight       = Screen.height;
    int selection = 1;
    int maxSelect = 4;
    float           scrWidth        = Screen.width;
    void Start()
    {

    }
    
    void Update()
    {
        //Keycode hack activation
        if (Input.GetKeyDown(KeyCode.Insert))
        {
            hack = !hack;
        }
        if (hack)
        {
            if(Input.GetKeyDown(KeyCode.DownArrow))
            {
                if (selection != maxSelect)
                {
                    selection += 1;
                }
                else
                {
                    if (selection == maxSelect)
                    {
                        selection = 1;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.UpArrow))
            {
                if (selection != 1)
                {
                    selection -= 1;
                }
                else
                {
                    if (selection == 1)
                    {
                        selection = maxSelect;
                    }
                }
            }
            
            if (Input.GetKeyDown(KeyCode.RightControl))
            {
                if (selection == 1)
                {
                    selection1();
                }
                else
                {
                    if (selection == 2)
                    {
                        selection2();
                    }
                    else
                    {
                        if (selection == 3)
                        {
                            selection3();
                        }
                        else
                        {
                            if (selection == 4)
                            {
                                selection4();
                            }
                            else
                            {

                            }
                        }
                    }
                }
            }
        }

    }
    // FUNCTIONS
    void selection1()
    {
        
    }

    void selection2()
    {
        
    }
    
    void selection3()
    {
        
    }

    void selection4()
    {
        
    }

    void OnGUI()
    {
        //Nice GUI
        GUI.color = Color.magenta;
        GUI.Label(new Rect(200, 0, 200, 40), "Hack Name v1.0");
        GUI.color = Color.white;
        if (hack)
        {
            GUI.Box(new Rect(0, 290, 120, 300), "- Functions -");
            if (selection == 1)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 320, 100, 30), "Selection1");
            if (selection == 2)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 350, 100, 30), "Selection2");
            if (selection == 3)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 380, 100, 30), "Selection3");

            if (selection == 4)
            {
                GUI.color = Color.red;
            }
            else
            {
                GUI.color = Color.white;
            }
            GUI.Label(new Rect(10, 410, 100, 30), "Selection4");

        }
    }
}
If anyone releases a menu using this I would appreciate a small credit. Thanks

Love this ! Really nice gui bro with a few tweaks I got it lookin sexy
#5 · 12y ago
Blueblood1
Blueblood1
Just seems like extra work to me.
#6 · 12y ago
LordNature
LordNature
Quote Originally Posted by jumboperson187 View Post
Same as every other language but with different functions. Relatively simple. I taught myself C++ and then C# was easy.
I know Java, PHP, HTML5, Sass, MySQLi, Ruby, RoR, Batch, and a little bit of Python. Will any of that help?
Most of the languages are used for web development.
#7 · 12y ago
JU
jumboperson187
Quote Originally Posted by LordNature View Post
I know Java, PHP, HTML5, Sass, MySQLi, Ruby, RoR, Batch, and a little bit of Python. Will any of that help?
Most of the languages are used for web development.
Yea, all of those would help.
Quote Originally Posted by Blueblood1 View Post
Just seems like extra work to me.
What does? Helping people out with a small framework? I wrote this in a solid 10 minutes that would have been spent doing something stupid otherwise.
#8 · 12y ago
LordNature
LordNature
Quote Originally Posted by jumboperson187 View Post
Yea, all of those would help.
Also, where do I download the Titanium Devkit as well as Titanium?
#9 · 12y ago
BA
BarackObamaCare
Quote Originally Posted by LordNature View Post
Also, where do I download the Titanium Devkit as well as Titanium?
Titanium was originally used for rust so in the rust section most likely
#10 · 12y ago
DU
duongthihoavn1990
Website c?a bên mình hình nhu code gi?ng website c?a b?n, b?n th? qua tham kh?o website c?a mình xem "bepthaison.vn"
#11 · 12y ago
AlexGeoZz1
AlexGeoZz1
All we need now is source codes to add into the base
#12 · 12y ago
LordNature
LordNature
Quote Originally Posted by BarackObamaCare View Post
Titanium was originally used for rust so in the rust section most likely
I got Titanium from it, but not the dev kit.
#13 · 12y ago
JU
jumboperson187
Quote Originally Posted by LordNature View Post
I got Titanium from it, but not the dev kit.
Check the *OTHER* site, where it was originally posted.
#14 · 12y ago
desertions
desertions
Quote Originally Posted by LordNature View Post
I got Titanium from it, but not the dev kit.
do a quick google search
second link
#15 · 12y ago
Posts 1–15 of 25 · Page 1 of 2

Post a Reply

Similar Threads

  • Looking for a hack menu that will work with 1.5.2 (new world)By moosenoodles in Minecraft Help
    1Last post 13y ago
  • How do I create a menu for my hack? And add more hacks? I used Cn's tut for hacks.By calvinchau309 in Combat Arms Coding Help & Discussion
    11Last post 15y ago
  • uses for moonwalk hack?By doommach in Combat Arms Discussions
    25Last post 16y ago
  • Can you use a working hack as a Bypass for another hack?By omlan in Combat Arms Discussions
    2Last post 16y ago
  • Tutorial - How to use Visual Basics 6 (vb6) for WarRock hacksBy Oneirish in Visual Basic Programming
    17Last post 18y ago

Tags for this Thread

#base#hacks#menu#unity#unturned