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 » Roblox » All Things ROBLOX
Home Search
 

Re: Script breaks the whole Studio

Previous Thread :: Next Thread 
TetraZazicII is not online. TetraZazicII
Joined: 23 Feb 2012
Total Posts: 476
01 May 2015 04:46 AM
My script was own self fine but I couldn't go into Test Mode it would instantly say 'Not Responding'. Whyeeee?
Report Abuse
iKennyHuynh is not online. iKennyHuynh
Joined: 07 Oct 2014
Total Posts: 7518
01 May 2015 04:49 AM
You must be using Windows Vista



★Mommy Guest told me that if a Guest lay an Egg, it will hatch more than 10 Guests inside the Egg★
Report Abuse
Ariphael is not online. Ariphael
Joined: 08 Apr 2015
Total Posts: 2103
01 May 2015 04:54 AM
Mind posting the script?


This is a triumph,
Report Abuse
TetraZazicII is not online. TetraZazicII
Joined: 23 Feb 2012
Total Posts: 476
01 May 2015 04:57 AM
local W1 = game.Workspace.Water.Water1
local W2 = game.Workspace.Water.Water2

while true do
function OnClicked ()
wait(0.2)
W1.Transparency = 0.5
W2.Transparency = 0.5
wait(2)
W1.Transparency = 1
W2.Transparency = 1

end

end

Anything wrong here?
Report Abuse
QuisMo is not online. QuisMo
Joined: 09 Jul 2010
Total Posts: 16640
01 May 2015 04:57 AM
Rekt


Help me afford the Bluesteel Warhelm of Rekt, http://www.roblox.com/---item?id=238287437
Report Abuse
iKennyHuynh is not online. iKennyHuynh
Joined: 07 Oct 2014
Total Posts: 7518
01 May 2015 04:59 AM
nope

probably just your PC



★Mommy Guest told me that if a Guest lay an Egg, it will hatch more than 10 Guests inside the Egg★
Report Abuse
Ariphael is not online. Ariphael
Joined: 08 Apr 2015
Total Posts: 2103
01 May 2015 05:02 AM
W1 = game.Workspace.Water.Water1
W2 = game.Workspace.Water.Water2

function OnClicked ()
wait(0.2)
W1.Transparency = 0.5
W2.Transparency = 0.5
wait(2)
W1.Transparency = 1
W2.Transparency = 1
end



while wait() do
OnClicked()
end


The problem is that you weren't calling the function. It would be practical to place the function outside the loop.
I can tell by the function name that you are trying to fire something when clicking something, you can use the event MouseButton1Click.
I also don't understand why you used 'local'.



This is a triumph,
Report Abuse
TetraZazicII is not online. TetraZazicII
Joined: 23 Feb 2012
Total Posts: 476
01 May 2015 07:09 AM
Oh I used local because I was following a Roblox tutorial on YT.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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