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: Connecting to other Functions???

Previous Thread :: Next Thread 
Grandfot is not online. Grandfot
Joined: 17 Dec 2009
Total Posts: 454
05 Aug 2010 04:20 PM
Is there a way to connect to a function while not in a function?

like:


blah()

function blah()
end
Report Abuse
PureSight is not online. PureSight
Joined: 02 Aug 2010
Total Posts: 819
05 Aug 2010 04:21 PM
Yes, but you need to call the function after the function is stated, like this:

function blah()
end
blah()
Report Abuse
Grandfot is not online. Grandfot
Joined: 17 Dec 2009
Total Posts: 454
05 Aug 2010 04:21 PM
what about a loop?

while true do
wait()
blah()
end

function blah()
end
Report Abuse
PureSight is not online. PureSight
Joined: 02 Aug 2010
Total Posts: 819
05 Aug 2010 04:23 PM
Mhm, but the loop needs to be after the function is stated, like this:

function blah()
end

while true do
wait()
blah()
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