Why is checkbox5,6,7,8 not working correctly. What's the difference between them and 1,2,3,4?


```
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows.Forms;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using SFD.DedicatedServer;
using SFD.GameKeyboard;
using SFD.GUI.Text;
using SFD.ResolutionWindow;
using SFD.States;
using SFD.Weather;

namespace SFD
{
	// Token: 0x0200015D RID: 349
	public partial class GameSFD : Game
	{
		// Token: 0x06000D27 RID: 3367
		public void DrawFPSAndPerformance()
		{
			if (this.pixelTexture == null)
			{
				this.pixelTexture = new Texture2D(base.GraphicsDevice, 1, 1);
				this.pixelTexture.SetData<Microsoft.Xna.Framework.Color>(new Microsoft.Xna.Framework.Color[]
				{
					Microsoft.Xna.Framework.Color.White
				});
			}
			if (GameSFD.VIDEO_MODE)
			{
				return;
			}
			if (Constants.FontSimple != null && (GameSFD.SHOW_FPS | ConsoleOutput.IsVisible))
			{
				float num = 20f;
				float heightf = 31f;
				float additionalTextY1 = 50f;
				float additionalTextY2 = 90f;
				float additionalTextY3 = 130f;
				float additionalTextY4 = 170f;
				float additionalTextY5 = 210f;
				float additionalTextY6 = 250f;
				float additionalTextY7 = 290f;
				float additionalTextY8 = 330f;
				float scale = 1.5f;
				float scale2 = 1.7f;
				Microsoft.Xna.Framework.Color guiMessageColor = Microsoft.Xna.Framework.Color.Goldenrod;
				Microsoft.Xna.Framework.Color guiAdditionalText = Microsoft.Xna.Framework.Color.DarkRed;
				bool currentInsertKeyState = Keyboard.GetState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.Insert);
				string text = string.Format("HowqueClient | fps {0}", this.m_upsDraw.UPS);
				Vector2 position = new Vector2(GameSFD.SCREEN_WIDTHf - 270f, GameSFD.SCREEN_HEIGHTf - heightf - 2f);
				SpriteFont fontSimple = Constants.FontSimple;
				float num2 = 1f;
				float num3 = (float)DateTime.Now.TimeOfDay.TotalSeconds;
				byte r = (byte)(Math.Sin((double)(num3 * num2)) * 127.0 + 128.0);
				byte g = (byte)(Math.Sin(((double)num3 + 1.0) * (double)num2) * 127.0 + 128.0);
				byte b = (byte)(Math.Sin(((double)num3 + 2.0) * (double)num2) * 127.0 + 128.0);
				Microsoft.Xna.Framework.Color color = new Microsoft.Xna.Framework.Color((int)r, (int)g, (int)b);
				Vector2 textSize = Constants.FontSimple.MeasureString(text);
				float padding = 5f;
				Microsoft.Xna.Framework.Rectangle backgroundRectFPS = new Microsoft.Xna.Framework.Rectangle((int)(position.X - padding), (int)(position.Y - padding), (int)(textSize.X + 2f * padding), (int)(textSize.Y + 2f * padding));
				this.m_spriteBatch.Draw(this.pixelTexture, backgroundRectFPS, Microsoft.Xna.Framework.Color.Transparent);
				Constants.DrawString(this.m_spriteBatch, fontSimple, text, position, Microsoft.Xna.Framework.Color.Black, 0f, Vector2.Zero, scale2, SpriteEffects.None, 0);
				Constants.DrawString(this.m_spriteBatch, fontSimple, text, position, color, 0f, Vector2.Zero, scale2, SpriteEffects.None, 0);
				if (ConsoleOutput.IsVisible)
				{
					num += 20f;
					if (this.m_portForwardingShouldBeEnabled)
					{
						Microsoft.Xna.Framework.Color color2 = Microsoft.Xna.Framework.Color.Red;
						switch (this.m_portForwardingStatus)
						{
						case GameSFD.PortForwardingStatus.Disabled:
							text = string.Format("Port Forwarding {0} Failed", Constants.NET.CLIENT_REMOTE_PORT_TO_CONNECT_TO);
							color2 = Microsoft.Xna.Framework.Color.Red;
							break;
						case GameSFD.PortForwardingStatus.Enabled:
							text = string.Format("Port Forwarding {0} OK", Constants.NET.CLIENT_REMOTE_PORT_TO_CONNECT_TO);
							color2 = Microsoft.Xna.Framework.Color.Green;
							break;
						case GameSFD.PortForwardingStatus.SettingUp:
							text = "Setting Up Port Forwarding...";
							color2 = Microsoft.Xna.Framework.Color.Yellow;
							break;
						}
						Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 155f, GameSFD.SCREEN_HEIGHTf - num - 1f), Microsoft.Xna.Framework.Color.Black);
						Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 154f, GameSFD.SCREEN_HEIGHTf - num - 0f), color2);
						num += 20f;
					}
					if (this.m_onlineServiceOffline && this.Server != null)
					{
						Microsoft.Xna.Framework.Color red = Microsoft.Xna.Framework.Color.Red;
						text = "Online Services Unavailable";
						Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 155f, GameSFD.SCREEN_HEIGHTf - num - 1f), Microsoft.Xna.Framework.Color.Black);
						Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 154f, GameSFD.SCREEN_HEIGHTf - num - 0f), red);
						num += 20f;
					}
					Client client = this.Client;
					if (client != null)
					{
						if (ConsoleOutput.IsVisible || GameMenu.ScoreboardPanelActive || GameMenu.GameMenuPanelActive)
						{
							bool flag = false;
							if (client.LocalUserIdentifiers != null && client.LocalUserIdentifiers.Length != 0 && client.GameInfo != null)
							{
								if (this.m_drawPingGameUser == null || this.m_drawPingGameUser.IsDisposed || this.m_drawPingGameUser.UserIdentifier != client.LocalUserIdentifiers[0])
								{
									this.m_drawPingGameUser = client.GameInfo.GetGameUserByUserIdentifier(client.LocalUserIdentifiers[0]);
								}
								if (this.m_drawPingGameUser != null)
								{
									flag = this.m_drawPingGameUser.ForceServerMovement;
								}
							}
							if (flag)
							{
								Microsoft.Xna.Framework.Color color3 = Microsoft.Xna.Framework.Color.Yellow;
								text = "Forced server side movement";
								Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 155f, GameSFD.SCREEN_HEIGHTf - num - 1f), Microsoft.Xna.Framework.Color.Black);
								Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 154f, GameSFD.SCREEN_HEIGHTf - num - 0f), color3);
								num += 20f;
							}
						}
						if (ConsoleOutput.IsVisible || GameMenu.ScoreboardPanelActive || GameMenu.GameMenuPanelActive || client.ServerPerformance < Client.PerformanceRank.Decent)
						{
							Microsoft.Xna.Framework.Color color4 = client.GetPerformanceRankColor(client.ServerPerformance);
							text = "Server performance: " + client.ServerPerformance.ToString();
							Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 155f, GameSFD.SCREEN_HEIGHTf - num - 1f), Microsoft.Xna.Framework.Color.Black);
							Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 154f, GameSFD.SCREEN_HEIGHTf - num - 0f), color4);
							num += 20f;
						}
						if (ConsoleOutput.IsVisible || GameMenu.ScoreboardPanelActive || GameMenu.GameMenuPanelActive || client.ClientPerformance < Client.PerformanceRank.Decent)
						{
							Microsoft.Xna.Framework.Color color5 = client.GetPerformanceRankColor(client.ClientPerformance);
							text = "Local performance: " + client.ClientPerformance.ToString();
							Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 155f, GameSFD.SCREEN_HEIGHTf - num - 1f), Microsoft.Xna.Framework.Color.Black);
							Constants.DrawString(this.m_spriteBatch, Constants.FontSimple, text, new Vector2(GameSFD.SCREEN_WIDTHf - 154f, GameSFD.SCREEN_HEIGHTf - num - 0f), color5);
							num += 20f;
						}
					}
				}
				if (currentInsertKeyState && !this.previousInsertKeyState)
				{
					this.showGUI1 = !this.showGUI1;
					if (this.showGUI1)
					{
						GameSFD.initialGuiWindowPosition = this.guiWindowPosition;
					}
				}
				float num4 = GameSFD.SCREEN_WIDTHf / 2f;
				float centerY = GameSFD.SCREEN_HEIGHTf / 2f;
				float guiWindowWidth = GameSFD.SCREEN_WIDTHf / 3f;
				float guiWindowHeight = GameSFD.SCREEN_HEIGHTf / 2.1f;
				float windowXOffset = 100f;
				float windowX = num4 + windowXOffset + this.guiWindowPosition.X;
				float windowY = centerY - guiWindowHeight / 2f + this.guiWindowPosition.Y;
				float AdditionallyTextScale = 1.5f;
				if (GameSFD.checkboxState)
				{
					string additionalText = "SpeedHackON";
					Vector2 additionalTextSize = Constants.FontSimple.MeasureString(additionalText);
					Vector2 additionalTextPosition = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize.X * AdditionallyTextScale - 10f, additionalTextY);
					Microsoft.Xna.Framework.Rectangle backgroundRect = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition.X - 5, (int)additionalTextPosition.Y - 5, (int)(additionalTextSize.X * AdditionallyTextScale) + 10, (int)(additionalTextSize.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText, additionalTextPosition, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxState2)
				{
					string additionalText2 = "NoCooldownsON";
					Vector2 additionalTextSize2 = Constants.FontSimple.MeasureString(additionalText2);
					Vector2 additionalTextPosition2 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize2.X * AdditionallyTextScale - 10f, additionalTextY + 30f);
					Microsoft.Xna.Framework.Rectangle backgroundRect2 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition2.X - 5, (int)additionalTextPosition2.Y - 5, (int)(additionalTextSize2.X * AdditionallyTextScale) + 10, (int)(additionalTextSize2.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect2, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText2, additionalTextPosition2, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxState3)
				{
					string additionalText3 = "NoAnimationsON";
					Vector2 additionalTextSize3 = Constants.FontSimple.MeasureString(additionalText3);
					Vector2 additionalTextPosition3 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize3.X * AdditionallyTextScale - 10f, additionalTextY + 60f);
					Microsoft.Xna.Framework.Rectangle backgroundRect3 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition3.X - 5, (int)additionalTextPosition3.Y - 5, (int)(additionalTextSize3.X * AdditionallyTextScale) + 10, (int)(additionalTextSize3.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect3, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText3, additionalTextPosition3, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxState4)
				{
					string additionalText4 = "FlyHackON";
					Vector2 additionalTextSize4 = Constants.FontSimple.MeasureString(additionalText4);
					Vector2 additionalTextPosition4 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize4.X * AdditionallyTextScale - 10f, additionalTextY + 90f);
					Microsoft.Xna.Framework.Rectangle backgroundRect4 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition4.X - 5, (int)additionalTextPosition4.Y - 5, (int)(additionalTextSize4.X * AdditionallyTextScale) + 10, (int)(additionalTextSize4.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect4, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText4, additionalTextPosition4, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxstate5)
				{
					string additionalText5 = "InvisibleNameON";
					Vector2 additionalTextSize5 = Constants.FontSimple.MeasureString(additionalText5);
					Vector2 additionalTextPosition5 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize5.X * AdditionallyTextScale - 10f, additionalTextY + 120f);
					Microsoft.Xna.Framework.Rectangle backgroundRect5 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition5.X - 5, (int)additionalTextPosition5.Y - 5, (int)(additionalTextSize5.X * AdditionallyTextScale) + 10, (int)(additionalTextSize5.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect5, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText5, additionalTextPosition5, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxstate6)
				{
					string additionalText6 = "DeflectBulletsON";
					Vector2 additionalTextSize6 = Constants.FontSimple.MeasureString(additionalText6);
					Vector2 additionalTextPosition6 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize6.X * AdditionallyTextScale - 10f, additionalTextY + 150f);
					Microsoft.Xna.Framework.Rectangle backgroundRect6 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition6.X - 5, (int)additionalTextPosition6.Y - 5, (int)(additionalTextSize6.X * AdditionallyTextScale) + 10, (int)(additionalTextSize6.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect6, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText6, additionalTextPosition6, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxstate7)
				{
					string additionalText7 = "TestON";
					Vector2 additionalTextSize7 = Constants.FontSimple.MeasureString(additionalText7);
					Vector2 additionalTextPosition7 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize7.X * AdditionallyTextScale - 10f, additionalTextY + 180f);
					Microsoft.Xna.Framework.Rectangle backgroundRect7 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition7.X - 5, (int)additionalTextPosition7.Y - 5, (int)(additionalTextSize7.X * AdditionallyTextScale) + 10, (int)(additionalTextSize7.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect7, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText7, additionalTextPosition7, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				if (GameSFD.checkboxstate8)
				{
					string additionalText8 = "TestON";
					Vector2 additionalTextSize8 = Constants.FontSimple.MeasureString(additionalText8);
					Vector2 additionalTextPosition8 = new Vector2(GameSFD.SCREEN_WIDTHf - additionalTextSize8.X * AdditionallyTextScale - 10f, additionalTextY + 210f);
					Microsoft.Xna.Framework.Rectangle backgroundRect8 = new Microsoft.Xna.Framework.Rectangle((int)additionalTextPosition8.X - 5, (int)additionalTextPosition8.Y - 5, (int)(additionalTextSize8.X * AdditionallyTextScale) + 10, (int)(additionalTextSize8.Y * AdditionallyTextScale) + 10);
					this.m_spriteBatch.Draw(this.pixelTexture, backgroundRect8, Microsoft.Xna.Framework.Color.Black);
					this.m_spriteBatch.DrawString(Constants.FontSimple, additionalText8, additionalTextPosition8, guiAdditionalText, 0f, Vector2.Zero, AdditionallyTextScale, SpriteEffects.None, 0f);
				}
				Process currentProcess = Process.GetCurrentProcess();
				string processIDMessage = string.Format("Succesfully injected to process ID: {0}", currentProcess.Id);
				Vector2 processIDSize = Constants.FontSimple.MeasureString(processIDMessage);
				Vector2 processIDPosition = new Vector2(GameSFD.SCREEN_WIDTHf - processIDSize.X * scale - 10f, 10f);
				Microsoft.Xna.Framework.Rectangle backgroundRectProcessID = new Microsoft.Xna.Framework.Rectangle((int)processIDPosition.X - 5, (int)processIDPosition.Y - 5, (int)(processIDSize.X * scale) + 10, (int)(processIDSize.Y * scale) + 10);
				this.m_spriteBatch.Draw(this.pixelTexture, backgroundRectProcessID, Microsoft.Xna.Framework.Color.Black);
				this.m_spriteBatch.DrawString(Constants.FontSimple, processIDMessage, processIDPosition, guiAdditionalText, 0f, Vector2.Zero, scale, SpriteEffects.None, 0f);
				this.previousInsertKeyState = currentInsertKeyState;
				if (this.showGUI1)
				{
					Microsoft.Xna.Framework.Rectangle guiWindowRect = new Microsoft.Xna.Framework.Rectangle((int)windowX, (int)windowY, (int)guiWindowWidth, (int)guiWindowHeight);
					int borderWidth = 2;
					Microsoft.Xna.Framework.Rectangle borderRect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X - borderWidth, guiWindowRect.Y - borderWidth, guiWindowRect.Width + 2 * borderWidth, guiWindowRect.Height + 2 * borderWidth);
					Microsoft.Xna.Framework.Color borderColor = Microsoft.Xna.Framework.Color.MediumPurple;
					this.m_spriteBatch.Draw(this.pixelTexture, borderRect, borderColor);
					Microsoft.Xna.Framework.Color guiWindowColor = new Microsoft.Xna.Framework.Color(50, 50, 50, 200);
					this.m_spriteBatch.Draw(this.pixelTexture, guiWindowRect, guiWindowColor);
					string guiMessage = "MadeByHowque ;)";
					Vector2 guiMessageSize = Constants.FontSimple.MeasureString(guiMessage);
					Vector2 guiMessagePosition = new Vector2((float)(guiWindowRect.X + 10), (float)(guiWindowRect.Y + 10));
					this.m_spriteBatch.DrawString(Constants.FontSimple, guiMessage, guiMessagePosition, guiMessageColor);
					float leftOffset = 20f;
					Vector2 checkboxPosition = new Vector2((float)guiWindowRect.X + leftOffset, guiMessagePosition.Y + guiMessageSize.Y + 7f);
					string checkbox1Text = "SpeedHack";
					Microsoft.Xna.Framework.Color checkbox1Color = GameSFD.checkboxState ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox1Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox1Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox2Text = "NoCooldowns";
					Microsoft.Xna.Framework.Color checkbox2Color = GameSFD.checkboxState2 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox2Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox2Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox3Text = "NoAnimations";
					Microsoft.Xna.Framework.Color checkbox3Color = GameSFD.checkboxState3 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox3Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox3Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox4Text = "FlyHack";
					Microsoft.Xna.Framework.Color checkbox4Color = GameSFD.checkboxState4 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox4Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox4Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox5Text = "SpeedHack";
					Microsoft.Xna.Framework.Color checkbox5Color = GameSFD.checkboxstate5 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox5Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox5Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox6Text = "NoCooldowns";
					Microsoft.Xna.Framework.Color checkbox6Color = GameSFD.checkboxstate6 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox6Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox6Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox7Text = "NoAnimations";
					Microsoft.Xna.Framework.Color checkbox7Color = GameSFD.checkboxstate7 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox7Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox7Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);
					checkboxPosition.Y += 30f;
					string checkbox8Text = "FlyHack";
					Microsoft.Xna.Framework.Color checkbox8Color = GameSFD.checkboxstate8 ? Microsoft.Xna.Framework.Color.Green : Microsoft.Xna.Framework.Color.Red;
					this.m_spriteBatch.Draw(this.pixelTexture, new Microsoft.Xna.Framework.Rectangle((int)checkboxPosition.X, (int)checkboxPosition.Y, 20, 20), checkbox8Color);
					this.m_spriteBatch.DrawString(Constants.FontSimple, checkbox8Text, new Vector2(checkboxPosition.X + 30f, checkboxPosition.Y), Microsoft.Xna.Framework.Color.White);


					// Existing code...

					Vector2 delta = Vector2.Zero;
					// Check for left mouse button press and handle checkbox state
					if (Mouse.GetState().LeftButton == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
					{
						HandleCheckboxState();
					}
					else
					{
						this.leftButtonWasPressed = false;
					}

					// Check for right mouse button press and handle drag logic
					if (Mouse.GetState().RightButton == Microsoft.Xna.Framework.Input.ButtonState.Pressed && this.lastMouseState.RightButton == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
					{
						HandleDragLogic();
					}

					// Update the last mouse state for the next iteration
					this.lastMouseState = Mouse.GetState();

					void HandleCheckboxState()
{
    // Ensure that checkbox logic only runs once on button press
    if (!this.leftButtonWasPressed)
    {
        // Define rectangles for checkboxes
        Microsoft.Xna.Framework.Rectangle checkbox1Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, (int)guiMessagePosition.Y + (int)guiMessageSize.Y + 7, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox2Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox1Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox3Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox2Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox4Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox3Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox5Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox4Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox6Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox5Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox7Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox6Rect.Y + 30, 20, 20);
        Microsoft.Xna.Framework.Rectangle checkbox8Rect = new Microsoft.Xna.Framework.Rectangle(guiWindowRect.X + (int)leftOffset, checkbox7Rect.Y + 30, 20, 20);

        // Get the current mouse position
        Microsoft.Xna.Framework.Point mousePosition = new Microsoft.Xna.Framework.Point(Mouse.GetState().X, Mouse.GetState().Y);

        // Check which checkbox was clicked and toggle its state
        if (checkbox1Rect.Contains(mousePosition))
        {
            GameSFD.checkboxState = !GameSFD.checkboxState;
            if (GameSFD.checkboxState)
            {
                this.additionalTextY = additionalTextY1;
            }
        }
        else if (checkbox2Rect.Contains(mousePosition))
        {
            GameSFD.checkboxState2 = !GameSFD.checkboxState2;
            if (GameSFD.checkboxState2)
            {
                this.additionalTextY = additionalTextY2;
            }
        }
        else if (checkbox3Rect.Contains(mousePosition))
        {
            GameSFD.checkboxState3 = !GameSFD.checkboxState3;
            if (GameSFD.checkboxState3)
            {
                this.additionalTextY = additionalTextY3;
            }
        }
        else if (checkbox4Rect.Contains(mousePosition))
        {
            GameSFD.checkboxState4 = !GameSFD.checkboxState4;
            if (GameSFD.checkboxState4)
            {
                this.additionalTextY = additionalTextY4;
            }
        }

							// Check which checkbox was clicked and toggle its state
else if (checkbox5Rect.Contains(mousePosition))
{
    GameSFD.checkboxstate5 = !GameSFD.checkboxstate5;
    if (GameSFD.checkboxstate5)
    {
        this.additionalTextY = additionalTextY5;
    }
}
else if (checkbox6Rect.Contains(mousePosition))
{
    GameSFD.checkboxstate6 = !GameSFD.checkboxstate6;
    if (GameSFD.checkboxstate6)
    {
        this.additionalTextY = additionalTextY6;
    }
}
else if (checkbox7Rect.Contains(mousePosition))
{
    GameSFD.checkboxstate7 = !GameSFD.checkboxstate7;
    if (GameSFD.checkboxstate7)
    {
        this.additionalTextY = additionalTextY7;
    }
}
else if (checkbox8Rect.Contains(mousePosition))
{
    GameSFD.checkboxstate8 = !GameSFD.checkboxstate8;
    if (GameSFD.checkboxstate8)
    {
        this.additionalTextY = additionalTextY8;
    }
}


							// Calculate the change in mouse position (delta)
							delta = new Vector2((float)(Mouse.GetState().X - this.lastMouseState.X), (float)(Mouse.GetState().Y - this.lastMouseState.Y));

							// Set the left button as pressed
							this.leftButtonWasPressed = true;
						}
					}

					// Separate method to handle drag logic
					void HandleDragLogic()
					{
						// Calculate the change in mouse position (delta)
						delta = new Vector2((float)(Mouse.GetState().X - this.lastMouseState.X), (float)(Mouse.GetState().Y - this.lastMouseState.Y));

						// Update the GUI window position based on the delta
						this.guiWindowPosition.X = this.guiWindowPosition.X + delta.X;
						this.guiWindowPosition.Y = this.guiWindowPosition.Y + delta.Y;
					}
				}
			}
		}
	}
}

```