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: what am i doing wrong here?

Previous Thread :: Next Thread 
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
04 May 2014 01:15 PM
function onClicked()
a = script.Parent.Parent.Textbox.Text
for i = 3,10 do
script.Parent.Parent.Label1.BackgroundTransparency=script.Parent.Parent.Label1.BackgroundTransparency+0.
script.Parent.Parent.ImageLabel1.ImageTransparency=script.Parent.Parent.ImageLabel1.ImageTransparency+0.
script.Parent.Parent.ImageLabel.ImageTransparency=script.Parent.Parent.ImageLabel.ImageTransparency+0.1
wait()
end
wait(0.5)
for i=1,string.len(''..a..'') do
script.Parent.Parent.Label1.Text=string.sub(''..a..'',1,i)
wait()
end
end
script.Parent.MouseButton1Click:connect(onClicked)

im using loops alot here.

Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
04 May 2014 01:16 PM
oops wait the script copied and pasted wrong

function onClicked()
a = script.Parent.Parent.Textbox.Text
for i = 3,10 do
script.Parent.Parent.Label1.BackgroundTransparency=script.Parent.Parent.Label1.BackgroundTransparency+0.
script.Parent.Parent.ImageLabel1.ImageTransparency=script.Parent.Parent.ImageLabel1.ImageTransparency+0.
script.Parent.Parent.ImageLabel.ImageTransparency=script.Parent.Parent.ImageLabel.ImageTransparency+0.1
wait()
end
wait(0.5)
for i=1,string.len(''..a..'') do
script.Parent.Parent.Label1.Text=string.sub(''..a..'',1,i)
wait()
end
end
script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
12packkid is not online. 12packkid
Joined: 24 Jun 2011
Total Posts: 1418
04 May 2014 01:17 PM
Are you sure ImageTransparency and Textbox are a thing?
I'm not good with ImageLabels and stuff (I can make one), but I thought it was TextBox (unless you named it).
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
04 May 2014 01:19 PM
use this model because copy and paste wont work'
http://www.roblox.com/broken-item?id=155986796
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