function Update()local h=_L.Services.UserInputService.TouchEnabled local i=_L.Services.UserInputService.KeyboardEnabled local a=_L.Services.UserInputService.MouseEnabled local M=_L.Services.UserInputService.GamepadEnabled local r=_L.Services.UserInputService.GyroscopeEnabled local H=_L.Services.UserInputService.AccelerometerEnabled local v=_L.Services.UserInputService.VREnabled local w=(game:GetService("\071\117\105\083\101\114\118\105\099\101")):IsTenFootInterface()local A=false local n=false local J=false local o=false if M then A=true elseif w and not a then A=true elseif v then o=true J=_L.Settings.SupportsVR or false elseif h and not a then n=true elseif r or H then n=true else J=true end _L.Variables.Desktop=J _L.Variables.Mobile=n _L.Variables.Console=A _L.Variables.VR=o 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

