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: Function Loop.

Previous Thread :: Next Thread 
opplo is not online. opplo
Joined: 09 Dec 2008
Total Posts: 5320
19 Feb 2012 07:11 AM
Is it possible to put a loop in a click function? If so could somebody show me.
Thanks,
Report Abuse
BrainScripter is not online. BrainScripter
Joined: 02 Aug 2011
Total Posts: 187
19 Feb 2012 07:13 AM
It really annoys me if people give functions a specific name. Functions can be named by the programmer, that doesn't mean they're called that. The function is just a block a block of code ran after an event got fired, therefore you say 'Clicked event', not '____ function'. And don't even say '___ script' that defines your skills pretty much to zero.

And yes, using loops in functions is possible.
Report Abuse
opplo is not online. opplo
Joined: 09 Dec 2008
Total Posts: 5320
19 Feb 2012 07:16 AM
Thanks for insulting me,
Could you give me a small example of a loop in a function then?
Report Abuse
opplo is not online. opplo
Joined: 09 Dec 2008
Total Posts: 5320
19 Feb 2012 07:18 AM
Actually i have made my own doesn't matter.
Report Abuse
kools is not online. kools
Joined: 11 Jan 2009
Total Posts: 1659
19 Feb 2012 07:25 AM
function ThingyMaBobber()
for i = 1, math.huge
--code
end
end
or
function Hubuscus()
while wait() do
--code
end
end

ect.
Report Abuse
blueymaddog is not online. blueymaddog
Joined: 23 Sep 2009
Total Posts: 5459
19 Feb 2012 07:28 AM
'It really annoys me if people give functions a specific name. Functions can be named by the programmer, that doesn't mean they're called that. The function is just a block a block of code ran after an event got fired, therefore you say 'Clicked event', not '____ function'. And don't even say '___ script' that defines your skills pretty much to zero.'

can't agree with you more there. I rant on like you when people use terms like the onTouched function. >.<
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