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: is there a way to..

Previous Thread :: Next Thread 
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
23 Dec 2013 08:08 PM
make it so I don't have to make an extremely long list by doing this?

game.StarterGui.test.test1.Text = "o"
game.StarterGui.text.test1.Text = "ok"
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2013 08:10 PM
Yes:

local text = "okay dude, here u go"
for i = 1,#text do
print(text:sub(1,i))
end

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
23 Dec 2013 08:10 PM
.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2013 08:11 PM
Why would you bump after two minutes..?

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
23 Dec 2013 08:11 PM
ty
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2013 08:19 PM
No problem.

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
23 Dec 2013 08:24 PM
have one more problem, if you don't mind;

how do I reverse this process?

for i = 1,#intro do
game.Players[name].PlayerGui.gamestatusbar.statusextend.Text = intro:sub(1,i)
wait(.2)
end
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2013 08:26 PM
local text = "like dis"
text = text:reverse()
for i = 1,#text do
print(text:sub(1,i))
end

"U BROKE THE TV U IDIOT!" - CeaselessSoul
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