|
| 07 Feb 2012 07:13 PM |
I had help earlier today about this gui.We solved the plaayer name problem,but now i want [ ] around the player name and level.
This is my script:
while wait() do PlayerValue = game.Players.LocalPlayer script.Parent.Text = PlayerValue.[Name .. " Level: ]" ..script.Parent.Parent.Parent.Parent.leaderstats.Lvl.Value
end
I want it too look like this.(In this case it's me) [ethansoh11 Lvl 2]
Where would i add the [ ] at? Please Reply :D |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:15 PM |
Where it looks liek it's at. the [ to the right of the name and the ] to the left of the level.
|
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:18 PM |
Like this?
while wait() do PlayerValue = game.Players.LocalPlayer script.Parent.Text = PlayerValue.[Name .. " Level: ]" ..script.Parent.Parent.Parent.Parent.leaderstats.Lvl.Value
end
|
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:19 PM |
| Yep, should work that way. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Grove537
|
  |
| Joined: 05 Feb 2010 |
| Total Posts: 3478 |
|
|
| 07 Feb 2012 07:23 PM |
| you don't need periods when using Brackets. |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Feb 2012 07:24 PM |
| Between the Brackets and the level/name |
|
|
| Report Abuse |
|
|
Grove537
|
  |
| Joined: 05 Feb 2010 |
| Total Posts: 3478 |
|
|
| 07 Feb 2012 07:24 PM |
script.Parent.Text = PlayerValue[Name .. " Level: ]" ..script.Parent.Parent.Parent.Parent.leaderstats.Lvl.Value
Like that. |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:26 PM |
while wait() do PlayerValue = game.Players.LocalPlayer script.Parent.Text = PlayerValue[Name " Lvl]" ..script.Parent.Parent.Parent.Parent.leaderstats.Lvl.Value
end
Like That? |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Feb 2012 07:31 PM |
| Didnt work ill just not add it :P |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:55 PM |
| Now my place is broken thanks |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 07:58 PM |
| Shut up atleast they helped |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 08:02 PM |
| Wasnt talking to them some other guys must have gave me a script that caused me to not save correctly but its all good now.Sorry if you guys took it the wrong way |
|
|
| Report Abuse |
|
|