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: Why does this crash studio? (Roblox needs to Quit)

Previous Thread :: Next Thread 
snowwater5 is not online. snowwater5
Joined: 20 Apr 2012
Total Posts: 342
09 Apr 2015 03:59 AM
So Here we are again, broken script or a terrible computer? It works on one game, just not another:
script.Parent.MainMenu.SoA.TextTransparency = 0.9
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.8
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.7
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.6
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.5
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.4
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.3
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.2
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.1
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0
wait(3)

And the other script from more than a year ago that works:

wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.5
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.5
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 1
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 1
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.5
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.5
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 1
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 1
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.5
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.5
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.6
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.6
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.7
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.7
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.8
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.8
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 0.9
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 0.9
wait(0.1)
script.Parent.CreeperCo.GLOWONE.TextTransparency = 1
script.Parent.CreeperCo.GLOWTWO.TextTransparency = 1

I really don't understand.
Report Abuse
bomblover is not online. bomblover
Joined: 23 Mar 2011
Total Posts: 238
09 Apr 2015 04:18 AM
It may only work in one game because the specific objects you're referring to only exist in one of the games. I'd also suggest using a for loop in order for a cleaner look and a more efficient script.
Report Abuse
snowwater5 is not online. snowwater5
Joined: 20 Apr 2012
Total Posts: 342
09 Apr 2015 04:31 AM
Both scripts are in different games, and all code is targeting items in the game.

Do I need to buy a new processor or something?
Report Abuse
snowwater5 is not online. snowwater5
Joined: 20 Apr 2012
Total Posts: 342
09 Apr 2015 05:58 AM
Bump - This needs addressing.
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
09 Apr 2015 06:00 AM
this code is hideous
use a for loop

check other scripts for while true do loops without a wait
Report Abuse
snowwater5 is not online. snowwater5
Joined: 20 Apr 2012
Total Posts: 342
09 Apr 2015 06:34 AM
Added an if loop, and it fixed the crashes, thanks.
Report Abuse
snowwater5 is not online. snowwater5
Joined: 20 Apr 2012
Total Posts: 342
09 Apr 2015 06:36 AM
for*
Report Abuse
GOLDC3PO is not online. GOLDC3PO
Joined: 31 May 2011
Total Posts: 509
09 Apr 2015 06:49 AM
* what he did *
for i=1, 1 do
script.Parent.MainMenu.SoA.TextTransparency = 0.9
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.8
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.7
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.6
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.5
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.4
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.3
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.2
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0.1
wait(0.3)
script.Parent.MainMenu.SoA.TextTransparency = 0
wait(3)
end


:3 I liek to scrupt.. trelelelelel >:D
Report Abuse
vortexyamum is not online. vortexyamum
Joined: 31 Aug 2011
Total Posts: 1979
09 Apr 2015 07:04 AM
Have you ever heard of a glorious kind of loop called a "for" loop? Very useful when you are doing the same thing fifty thousand times.
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