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
 

Lua scripting bug mabye?

Previous Thread :: Next Thread 
KingOfInsertWars is not online. KingOfInsertWars
Joined: 30 Aug 2010
Total Posts: 162
18 Sep 2013 08:47 PM
When you only use it once it works perfect but once you start using it more..
It stops working right. Why is that a bug or i'm not scripting right?

( note: that is not the full script! It's just an example. )

--elseif used once
function something(idk)
age = blah blah blah idk
if (age <= 10) then
wait(1)
elseif (age <= 31) then
wait(1)
end end

--more then once dose not work right
function something(idk)
age = blah blah blah idk
if (age <= 10) then
wait(1)
elseif (age <= 31) then
wait(1)
elseif (age <= 40) then
wait(1)
end end
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