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 help.

Previous Thread :: Next Thread 
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:08 PM
function TweenToPosition(gui, pos, time)
gui:TweenPosition(pos, "Out", "Quad", time)
end
wait(6)
TweenToPosition(script.Parent, UDim2.new(0, 0, 0, 800), 2)
script.Parent.MouseButton1Click:connect(function()
end)

The script is currently incomplete, and by my needs, entirely inaccurate.

I need it so that the function which involves the clicking is the initial function which when met (when you click script.Parent) creates a tween thingy and moves script.Parent GUI to 0,0,0,800.

Thanks!
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:12 PM
someone f5 bombed this..
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:18 PM
halp
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
30 Mar 2014 09:22 PM
Seems the view count *shades* is running the low on high.
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:23 PM
... Yeah... I see that.
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:25 PM
much view no answers
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:28 PM
... please?
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:33 PM
pleeeaaaasssee?
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:37 PM
and thank you?
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 09:45 PM
srsly though
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
30 Mar 2014 10:01 PM
last bump for tonight.

Someone please respond!
Report Abuse
IntelligentBeing is not online. IntelligentBeing
Joined: 11 Jul 2013
Total Posts: 523
30 Mar 2014 10:56 PM
You don't need to create a custom tween. Just do this

gui:TweenPosition(UDim2.new(0.0, 0, 0.0, 800),2)

Put that in your function thingy. :)
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
31 Mar 2014 08:18 AM
Okay but how do I have it so that when you click on it, it does that?
Report Abuse
IntelligentBeing is not online. IntelligentBeing
Joined: 11 Jul 2013
Total Posts: 523
31 Mar 2014 06:16 PM
Okay. I'll put the whole script here. You already should have basic information BUT I'm being nice.

script.Parent.MouseButton1Down:connect(function()

Gui:TweenPosition(UDim2.new(0.0, 0, 0.0, 800),2)

end)
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