|
| 14 Mar 2013 07:35 PM |
function startTween() script.Parent.Position = UDim2.new(1, 0, 0, 0) script.Parent:TweenPosition(UDim2.new(-1.1, 0, 0, 0), "In", "Linear", 20, true) end
startTween() script.Parent.Changed:connect(function(p) if p == script.Parent.Position then if script.Parent.Position == UDim2.new(-1.1, 0, 0, 0) then wait(2) startTween() end end end)
Just flat out doesn't work. No output, I tried Play Solo, nothing. This is in a TextLabel.
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 07:49 PM |
Bump?
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 07:55 PM |
Bump
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 07:59 PM |
Bumpz
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:02 PM |
I have never worked with Tweening before, but I started to read the Wiki article on it, and it may be able to help solve your problem.
Check it out here: http://wiki.roblox.com/index.php/Tween |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:02 PM |
That's what I used
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:03 PM |
Alright then, let me read it and see if I can help you...
AGH, FLOOD CHECK.... |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:05 PM |
What object is this script under.
Also, can you give me the layout of the GUI?
As in ScreenGui>Frame>... |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:08 PM |
ScreenGui>Frame>TextLabel And if you need names LingoGui>Info>TextLabel
In StarterGui, ofc.
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:08 PM |
I told you in the post. The script is under a TextLabel (the one I would like to slide)
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:18 PM |
Bump
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:28 PM |
Mo bump
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 14 Mar 2013 08:31 PM |
I think your not connecting starttween i'm not sure...
~If you got money i want some~ |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:31 PM |
@Bruce what do you mean?
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:32 PM |
The problem is probably the if statment. The .Changed event gives you the property in string format. So try:
if p == "Position" then
¤ ¤ † K M <( •д• )> X D † ¤ ¤
|
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 14 Mar 2013 08:32 PM |
startTween()
Isn't that a function? where are you connecting it?
~If you got money i want some~ |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:33 PM |
He doesn't need to connect it, as functions don't need an event. He simply called it.
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 14 Mar 2013 08:33 PM |
Or that
KnightMareXD i need you to check this out if you haven't
http://www.roblox.com/Forum/ShowPost.aspx?PostID=91804687 |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 08:46 PM |
Worked :D
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2013 09:01 PM |
Cool. :)
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|