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
 

Can I disconnect, or entirely stop a running Event?

Previous Thread :: Next Thread 
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
06 Jan 2016 01:50 AM
UnstableScript0 ur a poopy scripter who gives bad advice go jump off of Roblox HQ
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
06 Jan 2016 02:08 AM
"Oh, chimmi, brilliant! I was getting ready to post that I had a problem with the code that I wrote, which was pretty much identical to yours, except I didn't have:
local x...
and it wasn't working. Why did that make the difference?"
I'm going to explain it because his answer is not accurate. At the time, the local variable was not yet defined (if you define it to nil, it's still defined) so instead it attempts to get the global variable "x" which you never do set.

Also I don't see how compilation has anything to do with this unstable, nor do I understand how you guy can claim a "function" is a waste of memory considering how much memory we have today. Sure it running in the background is unneeded, but it's not going to cause "lag" unless you're actually doing something, a simple function call, a conditional check, and a return is really nothing. Of course disconnecting the event entirely is a better idea, but if it's memory that is that important, you still have dangling references.
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
06 Jan 2016 02:23 AM
Note that most functions, depending on their contents, run in fractions of a millisecond. Fractions.
Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
06 Jan 2016 05:40 AM
just use mine
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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