The code sample documented on the UserInputService.GamepadEnabled property page utilises botched quotation marks resulting in error.
Issue lies on line 1 of the code sample, where local UserInputService = game:GetService(“UserInputService”)
utilises ”
instead of "
.
Error
Fix: Replace the botched quotation marks with actual quotation marks.