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: Tween Intro GUI

Previous Thread :: Next Thread 
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 12:55 PM
I'm making an Intro GUI, When you first enter everything slides into place. I want it when I click a button, Everything slides off the screen. Can I get some help?
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 01:03 PM
Bump
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 01:07 PM
Bumpp
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 02:06 PM
Bump
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 02:37 PM
BUMP
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
04 Jun 2013 02:40 PM
Do you know how to set up a function and all that?
Report Abuse
BloxAdventure is not online. BloxAdventure
Joined: 04 Mar 2013
Total Posts: 395
04 Jun 2013 02:43 PM
Just use UDmi2 and make a loop then cut off the script when it reaches your desired location on the screen.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 02:44 PM
Yes I know how to set up a function. Ill post my script that I have
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 02:46 PM
function Click()

Title = script.Parent.Title
Start = script.Parent.StartGame
Options = script.Parent.Options
Help = script.Parent.Help
Credits = script.Parent.Credits
Updates = script.Parent.UpdateLog

wait(1)
Updates:TweenPosition(UDim2.new(0.2035,0,0.,0), "Out", "Linear", 4)
wait(1)
Credits:TweenPosition(UDim2.new(0.5025,0,0.12,0), "Out", "Linear", 4)
wait(1)
Help:TweenPosition(UDim2.new(0.5025,0,0.20,0), "Out", "Linear", 4)
wait(1)
Options:TweenPosition(UDim2.new(0.5025,0,0.28,0), "Out", "Linear", 4)
wait(1)
Start:TweenPosition(UDim2.new(0.5025,0,0.36,0), "Out", "Linear", 4)
wait(1)
Title:TweenPosition(UDim2.new(0.5025,0,0.44,0), "Out", "Linear", 4)
end

script.Parent.MouseButton1Down:connect(Click)
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 03:33 PM
Bump
Report Abuse
BloxAdventure is not online. BloxAdventure
Joined: 04 Mar 2013
Total Posts: 395
04 Jun 2013 03:39 PM
That works
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 03:41 PM
But it doesnt
Report Abuse
BloxAdventure is not online. BloxAdventure
Joined: 04 Mar 2013
Total Posts: 395
04 Jun 2013 03:42 PM
I just tested it on a brick. It works...
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 03:44 PM
? I want it to move gui's not bricks
Report Abuse
gnomeHarrisonII is not online. gnomeHarrisonII
Joined: 03 Nov 2012
Total Posts: 114
04 Jun 2013 03:44 PM
On a brick?
Report Abuse
BloxAdventure is not online. BloxAdventure
Joined: 04 Mar 2013
Total Posts: 395
04 Jun 2013 03:44 PM
You could always just use == UDmi2.new = UDmi2.new + (0,.59357,0)
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
04 Jun 2013 03:44 PM
This model is what you're looking for, when you click the gnome the gui tweens up onto the screen

http://www.roblox.com/Gnome-Salesman-item?id=117788654
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 03:45 PM
Ok, Thanks
Report Abuse
BloxAdventure is not online. BloxAdventure
Joined: 04 Mar 2013
Total Posts: 395
04 Jun 2013 03:45 PM
I used it on a billboard gui.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 04:09 PM
Not what a I needed gnome guy
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 04:11 PM
Bump
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 04:14 PM
bummp
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
04 Jun 2013 04:14 PM
Oh, my bad I misread the post.

put the script

script.Parent.MouseButton1Down:connect(function()
script.Parent.Parent.Parent:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 3, true)
-- script.Parent:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 2, true)
--script.Parent.Parent.ChatFrame:TweenSize(UDim2.new(.5,0,.2,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 3, true)
wait(3)
--script.Parent:TweenPosition(UDim2.new(.25,0,0.05,0), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 2, true)
script.Parent.Parent.Parent.Visible = false
end)
--UDim2.new(0.5,10,0.25,-5)

in the button/textbutton
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
04 Jun 2013 04:15 PM
or put this script in if you dont want to deal with the ---green things


script.Parent.MouseButton1Down:connect(function()
script.Parent.Parent.Parent:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 3, true)
wait(3)
script.Parent.Parent.Parent.Visible = false
end)
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
04 Jun 2013 05:19 PM
Thanks ill try it
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