Joshua
January 15, 2023, 7:56am
1
Disclaimer: this has 2 scripting things I am curious about
Hello. I know this has something to do with “udim2” I just can’t figure out how to do it. I want to make a bar that is sort of goes like this:
- -
- - -
- - - -
Pretend they expand like that.
I also would like to make text appear from where the line is that pops up with the name of the game.
Thanks! <3
Noah
January 15, 2023, 5:45pm
2
Just use a tweenservice and tween up the size.
1 Like
Joshua
January 15, 2023, 7:57pm
3
I really appreciate the response. I am going to try that and see how it plays off.
Do you know about the text bit where it appears from the line?
Sorry for all of the scripting support I need, still learning at a slow pace.
1 Like
Noah
January 15, 2023, 7:59pm
4
You can also use a tween.
1 Like
Joshua
January 15, 2023, 8:00pm
5
Alrighty, we’ll I have something set up in my head now
Thank you for all of the support from the cookie tech community!
cam
January 15, 2023, 9:25pm
6
Use :TweenSize() to scale a UI.
2 Likes
Joshua
January 16, 2023, 9:48am
7
I love the suggestions, but when I do that it just goes off the screen instead of expanding. the line looks a little bit like this:
A problem could also be this:
Any help is appreciated.
FYI, this is the code:
wait(5)
script.Parent:TweenSize(UDim2.new(1.4,0,0.056,0), "Out", "Sine", 3)
Joshua
January 17, 2023, 1:08am
8
Sorry, accidentally marked as the solution. I would appreciate any help regarding to the topic above.
1 Like
Joshua
January 17, 2023, 2:18am
9
Nevermind, thank you all for the responses, this really helped me. I tried using a “TextLabel” but that didn’t work so instead I used an “ImageLabel” and it worked perfectly.
Just a thank you to @Noah and @cam for the suggestions.
TLDR: I found the answer. Thanks again! <3
system
Closed
January 24, 2023, 2:18am
10
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.