I'm using a quest 2, and I can get all of my VR game to work, besides the inputs, if I just normally press the inputs, it doesn't work, but if I hold down the button, It thinks I'm pressing the right trigger 2000 - 5000 times, and then studio crashes. Inside of the published game, instead of crashing it just freezes up.
My code is here:
Local Script:
UIS.InputBegan:Connect(function(input, processed) if input.KeyCode == Enum.KeyCode.ButtonR2 then fireEvent:FireServer() end end) end)
Server Script:
fireEvent.OnServerEvent:Connect(function() local ShootPart = Navy:WaitForChild("ShootPart") ShootPart.Fire1:Play() ShootPart.Fire2:Play() ShootPart.Fire3:Play() end)