A simple submarine that moves up and down, can rotate left and right, and move forward and backwards. I have tried using VehicleSeats but I am not sure how I can detect when the player presses “E” or “Q” with that method.
You can check when the player uses E using the follow code:
local UIS = game:GetService(“UserInputService”)
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(key) -- Detects an input
if key.KeyCode == Enum.KeyCode.E then -- Checks to see if the player is pressing E
print("Player pressed E.")
end
end)