local car = script.Parent -- Araba nesnesini al local speed = 50 -- Hız ayarı local function moveCar(direction) local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = direction * speed bodyVelocity.MaxForce = Vector3.new(100000, 0, 100000) -- Maksimum kuvvet ayarı bodyVelocity.Parent = car.PrimaryPart wait(0.1) -- 0.1 saniye boyunca hareket et bodyVelocity:Destroy() -- Hareketi durdur end local function onButtonTouch(buttonName) if buttonName == "Forward" then moveCar(car.CFrame.lookVector) elseif buttonName == "Backward" then moveCar(-car.CFrame.lookVector) elseif buttonName == "Left" then moveCar(-car.CFrame.rightVector) elseif buttonName == "Right" then moveCar(car.CFrame.rightVector) end end for _, button in ipairs(car.Buttons:GetChildren()) do button.Touched:Connect(function() onButtonTouch(button.Name) end) end