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: A function value?

Previous Thread :: Next Thread 
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
28 Oct 2013 06:31 PM
old = ""

local s = "Sup"
for i in string.gmatch(s, ".") do
text = old..i
print(text)
old = print
end
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
28 Oct 2013 06:32 PM
It says text is a function.
Report Abuse
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
28 Oct 2013 06:32 PM
old = print

What are you trying to do there?
Report Abuse
ChaosEspeon is not online. ChaosEspeon
Joined: 02 Jan 2009
Total Posts: 4578
28 Oct 2013 06:43 PM
If it says "text" is a function, then obviously it has some sort of issue with it being a variable.

Try switching "text" to "Text".
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
28 Oct 2013 07:00 PM
Woops, print was an old variable I had, and I forgot just print is a function. Thanks!
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