Advertisement
N4ri

fixunexpectedclient

Oct 28th, 2021
1,526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.92 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace UnexpectedFix
  9. {
  10.     class Program
  11.     {
  12.         static void Main(string[] args)
  13.         {
  14.             if (File.Exists(@"C:\Users\" + Environment.UserName + @"\AppData\Local\Roblox\GlobalBasicSettings_13.xml"))
  15.             {
  16.                 try {
  17.                     string rewrittenrblx = File.ReadAllText(@"C:\Users\" + Environment.UserName + @"\AppData\Local\Roblox\GlobalBasicSettings_13.xml");
  18.                     rewrittenrblx = rewrittenrblx.Replace("<Item class=\"UserGameSettings\" referent=\"", "<Item class=\"UserGameSettings\" referent=\"A");
  19.                     File.WriteAllText(@"C:\Users\" + Environment.UserName + @"\AppData\Local\Roblox\GlobalBasicSettings_13.xml", rewrittenrblx);
  20.                 }
  21.                 catch { }
  22.             }
  23.         }
  24.     }
  25. }
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement