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: Help with sliding text script

Previous Thread :: Next Thread 
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 07:49 PM
Bump?

I mean Venusaur...with a question mark
Report Abuse
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 07:55 PM
Bump

I mean Venusaur...with a question mark
Report Abuse
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 07:59 PM
Bumpz

I mean Venusaur...with a question mark
Report Abuse
fireheart568 is not online. fireheart568
Joined: 04 Jan 2009
Total Posts: 1285
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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 08:02 PM
That's what I used

I mean Venusaur...with a question mark
Report Abuse
fireheart568 is not online. fireheart568
Joined: 04 Jan 2009
Total Posts: 1285
14 Mar 2013 08:03 PM
Alright then, let me read it and see if I can help you...

AGH, FLOOD CHECK....
Report Abuse
fireheart568 is not online. fireheart568
Joined: 04 Jan 2009
Total Posts: 1285
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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 08:18 PM
Bump

I mean Venusaur...with a question mark
Report Abuse
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 08:28 PM
Mo bump

I mean Venusaur...with a question mark
Report Abuse
BruceAB12 is not online. 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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 08:31 PM
@Bruce
what do you mean?

I mean Venusaur...with a question mark
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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 is not online. 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
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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 is not online. 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
boynedmaster is not online. boynedmaster
Joined: 28 Jun 2008
Total Posts: 9735
14 Mar 2013 08:46 PM
Worked :D

I mean Venusaur...with a question mark
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
14 Mar 2013 09:01 PM
Cool. :)

¤ ¤ † K M <( •д• )> X D † ¤ ¤
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