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: script a to script b

Previous Thread :: Next Thread 
Seeumliam is not online. 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
thelolguy301 is online. thelolguy301
Joined: 27 Sep 2011
Total Posts: 2997
30 Apr 2014 09:55 AM
if script.Parent..Parent.

two dots?
Report Abuse
Seeumliam is not online. 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 is not online. 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
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
30 Apr 2014 10:42 AM
seeumliam may we see that script that makes gui grow ?
Report Abuse
Seeumliam is not online. 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
thelolguy301 is online. thelolguy301
Joined: 27 Sep 2011
Total Posts: 2997
01 May 2014 05:29 AM
Why do you connect to the event twice?
Report Abuse
thelolguy301 is online. thelolguy301
Joined: 27 Sep 2011
Total Posts: 2997
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
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