Adam2090
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 889 |
|
|
| 24 Aug 2013 08:04 AM |
This one line doesn't work. Let me explain what it is supposed to do. It's supposed to go into PlayerGui and add a value of +1 to the current text that starts off as zero. As the player touches the block that the script is in, it should keep adding 1 to the text, so on one touch of the block, text will be 1, on two touches the text should be 2, on three touches the text should be 3 etc. I have the rest of the script worked out, like functions for the player touching. I don't need you to re-write a script for me. I just need someone to find out why this doesn't work. The current problem is that it doesn't work. Here is the output message:
Workspace.Smooth Block Model.Script:16: '=' expected near '+'
Here is the line:
(line 16) user.PlayerGui.Welcome.Frame.Body.Text+1 |
|
|
| Report Abuse |
|
|
| 24 Aug 2013 08:06 AM |
| user.PlayerGui.Welcome.Frame.Body.Text = user.PlayerGui.Welcome.Frame.Body.Text +1 |
|
|
| Report Abuse |
|