-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local VirtualInputManager = game:GetService("VirtualInputManager") local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local localPlayer = Players.LocalPlayer -- Eski ekran varsa temizle if CoreGui:FindFirstChild("VirtualCarKeyboardUI") then CoreGui.VirtualCarKeyboardUI:Destroy() end -- ScreenGui Oluşturma local gui = Instance.new("ScreenGui") gui.Name = "VirtualCarKeyboardUI" gui.ResetOnSpawn = false local success, _ = pcall(function() gui.Parent = CoreGui end) if not success then gui.Parent = localPlayer:WaitForChild("PlayerGui") end -- Buton Oluşturma Fonksiyonu local function createButton(name, text, pos, size, bgColor) local btn = Instance.new("TextButton") btn.Name = name btn.Text = text btn.Size = size btn.Position = pos btn.BackgroundColor3 = bgColor or Color3.fromRGB(25, 25, 25) btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextScaled = true btn.Font = Enum.Font.SourceSansBold btn.BackgroundTransparency = 0.25 btn.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = btn return btn end -- Ekran Tuşları (Gaz ve Fren yukarıda, hız göstergesi açıkta) local btnW = createButton("BtnW", "GAZ (W) ⬆", UDim2.new(0.82, 0, 0.20, 0), UDim2.new(0.13, 0, 0.22, 0)) local btnS = createButton("BtnS", "FREN (S) ⬇", UDim2.new(0.82, 0, 0.52, 0), UDim2.new(0.13, 0, 0.22, 0)) -- Sol Yön Tuşları local btnA = createButton("BtnA", "SOL (A) ⬅", UDim2.new(0.04, 0, 0.57, 0), UDim2.new(0.13, 0, 0.17, 0)) local btnD = createButton("BtnD", "SAĞ (D) ➡", UDim2.new(0.18, 0, 0.57, 0), UDim2.new(0.13, 0, 0.17, 0)) -- Gerçek Klavye Tuş Sinyali Gönderme Fonksiyonu local function bindVirtualKey(button, keyCode, activeColor) activeColor = activeColor or Color3.fromRGB(0, 170, 255) local defaultColor = button.BackgroundColor3 button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then button.BackgroundColor3 = activeColor VirtualInputManager:SendKeyEvent(true, keyCode, false, game) end end) button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then button.BackgroundColor3 = defaultColor VirtualInputManager:SendKeyEvent(false, keyCode, false, game) end end) end -- Tuşları Oyuna Bağlama bindVirtualKey(btnW, Enum.KeyCode.W) bindVirtualKey(btnS, Enum.KeyCode.S) bindVirtualKey(btnA, Enum.KeyCode.A) bindVirtualKey(btnD, Enum.KeyCode.D)