Seeumliam
|
  |
| Joined: 06 May 2013 |
| Total Posts: 5662 |
|
|
| 30 Apr 2014 09:36 AM |
function stop() while wait() do if script.Parent..Parent.Parent.game1.Size == {0,150<300,0,100<250} then script.Parent.screenup.Disabled = true end end end
It doesn't stop the original script which makes a gui grow, if you disable a script will it stop it's actions? also game1 is a frame, screenup is the script for growing. |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 09:55 AM |
if script.Parent..Parent.
two dots? |
|
|
| Report Abuse |
|
|
Seeumliam
|
  |
| Joined: 06 May 2013 |
| Total Posts: 5662 |
|
|
| 30 Apr 2014 09:57 AM |
| Sorry, I fixed that in the game but it still doesn't work |
|
|
| Report Abuse |
|
|
12packkid
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1418 |
|
|
| 30 Apr 2014 10:39 AM |
| I can tell that your 'game1' object is a GUI, so do: if script.Parent.Parent.Parent.game1.Size==UDim2.new(0,150<300,0,100<350) end |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 10:42 AM |
| seeumliam may we see that script that makes gui grow ? |
|
|
| Report Abuse |
|
|
Seeumliam
|
  |
| Joined: 06 May 2013 |
| Total Posts: 5662 |
|
|
| 30 Apr 2014 03:02 PM |
Here: function screenup() if script.Parent.MouseButton1Click:connect() then while wait(0.01) do script.Parent.Parent.Parent.game1.Size = script.Parent.Parent.Parent.game1.Size + UDim2.new(0,2,0,2) end end end script.Parent.MouseButton1Click:connect(screenup) |
|
|
| Report Abuse |
|
|
|
| 01 May 2014 05:29 AM |
| Why do you connect to the event twice? |
|
|
| Report Abuse |
|
|
|
| 01 May 2014 05:29 AM |
| Why did you put in "if" statement in front of the first connection? If you make it as an event, simply connect to it once. |
|
|
| Report Abuse |
|
|