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: Play Solo Crasher?

Previous Thread :: Next Thread 
HotJazzCP is not online. HotJazzCP
Joined: 18 Dec 2010
Total Posts: 682
26 Aug 2012 04:41 AM
Weird, A script I made will work in ROBLOX Studio fine, but will freeze Play solo. Anyone else ever had this problem before?
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
26 Aug 2012 04:43 AM
I don't think I have, but what does this script do?
Report Abuse
HotJazzCP is not online. HotJazzCP
Joined: 18 Dec 2010
Total Posts: 682
26 Aug 2012 04:45 AM
Nothing fancy, It just changes a GUI image ever 0.1 of a second on touched by another part.
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
26 Aug 2012 04:49 AM
You know, events don't fire once the place has been run once already. If you're using a loop inside the function of a Touched event, the firing of the event would start more than one loop. If the part was tumbling around enough, it could crash the game.
Report Abuse
HotJazzCP is not online. HotJazzCP
Joined: 18 Dec 2010
Total Posts: 682
26 Aug 2012 04:51 AM
That's probably why then.
Report Abuse
luke111000 is not online. luke111000
Joined: 26 Apr 2009
Total Posts: 1853
26 Aug 2012 05:26 AM
It actually be your computer. Mine does that too. I have a Toshiba with the regular processor/graphics card.
Report Abuse
HotJazzCP is not online. HotJazzCP
Joined: 18 Dec 2010
Total Posts: 682
26 Aug 2012 07:58 AM
Really? o.O I have a quad core Windows 7, 64 BIT With a great graphics card, 16GB Ram. I really don't think it's my computer. I think it's more ROBLOX Studio can handle hundreds of loops running at once, as explained above, so, like most programs, it jams.
Report Abuse
Wehttam664 is not online. Wehttam664
Joined: 02 Oct 2009
Total Posts: 767
26 Aug 2012 09:17 AM
You're just starting processes to early for the game to catch up, then it overloads the engine and crashes it.

Try inserting a wait(0.1) for the first line of your scripts, and ensure all while loops have waits in them.
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