Can you hrlp me with amking a script to make a gui
Well this is scrolls on the top of the screen
01 | local screen = Instance.new( "ScreenGui" ) |
02 | screen.Parent = Game.Players.LocalPlayer.PlayerGui |
03 | local text = Instance.new( "TextLabel" ) |
04 | text.Parent = screenGui |
05 | text.Text = "Scrolling Text :D" |
06 | text.Size = UDim 2. new( 0 , 100 , 0 , 30 ) |
07 |
08 | local xPosition = 1 |
09 | local speed = 0.0025 |
10 | while true do |
11 | xPosition = xPosition - speed |
12 | textLabel.Position = UDim 2. new(xPosition, 0 , 0 , 0 ) |
13 | if xPosition < - 0.1 then |
14 | xPosition = 1 |
15 | end |
16 | wait() |
17 | end |
This should work enjoy :)
Closed as Not Constructive by M39a9am3R, ISellCows, ChipioIndustries, Necrorave, and Tigerism
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?