Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Will this VR enabled detecting script work?

Asked by
Benbebop 1049 Moderation Voter
4 years ago
Edited 4 years ago

This script so far seems to work, it displayed the message I want when the game is out of VR mode. The problem I have is that im not sure if the text will appear when VR mode is enabled as I do not have access to a VR headset at the moment. Will this work, its quite simple but ive messed up simpler before.

This is a local script as well.

while true do
    wait()
    if game.VRService.VREnabled == true then
        script.Parent.Enabled = false
    else
        script.Parent.Enabled = true
    end
end

Also if there is a way to enable VR mode without a headset that would be helpful as well.

0
I may be able to test this in a few days. hpenney2 53 — 4y
0
Try changing VRService to like desktop and see if it works then add the VR back WowUrTalented 4 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

Yes, it does. Though you could increase the delay a bit, that script might cause lag.

0
You can enable/disable VR in the menu cant you? In the settings at the bottom. It only appears when you have a VR headset hooked up. Benbebop 1049 — 4y
0
Thanks, editet. Sonnenroboter 336 — 4y
Ad

Answer this question