Such a simple question to answer, simply remove the 'while true do'
while true do makes the script below it repeat itself over and over and over...
Unless you place a 'break'
while true do
script.Parent.Text = "Hello and welcome to The Forest!"
wait(5)
script.Parent.Text = "We are gonna have the most amazing night ever here! Right guys?"
wait(5)
script.Parent.Text = "Anyways, lets start our big journey!
break
end
the break will end the loop:
break
But a easy solution to make it only play once is to just put your code usually:
script.Parent.Text = "Hello and welcome to The Forest!"
wait(5)
script.Parent.Text = "We are gonna have the most amazing night ever here! Right guys?" wait(5)
script.Parent.Text = "Anyways, lets start our big journey!
you could also put a if player joins script to make it happen every time, but i wont put that here.
2 comments
Remove while true do end, you basically have this in an infinite loop.
You placed a while loop, obviously it's gonna repeat itself. So just remove it.