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

GetUserNameFromId not working? [ANSWERED]

Asked by 9 years ago

Hi guys! Any ideas why I get a HTTP 400 error that the userid is not valid (The userid is just 123 saved in the Datastore)

Thanks :)

 local Datastore6 = game:GetService("DataStoreService"):GetDataStore("BestOverallUserId")
 userid = Datastore6:GetAsync("BestOverallUserId")

local lol = game:GetService("Players"):GetNameFromUserIdAsync(userid)
script.Parent.Text = "Set by: "..lol
3
There is no user 123. BlueTaslem 18071 — 9y
0
*facepalm* Thanks - I just assumed there would be :P jjwood1600 215 — 9y

Answer this question