Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make a image visible only on xbox?

Asked by 7 years ago

How do i make a Y-Button image/decal stay visible when the user is playing the game on xbox

1 answer

Log in to vote
1
Answered by
Mayk728 855 Moderation Voter
7 years ago

In order to check if the user is on XBOX, you should use UserInputService in a LocalScript.

if game:GetService('UserInputService').GamepadEnabled then
    print('This user is on XBOX!')
end
Ad

Answer this question