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

How do i make account details appear on GUI? [More in bio]

Asked by 4 years ago

I need account details of a player, for instance, an ID Card but just with GUI and that it's for every player that gives the card and the GUI appears. I do not have any code since I do not know what to do. I need guidance. Any help is appreciated, thank you in advance.

0
@TheJacksterYT, You will need to use datastore; check if they are assigned an id, if not assign them one and when opening a gui use a remote event or remote functions to get data and then you can use that to display it on your GUI BlackOrange3343 2676 — 4y
0
Does this work for random players that join? TheJacksterYT 19 — 4y

1 answer

Log in to vote
-1
Answered by 4 years ago

Pretty simple just get the userId

You get UserId by doing: Player.UserId

and name aswell is also simple

Player.Name

0
So do i just do: screenGUI > textlabel > localscript: "script.Parent.Name = Player.Name" ? TheJacksterYT 19 — 4y
0
Yup Unscriptablee 20 — 4y
Ad

Answer this question