OK13GAMEPAD
Key RequiredUniversal

OK13GAMEPAD

Universal ScriptScritp123Scritp123 1.1K views 153 executesUpdated Feb 28, 2026
Unrated
00
Lua Script•569 lines (22428 chars)
--[=[
 d888b  db    db d888888b      .d888b.      db      db    db  .d8b.  
88' Y8b 88    88   `88'        VP  `8D      88      88    88 d8' `8b 
88      88    88    88            odD'      88      88    88 88ooo88 
88  ooo 88    88    88          .88'        88      88    88 88~~~88 
88. ~8~ 88b  d88   .88.        j88.         88booo. 88b  d88 88   88 
 Y888P  ~Y8888P' Y888888P      888888D      Y88888P ~Y8888P' YP   YP  CONVERTER 

designed using localmaze gui creator
]=]

local LMG2L = {};

LMG2L["ScreenGui_1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
LMG2L["ScreenGui_1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;


LMG2L["Frame_2"] = Instance.new("Frame", LMG2L["ScreenGui_1"]);
LMG2L["Frame_2"]["BorderSizePixel"] = 0;
LMG2L["Frame_2"]["BackgroundColor3"] = Color3.fromRGB(127, 127, 127);
LMG2L["Frame_2"]["Size"] = UDim2.new(0, 106, 0, 116);
LMG2L["Frame_2"]["Position"] = UDim2.new(0, 514, 0, 204);


LMG2L["ImageLabel_3"] = Instance.new("ImageLabel", LMG2L["Frame_2"]);
LMG2L["ImageLabel_3"]["BorderSizePixel"] = 0;
LMG2L["ImageLabel_3"]["BackgroundColor3"] = Color3.fromRGB(126, 126, 126);
LMG2L["ImageLabel_3"]["Size"] = UDim2.new(0, 106, 0, 86);
LMG2L["ImageLabel_3"]["Position"] = UDim2.new(0, 0, 0, -44);


LMG2L["UICorner_4"] = Instance.new("UICorner", LMG2L["ImageLabel_3"]);
LMG2L["UICorner_4"]["CornerRadius"] = UDim.new(1, 0);


LMG2L["ImageLabel_5"] = Instance.new("ImageLabel", LMG2L["ImageLabel_3"]);
LMG2L["ImageLabel_5"]["BorderSizePixel"] = 0;
LMG2L["ImageLabel_5"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["ImageLabel_5"]["Size"] = UDim2.new(0, 2, 0, 56);
LMG2L["ImageLabel_5"]["BackgroundTransparency"] = 0.7;
LMG2L["ImageLabel_5"]["Position"] = UDim2.new(0, 52, 0, 2);


LMG2L["TextButton_6"] = Instance.new("TextButton", LMG2L["ImageLabel_5"]);
LMG2L["TextButton_6"]["BorderSizePixel"] = 0;
LMG2L["TextButton_6"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_6"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_6"]["Size"] = UDim2.new(0, 10, 0, 12);
LMG2L["TextButton_6"]["Text"] = [[U]];
LMG2L["TextButton_6"]["Position"] = UDim2.new(0, -4, 0, 12);


LMG2L["TextButton_7"] = Instance.new("TextButton", LMG2L["TextButton_6"]);
LMG2L["TextButton_7"]["BorderSizePixel"] = 0;
LMG2L["TextButton_7"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_7"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_7"]["Size"] = UDim2.new(0, 10, 0, 12);
LMG2L["TextButton_7"]["Text"] = [[D]];
LMG2L["TextButton_7"]["Position"] = UDim2.new(0, 0, 0, 16);


LMG2L["TextButton_8"] = Instance.new("TextButton", LMG2L["ImageLabel_3"]);
LMG2L["TextButton_8"]["BorderSizePixel"] = 0;
LMG2L["TextButton_8"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_8"]["FontFace"] = Font.new([[rbxasset://fonts/families/Arial.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextButton_8"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_8"]["Size"] = UDim2.new(0, 42, 0, 66);
LMG2L["TextButton_8"]["Text"] = [[LEFT]];


LMG2L["TextButton_9"] = Instance.new("TextButton", LMG2L["TextButton_8"]);
LMG2L["TextButton_9"]["BorderSizePixel"] = 0;
LMG2L["TextButton_9"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_9"]["FontFace"] = Font.new([[rbxasset://fonts/families/Arial.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextButton_9"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_9"]["Size"] = UDim2.new(0, 42, 0, 66);
LMG2L["TextButton_9"]["Text"] = [[RİGHT]];
LMG2L["TextButton_9"]["Position"] = UDim2.new(0, 64, 0, 0);


LMG2L["UICorner_a"] = Instance.new("UICorner", LMG2L["TextButton_9"]);



LMG2L["UIStroke_b"] = Instance.new("UIStroke", LMG2L["TextButton_9"]);
LMG2L["UIStroke_b"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
LMG2L["UIStroke_b"]["Thickness"] = 0.1;


LMG2L["UICorner_c"] = Instance.new("UICorner", LMG2L["TextButton_8"]);



LMG2L["UIStroke_d"] = Instance.new("UIStroke", LMG2L["TextButton_8"]);
LMG2L["UIStroke_d"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
LMG2L["UIStroke_d"]["Thickness"] = 0.1;


LMG2L["UIDragDetector_e"] = Instance.new("UIDragDetector", LMG2L["Frame_2"]);



LMG2L["TextLabel_f"] = Instance.new("TextLabel", LMG2L["Frame_2"]);
LMG2L["TextLabel_f"]["BorderSizePixel"] = 0;
LMG2L["TextLabel_f"]["TextSize"] = 10;
LMG2L["TextLabel_f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_f"]["FontFace"] = Font.new([[rbxasset://fonts/families/Arial.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextLabel_f"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_f"]["BackgroundTransparency"] = 1;
LMG2L["TextLabel_f"]["Size"] = UDim2.new(0, 20, 0, 10);
LMG2L["TextLabel_f"]["Text"] = [[OK-13]];
LMG2L["TextLabel_f"]["Position"] = UDim2.new(0, 42, 0, 52);


LMG2L["TextLabel_10"] = Instance.new("TextLabel", LMG2L["TextLabel_f"]);
LMG2L["TextLabel_10"]["BorderSizePixel"] = 0;
LMG2L["TextLabel_10"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_10"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextLabel_10"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_10"]["BackgroundTransparency"] = 1;
LMG2L["TextLabel_10"]["Size"] = UDim2.new(0, 32, 0, 10);
LMG2L["TextLabel_10"]["Text"] = [[ANDROİD MOSUE]];
LMG2L["TextLabel_10"]["Position"] = UDim2.new(0, -6, 0, 10);


LMG2L["TextButton_11"] = Instance.new("TextButton", LMG2L["ScreenGui_1"]);
LMG2L["TextButton_11"]["BorderSizePixel"] = 0;
LMG2L["TextButton_11"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_11"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextButton_11"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_11"]["Size"] = UDim2.new(0, 46, 0, 46);
LMG2L["TextButton_11"]["Text"] = [[SHİFTLOCK]];
LMG2L["TextButton_11"]["Position"] = UDim2.new(0, 16, 0, 4);


LMG2L["UICorner_12"] = Instance.new("UICorner", LMG2L["TextButton_11"]);
LMG2L["UICorner_12"]["CornerRadius"] = UDim.new(1, 0);


LMG2L["UIStroke_13"] = Instance.new("UIStroke", LMG2L["TextButton_11"]);
LMG2L["UIStroke_13"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["TextLabel_14"] = Instance.new("TextLabel", LMG2L["ScreenGui_1"]);
LMG2L["TextLabel_14"]["BorderSizePixel"] = 0;
LMG2L["TextLabel_14"]["BackgroundColor3"] = Color3.fromRGB(255, 0, 0);
LMG2L["TextLabel_14"]["TextColor3"] = Color3.fromRGB(255, 0, 0);
LMG2L["TextLabel_14"]["BackgroundTransparency"] = 1;
LMG2L["TextLabel_14"]["Size"] = UDim2.new(0, 76, 0, 22);
LMG2L["TextLabel_14"]["Text"] = [[FPS:]];
LMG2L["TextLabel_14"]["Position"] = UDim2.new(0, 552, 0, -48);


LMG2L["TextLabel_15"] = Instance.new("TextLabel", LMG2L["TextLabel_14"]);
LMG2L["TextLabel_15"]["BorderSizePixel"] = 0;
LMG2L["TextLabel_15"]["TextSize"] = 10;
LMG2L["TextLabel_15"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_15"]["FontFace"] = Font.new([[rbxasset://fonts/families/Arial.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
LMG2L["TextLabel_15"]["TextColor3"] = Color3.fromRGB(255, 104, 104);
LMG2L["TextLabel_15"]["BackgroundTransparency"] = 1;
LMG2L["TextLabel_15"]["Size"] = UDim2.new(0, 28, 0, 10);
LMG2L["TextLabel_15"]["Text"] = [[PİNG:]];
LMG2L["TextLabel_15"]["Position"] = UDim2.new(0, 24, 0, 18);


LMG2L["TextButton_16"] = Instance.new("TextButton", LMG2L["ScreenGui_1"]);
LMG2L["TextButton_16"]["BorderSizePixel"] = 0;
LMG2L["TextButton_16"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_16"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_16"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_16"]["Size"] = UDim2.new(0, 34, 0, 36);
LMG2L["TextButton_16"]["Text"] = [[KEYS]];
LMG2L["TextButton_16"]["Position"] = UDim2.new(0, 268, 0, 118);


LMG2L["UICorner_17"] = Instance.new("UICorner", LMG2L["TextButton_16"]);
LMG2L["UICorner_17"]["CornerRadius"] = UDim.new(1, 0);


LMG2L["UIDragDetector_18"] = Instance.new("UIDragDetector", LMG2L["TextButton_16"]);



LMG2L["UIStroke_19"] = Instance.new("UIStroke", LMG2L["TextButton_16"]);
LMG2L["UIStroke_19"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["TextButton_1a"] = Instance.new("TextButton", LMG2L["TextButton_16"]);
LMG2L["TextButton_1a"]["BorderSizePixel"] = 0;
LMG2L["TextButton_1a"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_1a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_1a"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_1a"]["Size"] = UDim2.new(0, 34, 0, 36);
LMG2L["TextButton_1a"]["Text"] = [[E]];
LMG2L["TextButton_1a"]["Position"] = UDim2.new(0, 30, 0, 42);


LMG2L["UICorner_1b"] = Instance.new("UICorner", LMG2L["TextButton_1a"]);
LMG2L["UICorner_1b"]["CornerRadius"] = UDim.new(0.2, 0);


LMG2L["UIStroke_1c"] = Instance.new("UIStroke", LMG2L["TextButton_1a"]);
LMG2L["UIStroke_1c"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["TextButton_1d"] = Instance.new("TextButton", LMG2L["TextButton_1a"]);
LMG2L["TextButton_1d"]["BorderSizePixel"] = 0;
LMG2L["TextButton_1d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_1d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_1d"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_1d"]["Size"] = UDim2.new(0, 34, 0, 34);
LMG2L["TextButton_1d"]["Text"] = [[F]];
LMG2L["TextButton_1d"]["Position"] = UDim2.new(0, 12, 0, -46);


LMG2L["UICorner_1e"] = Instance.new("UICorner", LMG2L["TextButton_1d"]);
LMG2L["UICorner_1e"]["CornerRadius"] = UDim.new(0.2, 0);


LMG2L["UIStroke_1f"] = Instance.new("UIStroke", LMG2L["TextButton_1d"]);
LMG2L["UIStroke_1f"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["TextButton_20"] = Instance.new("TextButton", LMG2L["TextButton_1d"]);
LMG2L["TextButton_20"]["BorderSizePixel"] = 0;
LMG2L["TextButton_20"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_20"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_20"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_20"]["Size"] = UDim2.new(0, 34, 0, 36);
LMG2L["TextButton_20"]["Text"] = [[Q]];
LMG2L["TextButton_20"]["Position"] = UDim2.new(0, -18, 0, -46);


LMG2L["UICorner_21"] = Instance.new("UICorner", LMG2L["TextButton_20"]);
LMG2L["UICorner_21"]["CornerRadius"] = UDim.new(0.2, 0);


LMG2L["UIStroke_22"] = Instance.new("UIStroke", LMG2L["TextButton_20"]);
LMG2L["UIStroke_22"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["TextButton_23"] = Instance.new("TextButton", LMG2L["TextButton_20"]);
LMG2L["TextButton_23"]["BorderSizePixel"] = 0;
LMG2L["TextButton_23"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_23"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_23"]["BackgroundTransparency"] = 1;
LMG2L["TextButton_23"]["Size"] = UDim2.new(0, 34, 0, 36);
LMG2L["TextButton_23"]["Text"] = [[R]];
LMG2L["TextButton_23"]["Position"] = UDim2.new(0, -52, 0, 4);


LMG2L["UICorner_24"] = Instance.new("UICorner", LMG2L["TextButton_23"]);
LMG2L["UICorner_24"]["CornerRadius"] = UDim.new(0.2, 0);


LMG2L["UIStroke_25"] = Instance.new("UIStroke", LMG2L["TextButton_23"]);
LMG2L["UIStroke_25"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["Frame_26"] = Instance.new("Frame", LMG2L["ScreenGui_1"]);
LMG2L["Frame_26"]["BorderSizePixel"] = 0;
LMG2L["Frame_26"]["BackgroundColor3"] = Color3.fromRGB(106, 0, 0);
LMG2L["Frame_26"]["Size"] = UDim2.new(0, 160, 0, 144);
LMG2L["Frame_26"]["Position"] = UDim2.new(0, 56, 0, 134);
LMG2L["Frame_26"]["BackgroundTransparency"] = 0.9;


LMG2L["TextButton_27"] = Instance.new("TextButton", LMG2L["Frame_26"]);
LMG2L["TextButton_27"]["BorderSizePixel"] = 0;
LMG2L["TextButton_27"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_27"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_27"]["BackgroundTransparency"] = 0.7;
LMG2L["TextButton_27"]["Size"] = UDim2.new(0, 44, 0, 44);
LMG2L["TextButton_27"]["Text"] = [[W]];
LMG2L["TextButton_27"]["Position"] = UDim2.new(0, 58, 0, 2);


LMG2L["UICorner_28"] = Instance.new("UICorner", LMG2L["TextButton_27"]);



LMG2L["TextButton_29"] = Instance.new("TextButton", LMG2L["TextButton_27"]);
LMG2L["TextButton_29"]["BorderSizePixel"] = 0;
LMG2L["TextButton_29"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_29"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_29"]["BackgroundTransparency"] = 0.7;
LMG2L["TextButton_29"]["Size"] = UDim2.new(0, 54, 0, 44);
LMG2L["TextButton_29"]["Text"] = [[A]];
LMG2L["TextButton_29"]["Position"] = UDim2.new(0, -54, 0, 44);


LMG2L["UICorner_2a"] = Instance.new("UICorner", LMG2L["TextButton_29"]);



LMG2L["TextButton_2b"] = Instance.new("TextButton", LMG2L["TextButton_29"]);
LMG2L["TextButton_2b"]["BorderSizePixel"] = 0;
LMG2L["TextButton_2b"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_2b"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_2b"]["BackgroundTransparency"] = 0.7;
LMG2L["TextButton_2b"]["Size"] = UDim2.new(0, 52, 0, 44);
LMG2L["TextButton_2b"]["Text"] = [[D]];
LMG2L["TextButton_2b"]["Position"] = UDim2.new(0, 102, 0, -2);


LMG2L["UICorner_2c"] = Instance.new("UICorner", LMG2L["TextButton_2b"]);



LMG2L["TextButton_2d"] = Instance.new("TextButton", LMG2L["TextButton_2b"]);
LMG2L["TextButton_2d"]["BorderSizePixel"] = 0;
LMG2L["TextButton_2d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_2d"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
LMG2L["TextButton_2d"]["BackgroundTransparency"] = 0.7;
LMG2L["TextButton_2d"]["Size"] = UDim2.new(0, 52, 0, 48);
LMG2L["TextButton_2d"]["Text"] = [[S]];
LMG2L["TextButton_2d"]["Position"] = UDim2.new(0, -50, 0, 48);


LMG2L["UICorner_2e"] = Instance.new("UICorner", LMG2L["TextButton_2d"]);



LMG2L["TextLabel_2f"] = Instance.new("TextLabel", LMG2L["Frame_26"]);
LMG2L["TextLabel_2f"]["BorderSizePixel"] = 0;
LMG2L["TextLabel_2f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextLabel_2f"]["TextColor3"] = Color3.fromRGB(255, 0, 0);
LMG2L["TextLabel_2f"]["BackgroundTransparency"] = 1;
LMG2L["TextLabel_2f"]["Size"] = UDim2.new(0, 14, 0, 14);
LMG2L["TextLabel_2f"]["Text"] = [[EXT]];
LMG2L["TextLabel_2f"]["Position"] = UDim2.new(0, 142, 0, 4);


LMG2L["TextButton_30"] = Instance.new("TextButton", LMG2L["ScreenGui_1"]);
LMG2L["TextButton_30"]["BorderSizePixel"] = 0;
LMG2L["TextButton_30"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
LMG2L["TextButton_30"]["BackgroundColor3"] = Color3.fromRGB(92, 92, 92);
LMG2L["TextButton_30"]["BackgroundTransparency"] = 0.6;
LMG2L["TextButton_30"]["Size"] = UDim2.new(0, 110, 0, 32);
LMG2L["TextButton_30"]["Text"] = [[SPACE]];
LMG2L["TextButton_30"]["Position"] = UDim2.new(0, 676, 0, 142);


LMG2L["UICorner_31"] = Instance.new("UICorner", LMG2L["TextButton_30"]);



LMG2L["UIStroke_32"] = Instance.new("UIStroke", LMG2L["TextButton_30"]);
LMG2L["UIStroke_32"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;


LMG2L["UIDragDetector_33"] = Instance.new("UIDragDetector", LMG2L["TextButton_30"]);

-- ============================================
-- FONKSIYONELLIK KODLARI BASLANGICI
-- ============================================

local UserInputService = game:GetService("UserInputService")
local VirtualInputManager = game:GetService("VirtualInputManager")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

-- FPS ve Ping Guncelleme
local fps = 0
local lastUpdate = tick()

RunService.RenderStepped:Connect(function()
	fps = fps + 1
	if tick() - lastUpdate >= 1 then
		LMG2L["TextLabel_14"].Text = "FPS:" .. tostring(fps)
		fps = 0
		lastUpdate = tick()
	end
end)

-- Ping guncelleme (her 2 saniyede bir)
task.spawn(function()
	while true do
		task.wait(2)
		local ping = LocalPlayer:GetNetworkPing() * 1000 -- ms cinsinden
		LMG2L["TextLabel_15"].Text = "PING:" .. tostring(math.floor(ping))
	end
end)

-- Mouse Scroll (U/D) Fonksiyonlari
LMG2L["TextButton_6"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		VirtualInputManager:SendMouseWheelEvent(0, 0, true, game)
	end
end)

LMG2L["TextButton_7"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		VirtualInputManager:SendMouseWheelEvent(0, 0, false, game)
	end
end)

-- Mouse Left-Right (kamera dondurme)
local camera = workspace.CurrentCamera
local player = LocalPlayer

LMG2L["TextButton_8"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		-- Sola dondur (sürekli)
		local connection
		connection = RunService.RenderStepped:Connect(function()
			if not LMG2L["TextButton_8"] or not LMG2L["TextButton_8"].Parent then
				connection:Disconnect()
				return
			end
			local currentCFrame = camera.CFrame
			camera.CFrame = currentCFrame * CFrame.Angles(0, math.rad(2), 0)
		end)
		
		LMG2L["TextButton_8"].InputEnded:Connect(function()
			connection:Disconnect()
		end)
	end
end)

LMG2L["TextButton_9"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		-- Saga dondur (sürekli)
		local connection
		connection = RunService.RenderStepped:Connect(function()
			if not LMG2L["TextButton_9"] or not LMG2L["TextButton_9"].Parent then
				connection:Disconnect()
				return
			end
			local currentCFrame = camera.CFrame
			camera.CFrame = currentCFrame * CFrame.Angles(0, math.rad(-2), 0)
		end)
		
		LMG2L["TextButton_9"].InputEnded:Connect(function()
			connection:Disconnect()
		end)
	end
end)

-- WASD Hareket Fonksiyonlari
local function simulateKey(keyCode, isPressed)
	VirtualInputManager:SendKeyEvent(isPressed, keyCode, false, game)
end

-- W
LMG2L["TextButton_27"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.W, true)
	end
end)
LMG2L["TextButton_27"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.W, false)
end)

-- A
LMG2L["TextButton_29"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.A, true)
	end
end)
LMG2L["TextButton_29"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.A, false)
end)

-- S
LMG2L["TextButton_2d"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.S, true)
	end
end)
LMG2L["TextButton_2d"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.S, false)
end)

-- D
LMG2L["TextButton_2b"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.D, true)
	end
end)
LMG2L["TextButton_2b"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.D, false)
end)

-- EXT Butonu - WASD Frame'ini yok et
LMG2L["TextLabel_2f"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		LMG2L["Frame_26"]:Destroy()
	end
end)

-- KEYS Toggle (Q, R, E, F gorunurlugu)
local keysVisible = true
local keyButtons = {LMG2L["TextButton_1a"], LMG2L["TextButton_1d"], LMG2L["TextButton_20"], LMG2L["TextButton_23"]}

LMG2L["TextButton_16"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		keysVisible = not keysVisible
		for _, btn in ipairs(keyButtons) do
			if btn and btn.Parent then
				btn.Visible = keysVisible
			end
		end
	end
end)

-- Q, R, E, F Tuslari
LMG2L["TextButton_20"].InputBegan:Connect(function(input) -- Q
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.Q, true)
	end
end)
LMG2L["TextButton_20"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.Q, false)
end)

LMG2L["TextButton_23"].InputBegan:Connect(function(input) -- R
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.R, true)
	end
end)
LMG2L["TextButton_23"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.R, false)
end)

LMG2L["TextButton_1a"].InputBegan:Connect(function(input) -- E
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.E, true)
	end
end)
LMG2L["TextButton_1a"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.E, false)
end)

LMG2L["TextButton_1d"].InputBegan:Connect(function(input) -- F
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.F, true)
	end
end)
LMG2L["TextButton_1d"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.F, false)
end)

-- SPACE
LMG2L["TextButton_30"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		simulateKey(Enum.KeyCode.Space, true)
	end
end)
LMG2L["TextButton_30"].InputEnded:Connect(function(input)
	simulateKey(Enum.KeyCode.Space, false)
end)

-- SHIFTLOCK
local shiftLockEnabled = false
LMG2L["TextButton_11"].InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
		shiftLockEnabled = not shiftLockEnabled
		UserInputService.MouseBehavior = shiftLockEnabled and Enum.MouseBehavior.LockCenter or Enum.MouseBehavior.Default
		UserInputService.MouseIconEnabled = not shiftLockEnabled
	end
end)

-- ============================================
-- FONKSIYONELLIK KODLARI SONU
-- ============================================

return LMG2L["ScreenGui_1"], require;

Features & Information

Mouse, W, a, s, d Walk Buttons. Ekstra e, Q, f, e Fps, ping Shiftlock (fixing)

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts