Yes

 avatar
unknown
csharp
10 months ago
1.8 kB
4
Indexable
using System;

namespace MyApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Do you want free robux? y/n");
            var answer = InputBetter();
            

            Console.Clear();

            if ((answer == "no") || (answer == "n")){
                Console.WriteLine("Why are you here then?");
                Console.Read();
                Environment.Exit(1);
            }
            else if ((answer != "yes") && (answer != "y")){
                Console.WriteLine("Bruh ur supposed to type either 'y' or 'n' you dumbass.");
                Console.Read();
                Environment.Exit(1);
            }

            Console.Clear();
            Console.WriteLine("What is your username then?");
            Console.ReadLine();

            Console.WriteLine("And how much robux do u want? (Type inf for infinite)");
            var robuxAmount = InputBetter();

            if (robuxAmount == "inf"){
                var i = 0;
                while (true){
                    Console.WriteLine("Successfully added {0} robux to your account.", i);
                    i += 1;
                }
            }
            else {
                Console.WriteLine("Successfully added {0} robux to your account", robuxAmount);
            }

        }

        static string InputBetter()
        {
            try{
            #pragma warning disable
            var answer = Console.ReadLine().ToLower();
            return answer;
            #pragma warning restore
            }
            catch{
                Console.WriteLine("You're supposed to write something u reetard.");
                Console.Read();
                Environment.Exit(0);
                return "0";
            }
        }
    }
}
Editor is loading...
Leave a Comment