ok so, i have this script, and, it goes from message1 to message6 instantly, it should be message1, message2, message3, message4, message5, message6
LocalScript :
local place = game:GetService("Players").LocalPlayer.IsTutorialFinished
local textplace = script.Parent.Text
local button = script.Parent.OK.MouseButton1Click
local sound = script.Parent["OK.last"].ding
local button1 = script.Parent["OK.last"]
local button2 = script.Parent.OK.Visible
local message1 = "Welcome to "..game.Name.." ! This is the tutorial which will help you to play the game! Press Ok to continue, press X to not read it."
local message2 = "Touch a PC to pick it up! Then press OK to continue."
local message3 = "After that, you can press the???? button at the top left! After that, press OK to continue."
local message4 = "Now, you can go to the SELL building, or you can click the ???? Sell button at the top left! Then touch the building, then press OK to continue."
local message5 = "Press the ?????????? button at the top left to upgrade your pc space! Then click 'Upgrade to maximum possible pc space with that amount of money', and that will make you have more pc space! Press OK to continue."
local message6 = "Thats pretty much it, you can press the ???? button at the top left to have more stuff. Gamepasses are permanent and one time use only, products are temporary and can use it an infinite amount of time. Press finish to finish the tutorial."
while wait() do
if place.Value == false then
button:Connect(function()
sound:Play()
if textplace.Text == "Loading" then
textplace.Text = message1
end
if textplace.Text == message1 then
textplace.Text = message2
end
if textplace.Text == message2 then
textplace.Text = message3
end
if textplace.Text == message3 then
textplace.Text = message4
end
if textplace.Text == message4 then
textplace.Text = message5
end
if textplace.Text == message5 then
textplace.Text = message6
button1.Visible = true
button2 = false
button1.Text = "finish"
button1.MouseButton1Click:Connect(function()
script.Parent.Visible = false
end)
end
end)
end
end

1 comment
The question marks on the messages variable are emojis, but are not displaying correctly for some reason.