Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 31 Mar 2014 07:43 PM |
Everything works, accept that when the GUI is supposed to move to 0, 0, 0, -800, it doesn't.
local debounce = false script.Parent.MouseButton1Click:connect(function() if debounce then return end debounce = true wait(1) script.Parent.Text = "" wait(2) script.Parent.Text = "Superbrawl" wait(1.5) for i = 1, 10 do script.Parent.TextTransparency = i/10 wait(.1) end wait(2) script.Parent.Text = "The card game that will cost you of all your friendships" wait(2) for i = 9, 0, -1 do script.Parent.TextTransparency = i/10 wait() end wait(2) for i = 1, 10 do script.Parent.TextTransparency = i/10 end wait(1) TweenToPosition(script.Parent, UDim2.new(0, 0, 0, -800), 2) local sound = game.Workspace.Click wait() sound:play() end) |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 31 Mar 2014 08:27 PM |
TweenToPosition(script.Parent, UDim2.new(0, 0, 0, -800), 2) ???? Wat is that....
Gui = script.Parent Gui:TweenPosition(UDim2.new(0, 0, 0, -800)) |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 31 Mar 2014 08:32 PM |
You applied a method to nothing;
TweenToPosition(script.Parent, UDim2.new(0, 0, 0, -800), 2)
Gotta apply it to SOMETHING;
derp = script.Parent derp:TweenPosition(UDim2.new(0, 0, 0, -800)) |
|
|
| Report Abuse |
|
|