I want to make a simple Roblox script that will just lock the player in first person if they’re using VR.
I have made a script, but it seems to have changed nothing and continues to make the camera position stick to one position until the player stops moving. (script shown below)
local VRService = game:GetService("VRService")
if VRService.VREnabled then
local player = game.Players.LocalPlayer
player.CameraMode = Enum.CameraMode.LockFirstPerson
end
I have ran out of ideas and want to make this work.