Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883

    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
    Last edited by Hunter; 01-18-2016 at 11:39 AM.

  2. The Following 4 Users Say Thank You to jumboperson187 For This Useful Post:

    AlexGeoZz1 (07-31-2014),Cabbager001 (08-03-2014),jimmybe29 (07-31-2014),KastOn_Bag (12-24-2014)

  3. #2
    AlexGeoZz1's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    827
    Thanks man ! Ima get to work

  4. #3
    LordNature's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    158
    Reputation
    10
    Thanks
    1,171
    My Mood
    Amazed
    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?

  5. #4
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    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.

  6. #5
    AlexGeoZz1's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    827
    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

  7. #6
    Blueblood1's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    711
    Reputation
    132
    Thanks
    7,129
    My Mood
    Mellow
    Just seems like extra work to me.

  8. #7
    LordNature's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    158
    Reputation
    10
    Thanks
    1,171
    My Mood
    Amazed
    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.

  9. #8
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    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.

  10. #9
    LordNature's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    158
    Reputation
    10
    Thanks
    1,171
    My Mood
    Amazed
    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?

  11. #10
    BarackObamaCare's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    175
    Reputation
    10
    Thanks
    199
    My Mood
    Happy
    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

  12. #11
    duongthihoavn1990's Avatar
    Join Date
    Jul 2014
    Gender
    female
    Posts
    7
    Reputation
    10
    Thanks
    0
    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"

  13. #12
    AlexGeoZz1's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    827
    All we need now is source codes to add into the base

  14. #13
    LordNature's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    158
    Reputation
    10
    Thanks
    1,171
    My Mood
    Amazed
    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.

  15. #14
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    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.

  16. The Following User Says Thank You to jumboperson187 For This Useful Post:

    LordNature (07-31-2014)

  17. #15
    desertions's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    183
    Reputation
    10
    Thanks
    291
    Quote Originally Posted by LordNature View Post
    I got Titanium from it, but not the dev kit.
    do a quick google search
    second link

Page 1 of 2 12 LastLast

Similar Threads

  1. Looking for a hack menu that will work with 1.5.2 (new world)
    By moosenoodles in forum Minecraft Help
    Replies: 1
    Last Post: 07-15-2013, 07:05 AM
  2. How do I create a menu for my hack? And add more hacks? I used Cn's tut for hacks.
    By calvinchau309 in forum Combat Arms Coding Help & Discussion
    Replies: 11
    Last Post: 02-19-2011, 08:50 PM
  3. Can you use a working hack as a Bypass for another hack?
    By omlan in forum Combat Arms Discussions
    Replies: 2
    Last Post: 01-12-2010, 01:41 AM
  4. uses for moonwalk hack?
    By doommach in forum Combat Arms Discussions
    Replies: 25
    Last Post: 11-10-2009, 02:55 AM
  5. Tutorial - How to use Visual Basics 6 (vb6) for WarRock hacks
    By Oneirish in forum Visual Basic Programming
    Replies: 17
    Last Post: 05-26-2008, 07:24 AM

Tags for this Thread