i'm Making A Ship That If Player Is Seated And Is Pressing Key "Something" So It Moves
You should use UserInputService as KeyDown event is deprecated.
local uis = game:GetService:("UserInputService") uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.input.KeyCode.F then-- replace F with whatever key you'd like print("hi") end)
UserInputService is recommended for client input because of it's wide range of uses across multiple platforms.