Can you hrlp me with amking a script to make a gui
COMMUNITY QUESTION
How can I script a moving GUI?
1 answer
Well this is scrolls on the top of the screen
local screen = Instance.new("ScreenGui")
screen.Parent = Game.Players.LocalPlayer.PlayerGui
local text = Instance.new("TextLabel")
text.Parent = screenGui
text.Text = "Scrolling Text :D"
text.Size = UDim2.new(0, 100, 0, 30)
local xPosition = 1
local speed = 0.0025
while true do
xPosition = xPosition - speed
textLabel.Position = UDim2.new(xPosition, 0, 0, 0)
if xPosition < -0.1 then
xPosition = 1
end
wait()
end
This should work enjoy :)
1 comment
0
If it doesn't work tell me.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
ScriptingHelpers is not a request site. We ask all users to make an attempt at creating a code before posting here. Please read the help article on How To Post a Good Question and Answer before asking another question.