Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can someone help with this message script?

interval = 5
h = Instance.new("Hint", workspace)
h.Text = "Text1"
wait(interval)
h.Text = "Text2"
wait(interval)
h.Text = "Text3"
wait(interval)
h.Text = "Text4"
wait(interval)

It is locked on last one :(

2 comments

0

What are you trying to do?

0

I am trying to make a loop changing text. But I got an answer.

2 answers

✓ Accepted answer

Here :/

interval = 5
h = Instance.new("Hint", workspace)
while wait() do
h.Text = "Text1"
wait(interval)
h.Text = "Text2"
wait(interval)
h.Text = "Text3"
wait(interval)
h.Text = "Text4"
wait(interval)
end

~ Have fun scripting! ~

2 comments

1

Ugh i wasnt fast enough, i was about to post when i saw this

0

Instead of commenting try to find out what he meant then post immediately the : "It is locked on last one :(" part kinda gave me this idea

There is another one Instance.new("Hint", game.Workspace)

while true do

wait(1)

game.Workspace.Message.Text = "Text goes here"

wait(5)

game.Workspace.Message.Text = "Text goes here2"

wait(5)

end

Just continue on as you see it says wait(5) just put under that enter enter then game.Workspace.Message,Text = "What ever you want to say" and keep going if you like :)

2 comments

0

That is not a good way because what if there is another "message" in the workspace?

0

@thefinalbattleman, you can just do it once if you want, you can do it how many times you want, and can you thumbs up :)

This discussion is preserved as it was. New answers, comments, and votes are closed.