|
| 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 |
|
|
| |
|
| |
|
| |
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 04 Jun 2013 02:44 PM |
| Yes I know how to set up a function. Ill post my script that I have |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
| |
|
| |
|
| |
|
|
| 04 Jun 2013 03:42 PM |
| I just tested it on a brick. It works... |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2013 03:44 PM |
| ? I want it to move gui's not bricks |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jun 2013 03:44 PM |
| You could always just use == UDmi2.new = UDmi2.new + (0,.59357,0) |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
|
| 04 Jun 2013 03:45 PM |
| I used it on a billboard gui. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2013 04:09 PM |
| Not what a I needed gnome guy |
|
|
| Report Abuse |
|
|
| |
|
| |
|
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
|
  |
| 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 |
|
|
| |
|