I want to make a virtual reality game in Roblox with basic hand controls and head movement. I may then try to make it a sword fighting game, however I have no idea how to start. I’ve only been scripting for a few months and this was one of my weakpoints so I thought I should have a go at it to improve my knowledge. When I try to use this script:
wait(3)
local VRService = game:GetService("VRService")
local UIS = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
Camera.HeadLocked = true
VRService:RecenterUserHeadCFrame()
if (VRService.VREnabled) then
print(VRService.GuiInputUserCFrame.Name)
else
print("No VR device found!")
end
It does this

Any help would be much appreciated, I don’t want scripts just pointers in the right direction.
Thank you!