Is there a correct version available anywhere? I’ve been trying to get this to work for a while now but without much luck. The somewhat updated one in the hub still returns errors and still tries to perform arithmetic on strings.
-- We must get the VRService before we can use it
local VRService = game:GetService("VRService")
-- A sample function providing one usage of UserCFrameChanged
local function userCFrameChanged(typ, value)
print(typ.Name, " changed to: ", value)
end
VRService.UserCFrameChanged:Connect(userCFrameChanged)
I actually found the solution myself so if anyone needs it here it is.