Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I fix this script so that it makes the text button slide in? What is wrong with it?

Asked by 7 years ago
Edited by Pyrondon 7 years ago

Im trying to make it so that after my loading screen dissapears after 12 seconds. This text button slides into view. I want to use this kind of scripting instead of just making it invisible then to visible.

wait(12)
script.Parent.Position.X = 0, 770

It doesnt work

0
BTW Everyone there is an enter space between wait(12) and script.Parent it just doesnt show it there DarkAssasin0 0 — 7y
0
Edited for code block. In the future, you can enclose code in code blocks by highlighting your code and clicking the blue Lua button included in the editor. Pyrondon 2089 — 7y
0
Ok that makes more sense :D DarkAssasin0 0 — 7y

1 answer

Log in to vote
1
Answered by
VVired 28
7 years ago
Edited 7 years ago

MB ERROR

EDIT:

Sorry that was not a lot of info. try this

script.Parent:TweenPosition(UDim2.new(0, 770, 0 ,0)
0
Sorry the last one I posted had an error. I used TweenSize instead of TweenPosition, my bad! VVired 28 — 7y
Ad

Answer this question