generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: This script won't work.

Previous Thread :: Next Thread 
Adam2090 is not online. 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
icegroudon is not online. icegroudon
Joined: 08 Oct 2011
Total Posts: 2924
24 Aug 2013 08:06 AM
user.PlayerGui.Welcome.Frame.Body.Text = user.PlayerGui.Welcome.Frame.Body.Text +1
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image