On the AccelerometerEnabled documentation, there is a typo in the first code example. On line 3, it says oserInputService
when it should say userInputService
.
Current Code:
local accelerometerEnabled = oserInputService.AccelerometerEnabled
Fixed Code:
local accelerometerEnabled = userInputService.AccelerometerEnabled