generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Detect if player exists

Previous Thread :: Next Thread 
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:16 PM
How can I check with a username if a player exists on ROBLOX. Not if a player is in the game, but if a player is on ROBLOX.


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:18 PM
bump


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:21 PM
bump2


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:22 PM
bump3


R$2,107 lol im poor
Report Abuse
PureConcept is not online. PureConcept
Joined: 15 Feb 2014
Total Posts: 2838
01 May 2016 03:23 PM
http://api.roblox.com/users/1000000000


https://www.roblox.com/waifu-item?id=405537969
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:25 PM
I wanted to find them by their usernames, not IDs


R$2,107 lol im poor
Report Abuse
PureConcept is not online. PureConcept
Joined: 15 Feb 2014
Total Posts: 2838
01 May 2016 03:26 PM
http://api.roblox.com/users/get-by-username?username=LearnToUseGoogleAndStopBeingLazy


https://www.roblox.com/waifu-item?id=405537969
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:27 PM
didnt see anything on google but hey thanks


R$2,107 lol im poor
Report Abuse
PureConcept is not online. PureConcept
Joined: 15 Feb 2014
Total Posts: 2838
01 May 2016 03:28 PM
Fair enough if you didn't know what to search up. Use http://api roblox-proxy cf/ since if you use api.roblox it'll error sub spaces for .


https://www.roblox.com/waifu-item?id=405537969
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:29 PM
k thanks, im new to those apis and whatnot. im gonna see if i actually can use it in a game


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:31 PM
I failed once more, here i come google.


R$2,107 lol im poor
Report Abuse
PureConcept is not online. PureConcept
Joined: 15 Feb 2014
Total Posts: 2838
01 May 2016 03:34 PM
It's in JSON use JSON Decode and then do .errormessage or .success http://api.roblox-proxy.cf/users/get-by-username?username=JSONDecodeThenAccessErrorMessageOrSuccess
something like
local info = http:JSONDecode(http:GetAsync("http://api.roblox-proxy.cf/users/get-by-username?username=JSONDecodeThenAccessErrorMessageOrSuccess"))
print(info.success, info.errorMessage)


https://www.roblox.com/waifu-item?id=405537969
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:36 PM
lol thanks for your help i was about to post that i needed help on this:

print(game:GetService("HttpService"):GetAsync(api.roblox.com/users/get-by-username?username=asf))

So thanks for your help, I'm gonna try it out right now


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:41 PM
Thanks so much for sticking with me, and I'm sure I'm doing something wrong, but this is what I did:

http://prntscr.com/az67a8

It printed out 'false'

I'm pretty sure I exist.

I did it just like that, and it looked like a table, so I kind of based it off from there.


R$2,107 lol im poor
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
01 May 2016 03:43 PM
wait, I added an extra parenthesis, I removed it and now it prints 'nil'


R$2,107 lol im poor
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image