1local v1 = {};
2local GuiService = game:GetService("GuiService");
3local UserInputService = game:GetService("UserInputService");
4local ReplicatedStorage = game:GetService("ReplicatedStorage");
5local ScriptContext = game:GetService("ScriptContext");
6
7function v1.initClient() -- Line: 15
8 -- upvalues: ScriptContext (copy), ReplicatedStorage (copy), GuiService (copy), UserInputService (copy)
9 local Postie = require(script.Parent.GameAnalytics.Postie);
10 ScriptContext.Error:Connect(function(p2, p3, u4) -- Line: 18
11 -- upvalues: ReplicatedStorage (ref)
12 if not u4 then
13 return;
14 end;
15
16 local u5 = nil;
17 local success, _ = pcall(function() -- Line: 24
18 -- upvalues: u5 (ref), u4 (copy)
19 u5 = u4:GetFullName();
20 end);
21
22 if not success then
23 return;
24 end;
25
26 ReplicatedStorage.GameAnalyticsError:FireServer(p2, p3, u5);
27 end);
28 Postie.setCallback("getPlatform", function() -- Line: 35, Name: getPlatform
29 -- upvalues: GuiService (ref), UserInputService (ref)
30 return GuiService:IsTenFootInterface() and "Console" or (UserInputService.TouchEnabled and not UserInputService.MouseEnabled and "Mobile" or "Desktop");
31 end);
32end;
33
34return v1;