local Z=game:GetService("\071\117\105\083\101\114\118\105\099\101")local I=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local S=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local C=S:WaitForChild("\077\111\100\117\108\101\115")local f=require(C.src.utils.Postie)local L=game:GetService("\083\099\114\105\112\116\067\111\110\116\101\120\116")L.Error:Connect(function(...)S.GameAnalyticsError:FireServer(...)end)local function n()if Z:IsTenFootInterface()then return"\067\111\110\115\111\108\101"elseif I.TouchEnabled and not I.MouseEnabled then return"\077\111\098\105\108\101"else return"\068\101\115\107\116\111\112"end end f.SetCallback("\103\101\116\080\108\097\116\102\111\114\109",n)
--Variables
--local GameAnalyticsSendMessage = game:GetService("ReplicatedStorage"):WaitForChild("GameAnalyticsSendMessage")

--Services
local GS = game:GetService('GuiService')
local UIS = game:GetService('UserInputService')
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local Modules = ReplicatedStorage:WaitForChild('Modules')
local Postie = require(Modules.src.utils.Postie)
local ScriptContext = game:GetService('ScriptContext')

ScriptContext.Error:Connect(function(...)
	ReplicatedStorage.GameAnalyticsError:FireServer(...)
end)

--Functions
local function getPlatform()
	if GS:IsTenFootInterface() then
		return 'Console'
	elseif UIS.TouchEnabled and not UIS.MouseEnabled then
		return 'Mobile'
	else
		return 'Desktop'
	end
end

--Filtering
Postie.SetCallback('getPlatform', getPlatform)