Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
4

Is there anyway of telling if a server is Xbox run?

Asked by 4 years ago

Question says it all really. I currently have a game, which is on the Xbox, but it has leaderboards, and for it to get featured, the leaderboards need to be separate, like if you are on the Xbox, it only shows Xbox scores, and then for PC, tablet, and phone, it shows you those scores and not the Xbox player scores.

I know you can use:

if game:GetService("UserInputService").GamepadEnabled then
    print("Player has gamepad enabled")
end

but, you can just plug the gamepad into your computer and play. Is their a way to check to see if their actually on the Xbox??

Any help is greatly appreciated.

1 answer

Log in to vote
1
Answered by 4 years ago

I don't think that there's an actual way to detect if a Player is REALLY on a Xbox. (Tell me if I am wrong.) Maybe it will come in the future, since playing ROBLOX on a Xbox has just been released.

There are 2 options:

1: Use your method, like it isn't such a big deal if they plug in their gamepad.

2: Just wait. Since they will probably release this some day.

I am sorry, this isn't probably the answer you suspected. But if I were standing in your shoes, I would definitely use your current method.

Hope this helped.

~Manchester1002.

0
Yeah, I mean they should release an update soon with this. I just removed the leaderboards for now until then. Only reason I can't use my current method is that it has to be completely segregated, so if someone on PC plugs in their controller it can't show the Xbox scores. Upvoted anyway NinjoOnline 1147 — 4y
Ad

Answer this question