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

How do i make a Ticker GUI work?

Asked by 9 years ago

I've been attempting to make a Ticker GUI, If you don't know what that is, its a GUI that changes the text to whatever the creator desires after every so often, such as 5 seconds.

This is what i've done, it doesn't shut down studio, but it won't change the text after 5 seconds.

If you need to know the name of the GUI and the components in it, the GUI's name is Ticker, the Frame's name is Tick, and the Text's name is TickerGUI.

This is an example.

while true do
    wait()
    game.StarterGui.Ticker.Tick.TickerGui.Text = ("Test")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGui.Text = ("Test")
        wait(5)
    )
    )
end

If you need to know the actual script its:

while true do
    wait()
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Welcome to Shadow Squadron, Made by Speed5231, TurboFusion and IIHUSKYII!")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Credits: speed5231, TurboFusion, IIHUSKYII, NWSpacek, Quenty.")
        wait(5) 
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("All guns will be upgraded to my own creations in the future.")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("I give credit to the original creators of the weapons.")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Shadow Squadron is not an attempt to copy Phantom Forces.")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("The name of this is original and was inspired by Phantom Forces.")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Do not dislike because this game contains free models.")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Thanks for playing! Make sure to share this game on social media, with you're friends, and family!")
        wait(5)
    game.StarterGui.Ticker.Tick.TickerGUI.Text = ("Please leave a thumbs up! This game is in dev and it shows appreciation!")
        wait(5)
    )
    )
end

1 answer

Log in to vote
1
Answered by 9 years ago

So much wrong here. First off, it isnt affecting the players GUI, only changing it whenever a new player enters, so if a player enters every five seconds, they will see soemthing different. Secondly, it should be in the gui itself. So, put put it in the gui and change it all to script.Parent instead of all that. It is working, but only for the StarterGui, I repeat STARTERGUI not PLAYERGUI. Also, remove the lines 21 and 22, unneeded parantheses Like I said, run studio in solo, and check the starterGui group. That is changing, but yours isnt.

Ad

Answer this question