TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 22 Dec 2011 01:10 PM |
Hi, I wrote a script that checks if a certain value is present, and if it is, then it changes a TextLables text to 'True' and if it isn't, then it changes to 'false'. Yet it doesn't work....
Here's the script:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) c = char:findFirstChild("Experience") if c ~= nil then game.StarterGui.MainFrame.Frame1.Check.Text = "True"
elseif c == nil then game.StarterGui.MainFrame.Frame1.Check.Text = "False" end end) end)
Sorry, there is no output.
Thanks. :-)
Christmas? BAH HUMBUG! |
|
|
| Report Abuse |
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 22 Dec 2011 01:12 PM |
And here's how it's set up:
StarterGui>MainFrame>Frame1>Check
Christmas? BAH HUMBUG! |
|
|
| Report Abuse |
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 22 Dec 2011 01:30 PM |
Help? :(
Christmas? BAH HUMBUG! |
|
|
| Report Abuse |
|