local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Teams = game:GetService("Teams") local aimPart = "Head" local selectedInput = nil local language = nil local selectingKey = false local aiming = false local ScreenGui = Instance.new("ScreenGui", game.CoreGui) local LangFrame = Instance.new("Frame", ScreenGui) LangFrame.Size = UDim2.new(0, 250, 0, 120) LangFrame.Position = UDim2.new(0.5, -125, 0.5, -60) LangFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) LangFrame.Active = true LangFrame.Draggable = true local LangTitle = Instance.new("TextLabel", LangFrame) LangTitle.Size = UDim2.new(1, 0, 0, 30) LangTitle.Position = UDim2.new(0, 0, 0, 0) LangTitle.BackgroundColor3 = Color3.fromRGB(50, 50, 50) LangTitle.TextScaled = true LangTitle.Font = Enum.Font.SourceSansBold LangTitle.TextColor3 = Color3.fromRGB(255, 255, 255) LangTitle.Text = "Select Language / Dil Seçin" local EnglishBtn = Instance.new("TextButton", LangFrame) EnglishBtn.Size = UDim2.new(0.45, -10, 0, 50) EnglishBtn.Position = UDim2.new(0, 10, 0, 60) EnglishBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70) EnglishBtn.TextScaled = true EnglishBtn.Font = Enum.Font.SourceSansBold EnglishBtn.TextColor3 = Color3.fromRGB(255, 255, 255) EnglishBtn.Text = "English" local TurkishBtn = Instance.new("TextButton", LangFrame) TurkishBtn.Size = UDim2.new(0.45, -10, 0, 50) TurkishBtn.Position = UDim2.new(0.55, 0, 0, 60) TurkishBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70) TurkishBtn.TextScaled = true TurkishBtn.Font = Enum.Font.SourceSansBold TurkishBtn.TextColor3 = Color3.fromRGB(255, 255, 255) TurkishBtn.Text = "Türkçe" local function createMainGUI() local Frame = Instance.new("Frame", ScreenGui) Frame.Size = UDim2.new(0, 250, 0, 120) Frame.Position = UDim2.new(0, 100, 0, 100) Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.Active = true Frame.Draggable = true local TitleLabel = Instance.new("TextLabel", Frame) TitleLabel.Size = UDim2.new(1, 0, 0, 30) TitleLabel.Position = UDim2.new(0, 0, 0, 0) TitleLabel.BackgroundColor3 = Color3.fromRGB(50, 50, 50) TitleLabel.TextScaled = true TitleLabel.Font = Enum.Font.SourceSansBold TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.Text = (language == "EN" and "Aimbot Key Selection" or "Aimbot Tuş Seçimi") local SelectKeyButton = Instance.new("TextButton", Frame) SelectKeyButton.Size = UDim2.new(1, -20, 0, 50) SelectKeyButton.Position = UDim2.new(0, 10, 0, 50) SelectKeyButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) SelectKeyButton.TextColor3 = Color3.fromRGB(255, 255, 255) SelectKeyButton.TextScaled = true SelectKeyButton.Font = Enum.Font.SourceSansBold if selectedInput == nil then SelectKeyButton.Text = (language == "EN" and "Select Key" or "Tuş Seç") elseif selectedInput == Enum.UserInputType.MouseButton1 then SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton1 (Left Click)" or "Seçili Tuş: MouseButton1 (Sol Tık)") elseif selectedInput == Enum.UserInputType.MouseButton2 then SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton2 (Right Click)" or "Seçili Tuş: MouseButton2 (Sağ Tık)") elseif selectedInput == Enum.UserInputType.MouseButton3 then SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton3 (Middle Click)" or "Seçili Tuş: MouseButton3 (Orta Tık)") elseif typeof(selectedInput) == "EnumItem" then local keyName = tostring(selectedInput):gsub("Enum.KeyCode.", "") SelectKeyButton.Text = (language == "EN" and ("Current Key: " .. keyName) or ("Seçili Tuş: " .. keyName)) else SelectKeyButton.Text = (language == "EN" and "Select Key" or "Tuş Seç") end SelectKeyButton.MouseButton1Click:Connect(function() if selectingKey then return end selectingKey = true SelectKeyButton.Text = (language == "EN" and "Press a key or mouse button..." or "Bir tuşa bas...") local connection connection = UIS.InputBegan:Connect(function(input, processed) if processed then return end if input.UserInputType == Enum.UserInputType.Keyboard then selectedInput = input.KeyCode local keyName = tostring(selectedInput):gsub("Enum.KeyCode.", "") SelectKeyButton.Text = (language == "EN" and ("Current Key: " .. keyName) or ("Seçili Tuş: " .. keyName)) selectingKey = false connection:Disconnect() elseif input.UserInputType == Enum.UserInputType.MouseButton1 then selectedInput = Enum.UserInputType.MouseButton1 SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton1 (Left Click)" or "Seçili Tuş: MouseButton1 (Sol Tık)") selectingKey = false connection:Disconnect() elseif input.UserInputType == Enum.UserInputType.MouseButton2 then selectedInput = Enum.UserInputType.MouseButton2 SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton2 (Right Click)" or "Seçili Tuş: MouseButton2 (Sağ Tık)") selectingKey = false connection:Disconnect() elseif input.UserInputType == Enum.UserInputType.MouseButton3 then selectedInput = Enum.UserInputType.MouseButton3 SelectKeyButton.Text = (language == "EN" and "Current Key: MouseButton3 (Middle Click)" or "Seçili Tuş: MouseButton3 (Orta Tık)") selectingKey = false connection:Disconnect() end end) end) end local function getClosestPlayer() local closestPlayer = nil local shortestDistance = math.huge local mousePos = UIS:GetMouseLocation() for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild(aimPart) and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 then if Teams and LocalPlayer.Team and player.Team and player.Team == LocalPlayer.Team then continue end local head = player.Character[aimPart] local screenPoint, onScreen = Camera:WorldToViewportPoint(head.Position) if onScreen then local dist = (Vector2.new(screenPoint.X, screenPoint.Y) - Vector2.new(mousePos.X, mousePos.Y)).Magnitude if dist < shortestDistance then shortestDistance = dist closestPlayer = head end end end end return closestPlayer end UIS.InputBegan:Connect(function(input, processed) if processed then return end if selectedInput == nil then return end if (input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode == selectedInput) or input.UserInputType == selectedInput then aiming = true end end) UIS.InputEnded:Connect(function(input, processed) if processed then return end if selectedInput == nil then return end if (input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode == selectedInput) or input.UserInputType == selectedInput then aiming = false end end) RunService.RenderStepped:Connect(function() if aiming then local target = getClosestPlayer() if target then Camera.CFrame = CFrame.new(Camera.CFrame.Position, target.Position) end end end) EnglishBtn.MouseButton1Click:Connect(function() language = "EN" LangFrame:Destroy() createMainGUI() end) TurkishBtn.MouseButton1Click:Connect(function() language = "TR" LangFrame:Destroy() createMainGUI() end)