(here we go again with a wacky title to avoid the spam question)
Whenever I equip a tool, I have a print in it and it's not showing up in my output. The UI shows, but the XBox one doesn't when I simulate the XBox screen on roblox studio. If this is correct, could it be that I need to be on xbox to view the UI?
local Tool = script.Parent
local PlayerGUI = game.Players.LocalPlayer:WaitForChild('PlayerGui')
local UserInputService = game:GetService("UserInputService")
local GS = game:GetService("GuiService")
function onEquipped()
if (UserInputService.KeyboardEnabled) then -- PC
PlayerGUI.StatusUI.PCUI2.Visible = true
elseif UserInputService.TouchEnabled then -- mobile
print("Imagine Mobile")
PlayerGUI.StatusUI.MobileUI4.Visible = true
elseif GS:IsTenFootInterface() then -- Xbox
print("Imagine Xbox")
PlayerGUI.StatusUI.XBOXUI2.Visible = true
end
end

2 comments
UserInputService.GamepadEnabled. No idea why you're relying on the size of the user's GUI setup.
Still new to doing certain UI for certain devices.