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 » Scripting Helpers
Home Search
 

Re: Making a GUI (The text or the GUI itself, either one) look different to each player.

Previous Thread :: Next Thread 
Programmer101 is not online. Programmer101
Joined: 27 Jul 2009
Total Posts: 1043
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
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
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
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
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
Programmer101 is not online. Programmer101
Joined: 27 Jul 2009
Total Posts: 1043
25 Mar 2012 02:02 PM
Not really understanding...
Report Abuse
Programmer101 is not online. Programmer101
Joined: 27 Jul 2009
Total Posts: 1043
25 Mar 2012 05:17 PM
Bump? Example?
Report Abuse
Programmer101 is not online. Programmer101
Joined: 27 Jul 2009
Total Posts: 1043
25 Mar 2012 06:07 PM
Ugh... I think I'll make a new thread later :3
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
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
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
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
Programmer101 is not online. Programmer101
Joined: 27 Jul 2009
Total Posts: 1043
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
Ravenshield is not online. Ravenshield
Joined: 21 Nov 2007
Total Posts: 4143
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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