Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 30 Jun 2013 02:45 AM |
I made a textbox in a gui that updates an IntValue in a player
The gui is in the starterpack and I put a localscript in the textbox
plyr = game.Players.LocalPlayer
script.Parent.Text = plyr.IntValue.Value
plyr.IntValue.Changed:connect(function() script.Parent.Text = plyr.IntValue.Value end)
It works with displaying the first value, but when I change it it doesnt qq. |
|
|
| Report Abuse |
|
|
CokeCody
|
  |
| Joined: 31 Mar 2010 |
| Total Posts: 394 |
|
|
| 30 Jun 2013 02:47 AM |
Try script.Parent.Text = tostring(plyr.IntValue.Value)
|
|
|
| Report Abuse |
|
|
DrWaffler
|
  |
| Joined: 16 Sep 2011 |
| Total Posts: 4248 |
|
|
| 30 Jun 2013 02:48 AM |
I thought a concatenation was that double dot thing you use to separate strings O.O
"somewhat like" .. " this but not really" |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 30 Jun 2013 02:49 AM |
| I forgot the plyr.Name.. "" |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |
|