BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 20 Feb 2013 03:54 PM |
while true do script.Parent.Text = Player.leaderstats.DNAPoints.Value wait(0.1) end
This is suppose to change the text of the textlabel into the value of points they have. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 20 Feb 2013 04:03 PM |
By typing something like this:
local Player = --something to reference player
For instance, you can reference Player1 (if it exists) by doing this:
local Player = game.Players.Player1 |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 20 Feb 2013 04:03 PM |
Player = script.Parent.Parent.Parent.Parent
while true do script.Parent.Text = Player.leaderstats.DNAPoints.Value wait(0.1) end
|
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 20 Feb 2013 04:08 PM |
| Nope not like that it does not work. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
|
| 20 Feb 2013 05:04 PM |
local player = game.Players.Player1
while true do script.Parent.Text = Player.leaderstats.DNAPoints.Value wait(0.1) end
Try? |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 20 Feb 2013 05:05 PM |
| Thanks but i already solved it. |
|
|
| Report Abuse |
|
|