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: Can Some One Tell Me What I Did Wrong?

Previous Thread :: Next Thread 
BloxxerBoy08 is not online. BloxxerBoy08
Joined: 08 Feb 2013
Total Posts: 73
26 May 2013 03:57 PM
I don't get it. I followed the steps on Lua.bz but it won't work. Please put correct script in your post.

while true do
myPart=Workspace.Part
myPart.Transparency=1
wait(5)
Workspace.Part.Locked=true -- Makes this part locked
wait(3)
myPart.Transparency=0
print("I did it!")
end
Report Abuse
Desperian is not online. Desperian
Joined: 07 Feb 2012
Total Posts: 3371
26 May 2013 03:59 PM
There's nothing wrong with it? Or at least I can't see anything on a glance...
Report Abuse
BloxxerBoy08 is not online. BloxxerBoy08
Joined: 08 Feb 2013
Total Posts: 73
26 May 2013 04:00 PM
I can't see anything wrong either. I want it to loop the lock, transparency and print but it just loops the "I did it!" part.
Report Abuse
Desperian is not online. Desperian
Joined: 07 Feb 2012
Total Posts: 3371
26 May 2013 04:00 PM
Add a wait after the print, otherwise it'll instantly go back to the beginning so you won't see the transparency change.
Report Abuse
BloxxerBoy08 is not online. BloxxerBoy08
Joined: 08 Feb 2013
Total Posts: 73
26 May 2013 04:01 PM
Thanks, that fixed it!
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