Ello, I’m developing an Overhead System. Anyways I have a part where if you have a specific device, like if your on PC the overhead will show a monitor, and if your on mobile a smartphone will show up. The code I used has not been working, any help would be great!
if userInputService.KeyboardEnabled and userInputService.MouseEnabled and not userInputService.GamepadEnabled and not userInputService.TouchEnabled then
script.CoreUI.OverheadGui.Device.Device.Image = "rbxassetid://7072719383"
elseif userInputService.TouchEnabled then
script.CoreUI.OverheadGui.Device.Device.Image = "rbxassetid://7072722824"
else
script.CoreUI.OverheadGui.Device.Device.Image = "rbxassetid://7072980286"
end