VR Hands are not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? working VR Hands

  2. What is the issue? The Spheres I put in the folder Hands are not showing on the VR screen for my friend

  3. What solutions have you tried so far? I’ve been looking for the developer hub and my friend who testing it with the Oculus Rift said the spheres are not showing

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

LocalScript in StarterCharacterScripts

local VRService = game:GetService("VRService")
local UserInputService = game:GetService("UserInputService")
local CurrentCamera = workspace.CurrentCamera
if VRService.VREnabled == true then
	print("this chad has vr")
	local ReplicatedStorage = game:GetService("ReplicatedStorage")
	local Hands = ReplicatedStorage.Hands:Clone()
	local RHand = Hands.RightVRThingy
	local LHand = Hands.LeftVRThingy
	Hands.Parent = script.Parent
	LHand.CFrame = (VRService:GetUserCFrame(Enum.UserCFrame.LeftHand))
	RHand.CFrame = (VRService:GetUserCFrame(Enum.UserCFrame.RightHand))
	game:GetService("RunService").RenderStepped:Connect(function()
		LHand.CFrame((CurrentCamera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.LeftHand)) * CFrame.Angles(0, math.rad(180), 0))
		RHand.CFrame((CurrentCamera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.RightHand)) * CFrame.Angles(0, math.rad(180), math.rad(180)))
	end)
else
	print("no vr haha look at this noob")
end
	
1 Like

You are running the script on the client & not the server , make a remoteevent fire it from the localscript make the normal script use onserverevent and do the other stuff for the hands & etc

Perhaps try running this from StarterPlayerScripts instead. Running it on the client is definitely the way to go for low latency. You should only needs to change the Hands.Parent = script.Parent to Hands.Parent = game:GetService(“Players”).LocalPlayer.Character or wherever else you’d want them located.

1 Like

Thanks!(30 charrrrrrrrrrrrrrrrrrrr)

1 Like