I've been trying to use GetPlatform to know what is the operating device people are using.
Please, I need examples.
local UIS = game:GetService("UserInputService")
for i, v in pairs(game.Players:GetPlayers()) do
UIS.GetPlatform:Connect(function(platform)
if platform.UserInputType == Enum.Platform.Windows then
game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(game.Players[v].Name .. " is using: Windows", "All")
else
print("not windows")
