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

How Do You Make A Message Randomly Or Better Known As Notification?

Asked by 5 years ago

I was Making A Message Script For GUI But It Wont Work. Can Someone Explain What Wrong With It And Fix It. If You Can Do Some Tweaks Like A Admin Makes An Announcement And The Messages Go In Random Order, You Can

function loop_text()
    TextLabel.Text = "Fun Fact! Our Logo Is Not Made With Free Pics. It was Taken In A Poll"
    wait(15)
    TextLabel.Text =  "Tip:To Make The Shops, Reborn 1X To Open A Shop"
    wait(15)
    TextLabel.Text = "Some Of The Scripts Were Helped By A Another Person"
    wait(15)
    TextLabel.Text = "Trilver Will Be Wating 24/7. To Ban Rule Breakers."
end
0
is the function called anywhere? GoldAngelInDisguise 297 — 5y
0
Where is the code? What script did you use? Did you call the function? HeyItzDanniee 252 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Try it in a local script and then try this if that doesn't work:

while true do
    game.Players.LocalPlayer.PlayerGui.ScreenGui.TextLabel.Text = "Fun Fact! Our Logo Is Not Made With Free Pics. It was Taken In A Poll"
    wait(15)
    game.Players.LocalPlayer.PlayerGui.ScreenGui.TextLabel.Text =  "Tip:To Make The Shops, Reborn 1X To Open A Shop"
    wait(15)
    game.Players.LocalPlayer.PlayerGui.ScreenGui.TextLabel.Text = "Some Of The Scripts Were Helped By A Another Person"
    wait(15)
    game.Players.LocalPlayer.PlayerGui.ScreenGui.TextLabel.Text = "Trilver Will Be Wating 24/7. To Ban Rule Breakers."
end
0
This Did Not Fix My Problem And It Says "ScreenGui Is Not A Part Of PlayerGui" TecoMS_SMHome 10 — 4y
Ad

Answer this question