|
| 25 Mar 2012 11:43 AM |
| Trying to have a GUI that shows you your points, and obviously it has to be different per player. That is the easiest way to do this? |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 12:38 PM |
do it from inside the GUI to get the leaderstats from that player he will sure be the same as the Gui parent.
pretty easy . |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 12:41 PM |
so it would look like this: if we say that
player >PlayerGui >Gui >TextLable >Script
and just put it in StaterGui then
--- while wait(.1) do script.Parent.Text=script.Parent.Parent.Parent.Parent.leaderstats.Points.Value end
-- or anyway you want to do it. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 02:02 PM |
| Not really understanding... |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Mar 2012 06:07 PM |
| Ugh... I think I'll make a new thread later :3 |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2012 04:53 AM |
just put a script that have this inside and put it in your Gui
while wait(.1) do script.Parent.Text=script.Parent.Parent.Parent.Parent.leaderstats.Points.Value end
the post ruined my spacing :P thats why.
player . >PlayerGui . >Gui . >TextLable . >Script . >leaderstats . >Points
so the script is inside TextLable which is inside Gui which is inside PlayerGui which is iniside Player. so you could reach player's points that way.
|
|
|
| Report Abuse |
|
|
|
| 26 Mar 2012 04:55 AM |
it ruined my spacing again. JUST HOW YOU PUT A SPACE IN A POST !!!
ok I will try again
player . >PlayerGui ..... >Gui ......... >TextLable ............. >Script . >leaderstats ..... >Points
|
|
|
| Report Abuse |
|
|
|
| 26 Mar 2012 01:56 PM |
| But that would require making a Leaderboard, and I don't have a leaderboard... I guess I could learn to use one. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2012 01:59 PM |
You don't need a leaderboard to have points displayed, if you let your GUI display them.
player . >PlayerGui ..... >Gui ......... >TextLable ............. >Script . > Points
Those points won't be displayed anywhere but in your GUI.
|
|
|
| Report Abuse |
|
|