local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local FLY_SPEED = 300 local flying = false local savedSeat = nil local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "ArthurCarFly" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 250, 0, 60) MainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10) MainFrame.BorderSizePixel = 2 MainFrame.BorderColor3 = Color3.fromRGB(100, 100, 100) MainFrame.Parent = ScreenGui local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, 0, 1, 0) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "X: UÇUŞ (KAPALI)" StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255) StatusLabel.Font = Enum.Font.GothamBold StatusLabel.TextSize = 14 StatusLabel.Parent = MainFrame local function UpdateUI() if flying then StatusLabel.Text = "X: UÇUŞ (AÇIK)" MainFrame.BorderColor3 = Color3.fromRGB(0, 255, 255) StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 255) else StatusLabel.Text = "X: UÇUŞ (KAPALI)" MainFrame.BorderColor3 = Color3.fromRGB(100, 100, 100) StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255) end end local function SitOnSeat(seat) if seat and (seat:IsA("VehicleSeat") or seat:IsA("Seat")) then local char = LocalPlayer.Character if char then local hum = char:FindFirstChild("Humanoid") if hum then seat:Sit(hum) end end end end UserInputService.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == Enum.KeyCode.X then local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChild("Humanoid") if not hum then return end if not flying then local currentSeat = hum.SeatPart if not currentSeat then return end savedSeat = currentSeat flying = true else flying = false if savedSeat then task.wait(0.1) SitOnSeat(savedSeat) end end UpdateUI() end end) RunService.Heartbeat:Connect(function(dt) if not flying then return end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChild("Humanoid") if not hum then return end local seat = hum.SeatPart if not seat then if savedSeat then SitOnSeat(savedSeat) end return end local car = seat.Parent local root = (car:IsA("Model") and car.PrimaryPart) or seat local speed = 0 if UserInputService:IsKeyDown(Enum.KeyCode.W) then speed = FLY_SPEED elseif UserInputService:IsKeyDown(Enum.KeyCode.S) then speed = -FLY_SPEED end local camCF = Camera.CFrame local newPos = root.CFrame.Position + (camCF.LookVector * (speed * dt)) local targetCFrame = CFrame.new(newPos, newPos + camCF.LookVector) if car:IsA("Model") then car:PivotTo(targetCFrame) else root.CFrame = targetCFrame end root.AssemblyLinearVelocity = Vector3.new(0, 0, 0) root.AssemblyAngularVelocity = Vector3.new(0, 0, 0) end) UpdateUI()