function Update()local M=_L.Services.UserInputService.TouchEnabled local L=_L.Services.UserInputService.KeyboardEnabled local o=_L.Services.UserInputService.MouseEnabled local F=_L.Services.UserInputService.GamepadEnabled local d=_L.Services.UserInputService.GyroscopeEnabled local R=_L.Services.UserInputService.AccelerometerEnabled local U=_L.Services.UserInputService.VREnabled local N=(game:GetService("\071\117\105\083\101\114\118\105\099\101")):IsTenFootInterface()local C=false local c=false local j=false local t=false if F then C=true elseif N and not o then C=true elseif U then t=true j=_L.Settings.SupportsVR or false elseif M and not o then c=true elseif d or R then c=true else j=true end _L.Variables.Desktop=j _L.Variables.Mobile=c _L.Variables.Console=C _L.Variables.VR=t end
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

function Update()
	--- Grab states
	local touchEnabled = _L.Services.UserInputService.TouchEnabled
	local keyboardEnabled = _L.Services.UserInputService.KeyboardEnabled
	local mouseEnabled = _L.Services.UserInputService.MouseEnabled
	local gamepadEnabled = _L.Services.UserInputService.GamepadEnabled
	local gryoEnabled = _L.Services.UserInputService.GyroscopeEnabled
	local meterEnabled = _L.Services.UserInputService.AccelerometerEnabled
	local vrEnabled = _L.Services.UserInputService.VREnabled
	local isTV = game:GetService("GuiService"):IsTenFootInterface()

	--- Vars
	local console = false
	local mobile = false
	local desktop = false
	local vr = false

	--- Platform logic
	if gamepadEnabled then
		--- Console (for sure)
		console = true
	elseif isTV and not mouseEnabled then
		--- Console (maybeee)
		console = true
	elseif vrEnabled then
		--- VR (for sure)
		vr = true
		desktop = _L.Settings.SupportsVR or false
	elseif touchEnabled and not mouseEnabled then
		--- Mobile (for sure)
		mobile = true
	elseif gryoEnabled or meterEnabled then
		--- Mobile (maybe)
		mobile = true
	else
		--- Desktop (if all else)
		desktop = true
	end

	--- Variable logic
	_L.Variables.Desktop = desktop
	_L.Variables.Mobile = mobile
	_L.Variables.Console = console
	_L.Variables.VR = vr
end
