rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 01:38 PM |
I scripted something that took FOREVER to make, so I try to test it in Test mode. The game just stays white and is saying "Not Responding" and I can't do anything about it.
I don't know what the problem with the script is because I cant get told. Can someone please help me fix this error?
I tried this on BH and everyone is like "Go to SH!" and st00f. |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
| |
|
|
| 22 Jul 2011 01:47 PM |
Did you save your work?
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 01:52 PM |
Yes, I saved my work, dolphin man. There is around 5 scripts, it would be annoying putting them all in. I'll put the one that keeps changing it though in. |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 01:53 PM |
Check = game.Workspace.Check Check2 = game.Workspace.Check2 Music2 = game.Workspace.Alarm door = script.Parent while true do if Check.Value == true and Check2.Value == true then Music2:Play()
for i = 1, 45 do wait(0.01) door.CFrame = door.CFrame * CFrame.new(0,-0.2,0) end
wait(4)
for i = 1, 45 do wait(0.01) door.CFrame = door.CFrame * CFrame.new(0,0.2,0) end
else script.Parent.Parent.Name = "DoorSystem" end end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ For some reason I needed an else function to stop it from Not Responding, but now it always does. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 01:53 PM |
It may be your computer, because when I have multiple windows open on a slow computer, roblox dies.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 01:55 PM |
But would it toggle from not responding to responding? And anyway, all I had was Google Chrome, Sky pe and the ROBLOX game itself. I have a 2010 Win7 computer. Very new. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 01:55 PM |
I don't know, roblox is unreliable.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 01:57 PM |
You're right. Lemmee try it again. If it still doesn't work, I'll give you the other scripts. |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 02:01 PM |
I'll tell you the concept. There is a codepad and a hand scanner (VIP Door Technology, if I touch it it activates)
If I insert the correct number sequence into the code pad then Check (A value) will be true. If I touch the scanner, Check2 (Another value) will be true. To confirm, these two scripts WORK.
The script I gave you was the one in the Door. Basically it always checks if both values are true at the same time. If so, then the door will open, allowing the person to go in.
Any tips now? |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:08 PM |
It makes no difference! Test mode should work with or without errors.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 02:21 PM |
You're a newer one. -.- There are some scripts that intersect with another, therefore stopping the main flow of script. |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
|
| 22 Jul 2011 02:22 PM |
if Check.Value == true and Check2.Value == true then That line seems dodgy to me. Maybe it's that? |
|
|
| Report Abuse |
|
|
rossb654
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1980 |
|
| |
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 22 Jul 2011 02:50 PM |
| You don't have a wait() outside of the if conditional. BTW, it's more efficient to make this a fuction that runs whenever Check and Check2 are changed. |
|
|
| Report Abuse |
|
|