-- Function to handle key press local function onKeyPress(input) if input.KeyCode then print("Key pressed: " .. tostring(input.KeyCode)) end end

-- Services local UserInputService = game:GetService("UserInputService")

-- Function to handle key release local function onKeyRelease(input) if input.KeyCode then print("Key released: " .. tostring(input.KeyCode)) end end