local text = script.Parent.ScreenGui.Chat.Text
local tetra = script.Parent.ScreenGui.Chat.TextStrokeTransparency
local teat = script.Parent.ScreenGui.Chat.TextTransparency
local tetris = script.Parent.ScreenGui.Chat.LineHeight
local Value = 0
while tetra == 1 do
wait(2.5)
text = "FoodNoobFinder:Welcome to Food's Camping!"
wait(2.5)
tetris = 2
text = "FoodNoobFinder:You are going to spend 5 days at here!"
wait(2.5)
tetris = 3
text = "FoodNoobFinder:Today, I want you to understand this place, so please walk around here!"
wait(2.5)
tetris = 2
text = "FoodNoobFinder:Please come back to that cottage at 19:00!"
wait(2.5)
tetris = 1
text = "FoodNoobFinder:Have fun!"
wait(2.5)
teat = 1
tetra = 1
end
First, can you give us a little more detail, it’s hard to understand what your even trying to accomplish, this may not even be the right way to do it. You have to follow what the template says to do, don’t just put a script and say “doesn’t work!”.
First off, your posts should be more descriptive of the issues you’re having with your scripts, rather than just posting the script and saying that it doesn’t work, leaving us to be unaware of the exact problem you’re having
The issue is that you are only creating variables that hold the values of the properties and you’re updating the variables, but it’s not updating the properties. You can’t update the properties indirectly, so you’d have to do it directly:
local chat = script.Parent.ScreenGui.Chat
while (chat.TextStrokeTransparency == 1) do
wait(2.5)
chat.Text = "FoodNoobFinder: Welcome to Food's Camping!"
wait(2.5)
chat.LineHeight = 2
-- etc.
end
You should pretty much get the gist of it by now. Also, please use tables and for loops for this as it makes the code cleaner
local text = script.Parent.ScreenGui.Chat.Text
local tetra = script.Parent.ScreenGui.Chat.TextStrokeTransparency
local teat = script.Parent.ScreenGui.Chat.TextTransparency
local tetris = script.Parent.ScreenGui.Chat.LineHeight
do:
while tetra.TextStrokeTransparency == 1 do
wait(2.5)
text.Text = "FoodNoobFinder:Welcome to Food's Camping!"
and continue on with that example. However, this is based on my assumptions on why your script isn’t working as I do not know what the actual error is. So let me know and I’ll attempt to help.