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 » Scripters
Home Search
 

Re: RunService.Stepped/Heartbeat VS while true do

Previous Thread :: Next Thread 
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
28 Aug 2011 06:24 AM
[ Content Deleted ]
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
28 Aug 2011 06:32 AM
Long time no see, ss.

I wasn't aware you could use RunService to do that, so I can't judge.
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
28 Aug 2011 06:53 AM
RunService is a noob :D
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 04:27 AM
[ Content Deleted ]
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 06:48 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
29 Aug 2011 06:51 AM
Recursivitivity :D

function x()
--Do stuff
x(wait())
end
x()
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 07:03 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
29 Aug 2011 07:07 AM
> Stack error.

Errrrr, no.
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 07:10 AM
[ Content Deleted ]
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 07:10 AM
[ Content Deleted ]
Report Abuse
xCyriak is not online. xCyriak
Joined: 09 Jun 2011
Total Posts: 52
29 Aug 2011 07:11 AM
repeat wait() until false
while wait() do end
function d() d(wait()) end d()
for i = 1, math.huge do wait() end

List more ((ACTUALLY) different) ways to do the same thing.
Report Abuse
xCyriak is not online. xCyriak
Joined: 09 Jun 2011
Total Posts: 52
29 Aug 2011 07:13 AM
> > > Stack error.
> >
> > Errrrr, no.
>
> Never mind then.
> Just think it's inefficient.

Redundant doesn't mean inefficient. It just means you have something wrong with you.

a = 1
a = a

There are thirty nine letters in this sentence.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
29 Aug 2011 07:13 AM
> > > Stack error.
> >
> > Errrrr, no.
>
> Never mind then.
> Just think it's inefficient.

No, it's the same. No less inefficient and no more inefficient. If anything it's more efficient because there's no comparing, whereas while compares true to true every execution.
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 07:56 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
29 Aug 2011 08:21 AM
> > > > > Stack error.
> > > >
> > > > Errrrr, no.
> > >
> > > Never mind then.
> > > Just think it's inefficient.
> >
> > No, it's the same. No less inefficient and no more inefficient. If anything it's more efficient because there's no comparing, whereas while compares true to true every execution.
>
> Cool story bro.
> Ok, sorry, I was mistaken. In some other languages it gives a stack error.

Wait I think it does actually. Not certain.

But if it didn't, it would be more efficient.
Report Abuse
ss1122 is not online. ss1122
Joined: 16 Dec 2008
Total Posts: 1601
29 Aug 2011 11:21 AM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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